mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-03 08:49:51 +02:00
parent
d751f0ce56
commit
9104b23114
41 changed files with 205 additions and 205 deletions
|
@ -150,17 +150,17 @@
|
|||
<p>Ces variables d'environnements sont généralement définies manuellement par l'utilisateur dans le fichier de configuration CircleCI <code>config.yml</code>.</p>
|
||||
<ul>
|
||||
<li><code>GIT_USER</code>: L'utilisateur git qui doit être associé au commit de déploiement.</li>
|
||||
<li><code>USE_SSH</code>: Whether to use SSH instead of HTTPS for your connection to the GitHub repo.</li>
|
||||
<li><code>USE_SSH</code>: Pour utiliser SSH au lieu d'HTTPS pour vous connecter au repo GitHub.</li>
|
||||
</ul>
|
||||
<p><strong>Exemple</strong></p>
|
||||
<pre><code class="hljs css language-bash">GIT_USER=docusaurus-bot USE_SSH=<span class="hljs-literal">true</span> yarn run publish-gh-pages
|
||||
</code></pre>
|
||||
<p>The following environment variables are <a href="https://circleci.com/docs/1.0/environment-variables/">set by CircleCI</a> during the build process.</p>
|
||||
<p>Les variables d'environnement suivantes sont <a href="https://circleci.com/docs/1.0/environment-variables/">définies par CircleCI</a> pendant le processus de compilation.</p>
|
||||
<ul>
|
||||
<li><code>CIRCLE_BRANCH</code>: La branche qui doit être associée au commit qui à démarré le processus CI.</li>
|
||||
<li><code>CI_PULL_REQUEST</code>: devrait être correcte si l’actuel tâche CI a été déclenché par un commit dans un pull request.</li>
|
||||
</ul>
|
||||
<p>The following should be set by you in <code>siteConfig.js</code> as <code>organizationName</code> and <code>projectName</code>, respectively. If they are not set in your site configuration, they fall back to the <a href="https://circleci.com/docs/1.0/environment-variables/">CircleCI environment</a>.</p>
|
||||
<p>Vous devez définir les variables <code>organizationName</code> et <code>projectName</code> dans <code>siteConfig.js</code>. Si elles ne sont pas définies dans la configuration du site, les variables d'environnement de <a href="https://circleci.com/docs/1.0/environment-variables/">CircleCI</a> seront utilisées.</p>
|
||||
<ul>
|
||||
<li><code>CIRCLE_PROJECT_USERNAME</code>: nom d’utilisateur GitHub ou de l’organisation qui héberge le repo Git, par exemple "facebook".</li>
|
||||
<li><code>CIRCLE_PROJECT_REPONAME</code>: le nom du repo Git, par exemple "Docusaurus".</li>
|
||||
|
@ -176,13 +176,13 @@
|
|||
</thead>
|
||||
<tbody>
|
||||
<tr><td><code><currentVersion></code></td><td>-</td><td>Version à renommer.</td></tr>
|
||||
<tr><td><code><newVersion></code></td><td>-</td><td>Version qui doit être renommée.</td></tr>
|
||||
<tr><td><code><newVersion></code></td><td>-</td><td>Version cible.</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p><strong>Exemple</strong></p>
|
||||
<pre><code class="hljs css language-bash">docusaurus-rename-version <currentVersion> <newVersion>
|
||||
</code></pre>
|
||||
<p>See the <a href="/docs/fr/next/versioning#renaming-existing-versions">Versioning guide</a> to learn more.</p>
|
||||
<p>Consultez le <a href="/docs/fr/next/versioning#renaming-existing-versions">Guide de Versioning</a> pour en savoir plus.</p>
|
||||
<hr>
|
||||
<h3><a class="anchor" aria-hidden="true" id="docusaurus-start"></a><a href="#docusaurus-start" 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><code>docusaurus-start</code></h3>
|
||||
<p>Alias: <code>start</code>.</p>
|
||||
|
@ -203,8 +203,8 @@
|
|||
<hr>
|
||||
<h3><a class="anchor" aria-hidden="true" id="docusaurus-version-version"></a><a href="#docusaurus-version-version" 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><code>docusaurus-version <version></code></h3>
|
||||
<p>Alias: <code>version</code></p>
|
||||
<p>Generates a new version of the docs. Cela va créer par une nouvelle copie de votre site, générée et stockée dans son propre répertoire versionné. Useful for capturing snapshots of API docs that map to specific versions of your software. Accepts any string as a version number.</p>
|
||||
<p>See the <a href="/docs/fr/next/versioning">Versioning guide</a> to learn more.</p>
|
||||
<p>Génère une nouvelle version de la documentation. Cela va créer par une nouvelle copie de votre site, générée et stockée dans son propre répertoire versionné. Useful for capturing snapshots of API docs that map to specific versions of your software. Accepts any string as a version number.</p>
|
||||
<p>Consultez le <a href="/docs/fr/next/versioning">Guide de Versioning</a> pour en savoir plus.</p>
|
||||
<hr>
|
||||
<h3><a class="anchor" aria-hidden="true" id="docusaurus-write-translations"></a><a href="#docusaurus-write-translations" 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><code>docusaurus-write-translations</code></h3>
|
||||
<p>Alias: <code>write-translations</code></p>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue