mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-01 18:32:52 +02:00
parent
d45405abfc
commit
c21c204804
157 changed files with 1425 additions and 1425 deletions
|
@ -88,7 +88,7 @@
|
|||
<li><code>id</code>: A unique document id. If this field is not present, the document's <code>id</code> will default to its file name (without the extension).</li>
|
||||
<li><code>title</code>: The title of your document. If this field is not present, the document's <code>title</code> will default to its <code>id</code>.</li>
|
||||
<li><code>hide_title</code>: Whether to hide the title at the top of the doc.</li>
|
||||
<li><code>description</code>: The description of your document which will become the <code><meta name="description" content="..."/></code> and <code><meta property="og:description" content="..."/></code> in <code><head></code>, used by search engines. If this field is not present, it will default to the first line of the contents.</li>
|
||||
<li><code>description</code>: La description de votre document qui sera fournit dans <code><meta name="description" content="..."/></code> et <code><meta property="og:description" content="..."/></code> du <code><head></code>, utilisé par les moteurs de recherche. Si ce champ n'est pas présent, il sera par défaut à la première ligne du contenu.</li>
|
||||
<li><code>sidebar_label</code>: The text shown in the document sidebar and in the next/previous button for this document. If this field is not present, the document's <code>sidebar_label</code> will default to its <code>title</code>.</li>
|
||||
</ul>
|
||||
<p>Par exemple :</p>
|
||||
|
@ -111,7 +111,7 @@
|
|||
<p>Par exemple :</p>
|
||||
<pre><code class="hljs css language-yaml"><span class="hljs-meta">---</span>
|
||||
<span class="hljs-attr">id:</span> <span class="hljs-string">doc-markdown</span>
|
||||
<span class="hljs-attr">title:</span> <span class="hljs-string">Markdown</span> <span class="hljs-string">Features</span>
|
||||
<span class="hljs-attr">title:</span> <span class="hljs-string">Fonctionnalités</span> <span class="hljs-string">de</span> <span class="hljs-string">Markdown</span>
|
||||
<span class="hljs-attr">custom_edit_url:</span> <span class="hljs-attr">https://github.com/facebook/docusaurus/edit/master/docs/api-doc-markdown.md</span>
|
||||
<span class="hljs-meta">---</span>
|
||||
</code></pre>
|
||||
|
@ -145,7 +145,7 @@
|
|||
</code></pre>
|
||||
<h3><a class="anchor" aria-hidden="true" id="generation-dune-table-des-matieres"></a><a href="#generation-dune-table-des-matieres" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>Génération d'une table des matières</h3>
|
||||
<p>Vous pouvez créer une liste auto-générée de liens, qui seront utiles pour une table des matières pour la documentation de l'API.</p>
|
||||
<p>In your markdown file, insert a line with the text <code><AUTOGENERATED_TABLE_OF_CONTENTS></code>. Write your documentation using <code>h3</code> headers for each function inside a code block. These will be found by Docusaurus and a list of links to these sections will be inserted at the text ``.</p>
|
||||
<p>Dans votre fichier Markdown, insérez une ligne avec le texte <code><AUTOGENERATED_TABLE_OF_CONTENTS></code>. Write your documentation using <code>h3</code> headers for each function inside a code block. These will be found by Docusaurus and a list of links to these sections will be inserted at the text ``.</p>
|
||||
<p>Exemple :</p>
|
||||
<pre><code class="hljs css language-md"><span class="hljs-section">### `docusaurus.function(a, b)`</span>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue