mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-12 08:37:25 +02:00
parent
7b0b87458d
commit
5d59a2bc6d
55 changed files with 483 additions and 483 deletions
|
@ -83,19 +83,19 @@
|
||||||
</ul>
|
</ul>
|
||||||
<h2><a class="anchor" aria-hidden="true" id="running-from-the-command-line"></a><a href="#running-from-the-command-line" 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>Running from the command line</h2>
|
<h2><a class="anchor" aria-hidden="true" id="running-from-the-command-line"></a><a href="#running-from-the-command-line" 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>Running from the command line</h2>
|
||||||
<p>The scripts can be run using either Yarn or npm. If you've already gone through our Getting Started guide, you may already be familiar with the <code>start</code> command. It's the command that tells Docusaurus to run the <code>docusaurus-start</code> script which generates the site and starts up a server, and it's usually invoked like so:</p>
|
<p>The scripts can be run using either Yarn or npm. If you've already gone through our Getting Started guide, you may already be familiar with the <code>start</code> command. It's the command that tells Docusaurus to run the <code>docusaurus-start</code> script which generates the site and starts up a server, and it's usually invoked like so:</p>
|
||||||
<pre><code class="hljs">yarn <span class="hljs-keyword">run</span><span class="bash"> start
|
<pre><code class="hljs">yarn <span class="hljs-keyword">run</span><span class="bash"> start</span>
|
||||||
</span></code></pre>
|
</code></pre>
|
||||||
<p>The same script can be invoked using npm:</p>
|
<p>The same script can be invoked using npm:</p>
|
||||||
<pre><code class="hljs">npm <span class="hljs-keyword">run</span><span class="bash"> start
|
<pre><code class="hljs">npm <span class="hljs-keyword">run</span><span class="bash"> start</span>
|
||||||
</span></code></pre>
|
</code></pre>
|
||||||
<p>To run a particular script, just replace the <code>start</code> command in the examples above with the command associated with your script.</p>
|
<p>To run a particular script, just replace the <code>start</code> command in the examples above with the command associated with your script.</p>
|
||||||
<h2><a class="anchor" aria-hidden="true" id="using-arguments"></a><a href="#using-arguments" 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>Using arguments</h2>
|
<h2><a class="anchor" aria-hidden="true" id="using-arguments"></a><a href="#using-arguments" 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>Using arguments</h2>
|
||||||
<p>Some commands support optional arguments. For example, to start a server on port 8080, you can specify the <code>--port</code> argument when running <code>start</code>:</p>
|
<p>Some commands support optional arguments. For example, to start a server on port 8080, you can specify the <code>--port</code> argument when running <code>start</code>:</p>
|
||||||
<pre><code class="hljs">yarn <span class="hljs-keyword">run</span><span class="bash"> start --port 8080
|
<pre><code class="hljs">yarn <span class="hljs-built_in">run</span> start <span class="hljs-comment">--port 8080</span>
|
||||||
</span></code></pre>
|
</code></pre>
|
||||||
<p>If you run Docusaurus using npm, you can still use the command line arguments by inserting a <code>--</code> between <code>npm run <command></code> and the command arguments:</p>
|
<p>If you run Docusaurus using npm, you can still use the command line arguments by inserting a <code>--</code> between <code>npm run <command></code> and the command arguments:</p>
|
||||||
<pre><code class="hljs">npm <span class="hljs-keyword">run</span><span class="bash"> start -- --port 8080
|
<pre><code class="hljs">npm <span class="hljs-built_in">run</span> start <span class="hljs-comment">-- --port 8080</span>
|
||||||
</span></code></pre>
|
</code></pre>
|
||||||
<h2><a class="anchor" aria-hidden="true" id="configuration"></a><a href="#configuration" 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>Configuration</h2>
|
<h2><a class="anchor" aria-hidden="true" id="configuration"></a><a href="#configuration" 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>Configuration</h2>
|
||||||
<p>These scripts are set up under the <code>"scripts"</code> key in your <code>website/package.json</code> file as part of the installation process. If you need help setting them up again, please refer to the <a href="/docs/en/1.0.11/installation">Installation guide</a>.</p>
|
<p>These scripts are set up under the <code>"scripts"</code> key in your <code>website/package.json</code> file as part of the installation process. If you need help setting them up again, please refer to the <a href="/docs/en/1.0.11/installation">Installation guide</a>.</p>
|
||||||
<p>Docusaurus provides some default mappings to allow you to run commands following Node conventions. Instead of typing <code>docusaurus-start</code> every time, you can type <code>yarn run start</code> or <code>npm start</code> to achieve the same.</p>
|
<p>Docusaurus provides some default mappings to allow you to run commands following Node conventions. Instead of typing <code>docusaurus-start</code> every time, you can type <code>yarn run start</code> or <code>npm start</code> to achieve the same.</p>
|
||||||
|
|
|
@ -83,19 +83,19 @@
|
||||||
</ul>
|
</ul>
|
||||||
<h2><a class="anchor" aria-hidden="true" id="running-from-the-command-line"></a><a href="#running-from-the-command-line" 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>Running from the command line</h2>
|
<h2><a class="anchor" aria-hidden="true" id="running-from-the-command-line"></a><a href="#running-from-the-command-line" 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>Running from the command line</h2>
|
||||||
<p>The scripts can be run using either Yarn or npm. If you've already gone through our Getting Started guide, you may already be familiar with the <code>start</code> command. It's the command that tells Docusaurus to run the <code>docusaurus-start</code> script which generates the site and starts up a server, and it's usually invoked like so:</p>
|
<p>The scripts can be run using either Yarn or npm. If you've already gone through our Getting Started guide, you may already be familiar with the <code>start</code> command. It's the command that tells Docusaurus to run the <code>docusaurus-start</code> script which generates the site and starts up a server, and it's usually invoked like so:</p>
|
||||||
<pre><code class="hljs">yarn <span class="hljs-keyword">run</span><span class="bash"> start
|
<pre><code class="hljs">yarn <span class="hljs-keyword">run</span><span class="bash"> start</span>
|
||||||
</span></code></pre>
|
</code></pre>
|
||||||
<p>The same script can be invoked using npm:</p>
|
<p>The same script can be invoked using npm:</p>
|
||||||
<pre><code class="hljs">npm <span class="hljs-keyword">run</span><span class="bash"> start
|
<pre><code class="hljs">npm <span class="hljs-keyword">run</span><span class="bash"> start</span>
|
||||||
</span></code></pre>
|
</code></pre>
|
||||||
<p>To run a particular script, just replace the <code>start</code> command in the examples above with the command associated with your script.</p>
|
<p>To run a particular script, just replace the <code>start</code> command in the examples above with the command associated with your script.</p>
|
||||||
<h2><a class="anchor" aria-hidden="true" id="using-arguments"></a><a href="#using-arguments" 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>Using arguments</h2>
|
<h2><a class="anchor" aria-hidden="true" id="using-arguments"></a><a href="#using-arguments" 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>Using arguments</h2>
|
||||||
<p>Some commands support optional arguments. For example, to start a server on port 8080, you can specify the <code>--port</code> argument when running <code>start</code>:</p>
|
<p>Some commands support optional arguments. For example, to start a server on port 8080, you can specify the <code>--port</code> argument when running <code>start</code>:</p>
|
||||||
<pre><code class="hljs">yarn <span class="hljs-keyword">run</span><span class="bash"> start --port 8080
|
<pre><code class="hljs">yarn <span class="hljs-built_in">run</span> start <span class="hljs-comment">--port 8080</span>
|
||||||
</span></code></pre>
|
</code></pre>
|
||||||
<p>If you run Docusaurus using npm, you can still use the command line arguments by inserting a <code>--</code> between <code>npm run <command></code> and the command arguments:</p>
|
<p>If you run Docusaurus using npm, you can still use the command line arguments by inserting a <code>--</code> between <code>npm run <command></code> and the command arguments:</p>
|
||||||
<pre><code class="hljs">npm <span class="hljs-keyword">run</span><span class="bash"> start -- --port 8080
|
<pre><code class="hljs">npm <span class="hljs-built_in">run</span> start <span class="hljs-comment">-- --port 8080</span>
|
||||||
</span></code></pre>
|
</code></pre>
|
||||||
<h2><a class="anchor" aria-hidden="true" id="configuration"></a><a href="#configuration" 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>Configuration</h2>
|
<h2><a class="anchor" aria-hidden="true" id="configuration"></a><a href="#configuration" 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>Configuration</h2>
|
||||||
<p>These scripts are set up under the <code>"scripts"</code> key in your <code>website/package.json</code> file as part of the installation process. If you need help setting them up again, please refer to the <a href="/docs/en/1.0.11/installation">Installation guide</a>.</p>
|
<p>These scripts are set up under the <code>"scripts"</code> key in your <code>website/package.json</code> file as part of the installation process. If you need help setting them up again, please refer to the <a href="/docs/en/1.0.11/installation">Installation guide</a>.</p>
|
||||||
<p>Docusaurus provides some default mappings to allow you to run commands following Node conventions. Instead of typing <code>docusaurus-start</code> every time, you can type <code>yarn run start</code> or <code>npm start</code> to achieve the same.</p>
|
<p>Docusaurus provides some default mappings to allow you to run commands following Node conventions. Instead of typing <code>docusaurus-start</code> every time, you can type <code>yarn run start</code> or <code>npm start</code> to achieve the same.</p>
|
||||||
|
|
|
@ -138,28 +138,28 @@
|
||||||
<p>To expose sidebars, you will add clickable labels to the site navigation bar at the top of the website. You can add documents, pages and external links.</p>
|
<p>To expose sidebars, you will add clickable labels to the site navigation bar at the top of the website. You can add documents, pages and external links.</p>
|
||||||
<h3><a class="anchor" aria-hidden="true" id="adding-documents"></a><a href="#adding-documents" 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>Adding Documents</h3>
|
<h3><a class="anchor" aria-hidden="true" id="adding-documents"></a><a href="#adding-documents" 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>Adding Documents</h3>
|
||||||
<p>After creating a new sidebar for the site by <a href="#adding-new-sidebars">adding</a> it to <code>sidebars.json</code>, you can expose the new sidebar from the top navigation bar by editing the <code>headerLinks</code> field of <code>siteConfig.js</code>.</p>
|
<p>After creating a new sidebar for the site by <a href="#adding-new-sidebars">adding</a> it to <code>sidebars.json</code>, you can expose the new sidebar from the top navigation bar by editing the <code>headerLinks</code> field of <code>siteConfig.js</code>.</p>
|
||||||
<pre><code class="hljs">headerLinks: [
|
<pre><code class="hljs"><span class="hljs-string">headerLinks:</span> [
|
||||||
|
...
|
||||||
|
{ <span class="hljs-string">doc:</span> <span class="hljs-string">'my-examples'</span>, <span class="hljs-string">label:</span> <span class="hljs-string">'Examples'</span> },
|
||||||
...
|
...
|
||||||
{ doc: <span class="hljs-string">'my-examples'</span>, <span class="hljs-keyword">label</span><span class="bash">: <span class="hljs-string">'Examples'</span> },
|
|
||||||
</span> ...
|
|
||||||
],
|
],
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<p>A label called <code>Examples</code> will be added to the site navigation bar and when you click on it at the top of your site, the <code>examples-sidebar</code> will be shown and the default document will be <code>my-examples</code>.</p>
|
<p>A label called <code>Examples</code> will be added to the site navigation bar and when you click on it at the top of your site, the <code>examples-sidebar</code> will be shown and the default document will be <code>my-examples</code>.</p>
|
||||||
<h3><a class="anchor" aria-hidden="true" id="adding-custom-pages"></a><a href="#adding-custom-pages" 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>Adding Custom Pages</h3>
|
<h3><a class="anchor" aria-hidden="true" id="adding-custom-pages"></a><a href="#adding-custom-pages" 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>Adding Custom Pages</h3>
|
||||||
<p>To add custom pages to the site navigation bar, entries can be added to the <code>headerLinks</code> of <code>siteConfig.js</code>. For example, if we have a page within <code>website/pages/help.js</code>, we can link to it by adding the following:</p>
|
<p>To add custom pages to the site navigation bar, entries can be added to the <code>headerLinks</code> of <code>siteConfig.js</code>. For example, if we have a page within <code>website/pages/help.js</code>, we can link to it by adding the following:</p>
|
||||||
<pre><code class="hljs">headerLinks: [
|
<pre><code class="hljs"><span class="hljs-string">headerLinks:</span> [
|
||||||
|
...
|
||||||
|
{ <span class="hljs-string">page:</span> <span class="hljs-string">'help'</span>, <span class="hljs-string">label:</span> <span class="hljs-string">'Help'</span> },
|
||||||
...
|
...
|
||||||
{ page: <span class="hljs-string">'help'</span>, <span class="hljs-keyword">label</span><span class="bash">: <span class="hljs-string">'Help'</span> },
|
|
||||||
</span> ...
|
|
||||||
],
|
],
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<p>A label called <code>Help</code> will be added to the site navigation bar and when you click on it at the top of your site, the content from the <code>help.js</code> page will be shown.</p>
|
<p>A label called <code>Help</code> will be added to the site navigation bar and when you click on it at the top of your site, the content from the <code>help.js</code> page will be shown.</p>
|
||||||
<h3><a class="anchor" aria-hidden="true" id="adding-external-links"></a><a href="#adding-external-links" 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>Adding External Links</h3>
|
<h3><a class="anchor" aria-hidden="true" id="adding-external-links"></a><a href="#adding-external-links" 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>Adding External Links</h3>
|
||||||
<p>Custom links can be added to the site navigation bar with the following entry in <code>siteConfig.js</code>:</p>
|
<p>Custom links can be added to the site navigation bar with the following entry in <code>siteConfig.js</code>:</p>
|
||||||
<pre><code class="hljs">headerLinks: [
|
<pre><code class="hljs"><span class="hljs-string">headerLinks:</span> [
|
||||||
|
...
|
||||||
|
{ <span class="hljs-string">href:</span> <span class="hljs-string">'https://github.com/facebook/Docusaurus'</span>, <span class="hljs-string">label:</span> <span class="hljs-string">'GitHub'</span> },
|
||||||
...
|
...
|
||||||
{ href: <span class="hljs-string">'https://github.com/facebook/Docusaurus'</span>, <span class="hljs-keyword">label</span><span class="bash">: <span class="hljs-string">'GitHub'</span> },
|
|
||||||
</span> ...
|
|
||||||
],
|
],
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<p>A label called <code>GitHub</code> will be added to the site navigation bar and when you click on it at the top of your site, the content of the external link will be shown.</p>
|
<p>A label called <code>GitHub</code> will be added to the site navigation bar and when you click on it at the top of your site, the content of the external link will be shown.</p>
|
||||||
|
|
|
@ -138,28 +138,28 @@
|
||||||
<p>To expose sidebars, you will add clickable labels to the site navigation bar at the top of the website. You can add documents, pages and external links.</p>
|
<p>To expose sidebars, you will add clickable labels to the site navigation bar at the top of the website. You can add documents, pages and external links.</p>
|
||||||
<h3><a class="anchor" aria-hidden="true" id="adding-documents"></a><a href="#adding-documents" 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>Adding Documents</h3>
|
<h3><a class="anchor" aria-hidden="true" id="adding-documents"></a><a href="#adding-documents" 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>Adding Documents</h3>
|
||||||
<p>After creating a new sidebar for the site by <a href="#adding-new-sidebars">adding</a> it to <code>sidebars.json</code>, you can expose the new sidebar from the top navigation bar by editing the <code>headerLinks</code> field of <code>siteConfig.js</code>.</p>
|
<p>After creating a new sidebar for the site by <a href="#adding-new-sidebars">adding</a> it to <code>sidebars.json</code>, you can expose the new sidebar from the top navigation bar by editing the <code>headerLinks</code> field of <code>siteConfig.js</code>.</p>
|
||||||
<pre><code class="hljs">headerLinks: [
|
<pre><code class="hljs"><span class="hljs-string">headerLinks:</span> [
|
||||||
|
...
|
||||||
|
{ <span class="hljs-string">doc:</span> <span class="hljs-string">'my-examples'</span>, <span class="hljs-string">label:</span> <span class="hljs-string">'Examples'</span> },
|
||||||
...
|
...
|
||||||
{ doc: <span class="hljs-string">'my-examples'</span>, <span class="hljs-keyword">label</span><span class="bash">: <span class="hljs-string">'Examples'</span> },
|
|
||||||
</span> ...
|
|
||||||
],
|
],
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<p>A label called <code>Examples</code> will be added to the site navigation bar and when you click on it at the top of your site, the <code>examples-sidebar</code> will be shown and the default document will be <code>my-examples</code>.</p>
|
<p>A label called <code>Examples</code> will be added to the site navigation bar and when you click on it at the top of your site, the <code>examples-sidebar</code> will be shown and the default document will be <code>my-examples</code>.</p>
|
||||||
<h3><a class="anchor" aria-hidden="true" id="adding-custom-pages"></a><a href="#adding-custom-pages" 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>Adding Custom Pages</h3>
|
<h3><a class="anchor" aria-hidden="true" id="adding-custom-pages"></a><a href="#adding-custom-pages" 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>Adding Custom Pages</h3>
|
||||||
<p>To add custom pages to the site navigation bar, entries can be added to the <code>headerLinks</code> of <code>siteConfig.js</code>. For example, if we have a page within <code>website/pages/help.js</code>, we can link to it by adding the following:</p>
|
<p>To add custom pages to the site navigation bar, entries can be added to the <code>headerLinks</code> of <code>siteConfig.js</code>. For example, if we have a page within <code>website/pages/help.js</code>, we can link to it by adding the following:</p>
|
||||||
<pre><code class="hljs">headerLinks: [
|
<pre><code class="hljs"><span class="hljs-string">headerLinks:</span> [
|
||||||
|
...
|
||||||
|
{ <span class="hljs-string">page:</span> <span class="hljs-string">'help'</span>, <span class="hljs-string">label:</span> <span class="hljs-string">'Help'</span> },
|
||||||
...
|
...
|
||||||
{ page: <span class="hljs-string">'help'</span>, <span class="hljs-keyword">label</span><span class="bash">: <span class="hljs-string">'Help'</span> },
|
|
||||||
</span> ...
|
|
||||||
],
|
],
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<p>A label called <code>Help</code> will be added to the site navigation bar and when you click on it at the top of your site, the content from the <code>help.js</code> page will be shown.</p>
|
<p>A label called <code>Help</code> will be added to the site navigation bar and when you click on it at the top of your site, the content from the <code>help.js</code> page will be shown.</p>
|
||||||
<h3><a class="anchor" aria-hidden="true" id="adding-external-links"></a><a href="#adding-external-links" 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>Adding External Links</h3>
|
<h3><a class="anchor" aria-hidden="true" id="adding-external-links"></a><a href="#adding-external-links" 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>Adding External Links</h3>
|
||||||
<p>Custom links can be added to the site navigation bar with the following entry in <code>siteConfig.js</code>:</p>
|
<p>Custom links can be added to the site navigation bar with the following entry in <code>siteConfig.js</code>:</p>
|
||||||
<pre><code class="hljs">headerLinks: [
|
<pre><code class="hljs"><span class="hljs-string">headerLinks:</span> [
|
||||||
|
...
|
||||||
|
{ <span class="hljs-string">href:</span> <span class="hljs-string">'https://github.com/facebook/Docusaurus'</span>, <span class="hljs-string">label:</span> <span class="hljs-string">'GitHub'</span> },
|
||||||
...
|
...
|
||||||
{ href: <span class="hljs-string">'https://github.com/facebook/Docusaurus'</span>, <span class="hljs-keyword">label</span><span class="bash">: <span class="hljs-string">'GitHub'</span> },
|
|
||||||
</span> ...
|
|
||||||
],
|
],
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<p>A label called <code>GitHub</code> will be added to the site navigation bar and when you click on it at the top of your site, the content of the external link will be shown.</p>
|
<p>A label called <code>GitHub</code> will be added to the site navigation bar and when you click on it at the top of your site, the content of the external link will be shown.</p>
|
||||||
|
|
|
@ -79,8 +79,8 @@
|
||||||
</script></nav></div><div class="container mainContainer"><div class="wrapper"><div class="post"><header class="postHeader"><a class="edit-page-link button" href="https://github.com/facebook/docusaurus/edit/master/docs/guides-translation.md" target="_blank" rel="noreferrer noopener">Edit</a><h1 class="postHeaderTitle">Translations & Localization</h1></header><article><div><span><p>Docusaurus allows for easy translation functionality using <a href="https://crowdin.com/">Crowdin</a>. Documentation files written in English are uploaded to Crowdin for translation by users within a community. Top-level pages written with English strings can be translated by wrapping any strings you want to translate in a <code><translate></code> tag. Other titles and labels will also be found and properly translated.</p>
|
</script></nav></div><div class="container mainContainer"><div class="wrapper"><div class="post"><header class="postHeader"><a class="edit-page-link button" href="https://github.com/facebook/docusaurus/edit/master/docs/guides-translation.md" target="_blank" rel="noreferrer noopener">Edit</a><h1 class="postHeaderTitle">Translations & Localization</h1></header><article><div><span><p>Docusaurus allows for easy translation functionality using <a href="https://crowdin.com/">Crowdin</a>. Documentation files written in English are uploaded to Crowdin for translation by users within a community. Top-level pages written with English strings can be translated by wrapping any strings you want to translate in a <code><translate></code> tag. Other titles and labels will also be found and properly translated.</p>
|
||||||
<h2><a class="anchor" aria-hidden="true" id="docusaurus-translation-configurations"></a><a href="#docusaurus-translation-configurations" 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>Docusaurus Translation Configurations</h2>
|
<h2><a class="anchor" aria-hidden="true" id="docusaurus-translation-configurations"></a><a href="#docusaurus-translation-configurations" 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>Docusaurus Translation Configurations</h2>
|
||||||
<p>To generate example files for translations with Docusaurus, run the <code>examples</code> script with the command line argument <code>translations</code>:</p>
|
<p>To generate example files for translations with Docusaurus, run the <code>examples</code> script with the command line argument <code>translations</code>:</p>
|
||||||
<pre><code class="hljs">npm <span class="hljs-keyword">run</span><span class="bash"> examples translations
|
<pre><code class="hljs">npm <span class="hljs-keyword">run</span><span class="bash"> examples translations</span>
|
||||||
</span></code></pre>
|
</code></pre>
|
||||||
<p>or</p>
|
<p>or</p>
|
||||||
<pre><code class="hljs"><span class="hljs-attribute">yarn examples translations</span>
|
<pre><code class="hljs"><span class="hljs-attribute">yarn examples translations</span>
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
|
@ -79,8 +79,8 @@
|
||||||
</script></nav></div><div class="container mainContainer"><div class="wrapper"><div class="post"><header class="postHeader"><a class="edit-page-link button" href="https://github.com/facebook/docusaurus/edit/master/docs/guides-translation.md" target="_blank" rel="noreferrer noopener">Edit</a><h1 class="postHeaderTitle">Translations & Localization</h1></header><article><div><span><p>Docusaurus allows for easy translation functionality using <a href="https://crowdin.com/">Crowdin</a>. Documentation files written in English are uploaded to Crowdin for translation by users within a community. Top-level pages written with English strings can be translated by wrapping any strings you want to translate in a <code><translate></code> tag. Other titles and labels will also be found and properly translated.</p>
|
</script></nav></div><div class="container mainContainer"><div class="wrapper"><div class="post"><header class="postHeader"><a class="edit-page-link button" href="https://github.com/facebook/docusaurus/edit/master/docs/guides-translation.md" target="_blank" rel="noreferrer noopener">Edit</a><h1 class="postHeaderTitle">Translations & Localization</h1></header><article><div><span><p>Docusaurus allows for easy translation functionality using <a href="https://crowdin.com/">Crowdin</a>. Documentation files written in English are uploaded to Crowdin for translation by users within a community. Top-level pages written with English strings can be translated by wrapping any strings you want to translate in a <code><translate></code> tag. Other titles and labels will also be found and properly translated.</p>
|
||||||
<h2><a class="anchor" aria-hidden="true" id="docusaurus-translation-configurations"></a><a href="#docusaurus-translation-configurations" 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>Docusaurus Translation Configurations</h2>
|
<h2><a class="anchor" aria-hidden="true" id="docusaurus-translation-configurations"></a><a href="#docusaurus-translation-configurations" 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>Docusaurus Translation Configurations</h2>
|
||||||
<p>To generate example files for translations with Docusaurus, run the <code>examples</code> script with the command line argument <code>translations</code>:</p>
|
<p>To generate example files for translations with Docusaurus, run the <code>examples</code> script with the command line argument <code>translations</code>:</p>
|
||||||
<pre><code class="hljs">npm <span class="hljs-keyword">run</span><span class="bash"> examples translations
|
<pre><code class="hljs">npm <span class="hljs-keyword">run</span><span class="bash"> examples translations</span>
|
||||||
</span></code></pre>
|
</code></pre>
|
||||||
<p>or</p>
|
<p>or</p>
|
||||||
<pre><code class="hljs"><span class="hljs-attribute">yarn examples translations</span>
|
<pre><code class="hljs"><span class="hljs-attribute">yarn examples translations</span>
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
|
@ -83,19 +83,19 @@
|
||||||
</ul>
|
</ul>
|
||||||
<h2><a class="anchor" aria-hidden="true" id="running-from-the-command-line"></a><a href="#running-from-the-command-line" 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>Running from the command line</h2>
|
<h2><a class="anchor" aria-hidden="true" id="running-from-the-command-line"></a><a href="#running-from-the-command-line" 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>Running from the command line</h2>
|
||||||
<p>The scripts can be run using either Yarn or npm. If you've already gone through our Getting Started guide, you may already be familiar with the <code>start</code> command. It's the command that tells Docusaurus to run the <code>docusaurus-start</code> script which generates the site and starts up a server, and it's usually invoked like so:</p>
|
<p>The scripts can be run using either Yarn or npm. If you've already gone through our Getting Started guide, you may already be familiar with the <code>start</code> command. It's the command that tells Docusaurus to run the <code>docusaurus-start</code> script which generates the site and starts up a server, and it's usually invoked like so:</p>
|
||||||
<pre><code class="hljs">yarn <span class="hljs-keyword">run</span><span class="bash"> start
|
<pre><code class="hljs">yarn <span class="hljs-keyword">run</span><span class="bash"> start</span>
|
||||||
</span></code></pre>
|
</code></pre>
|
||||||
<p>The same script can be invoked using npm:</p>
|
<p>The same script can be invoked using npm:</p>
|
||||||
<pre><code class="hljs">npm <span class="hljs-keyword">run</span><span class="bash"> start
|
<pre><code class="hljs">npm <span class="hljs-keyword">run</span><span class="bash"> start</span>
|
||||||
</span></code></pre>
|
</code></pre>
|
||||||
<p>To run a particular script, just replace the <code>start</code> command in the examples above with the command associated with your script.</p>
|
<p>To run a particular script, just replace the <code>start</code> command in the examples above with the command associated with your script.</p>
|
||||||
<h2><a class="anchor" aria-hidden="true" id="using-arguments"></a><a href="#using-arguments" 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>Using arguments</h2>
|
<h2><a class="anchor" aria-hidden="true" id="using-arguments"></a><a href="#using-arguments" 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>Using arguments</h2>
|
||||||
<p>Some commands support optional arguments. For example, to start a server on port 8080, you can specify the <code>--port</code> argument when running <code>start</code>:</p>
|
<p>Some commands support optional arguments. For example, to start a server on port 8080, you can specify the <code>--port</code> argument when running <code>start</code>:</p>
|
||||||
<pre><code class="hljs">yarn <span class="hljs-keyword">run</span><span class="bash"> start --port 8080
|
<pre><code class="hljs">yarn <span class="hljs-built_in">run</span> start <span class="hljs-comment">--port 8080</span>
|
||||||
</span></code></pre>
|
</code></pre>
|
||||||
<p>If you run Docusaurus using npm, you can still use the command line arguments by inserting a <code>--</code> between <code>npm run <command></code> and the command arguments:</p>
|
<p>If you run Docusaurus using npm, you can still use the command line arguments by inserting a <code>--</code> between <code>npm run <command></code> and the command arguments:</p>
|
||||||
<pre><code class="hljs">npm <span class="hljs-keyword">run</span><span class="bash"> start -- --port 8080
|
<pre><code class="hljs">npm <span class="hljs-built_in">run</span> start <span class="hljs-comment">-- --port 8080</span>
|
||||||
</span></code></pre>
|
</code></pre>
|
||||||
<h2><a class="anchor" aria-hidden="true" id="configuration"></a><a href="#configuration" 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>Configuration</h2>
|
<h2><a class="anchor" aria-hidden="true" id="configuration"></a><a href="#configuration" 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>Configuration</h2>
|
||||||
<p>These scripts are set up under the <code>"scripts"</code> key in your <code>website/package.json</code> file as part of the installation process. If you need help setting them up again, please refer to the <a href="/docs/en/1.0.12/installation">Installation guide</a>.</p>
|
<p>These scripts are set up under the <code>"scripts"</code> key in your <code>website/package.json</code> file as part of the installation process. If you need help setting them up again, please refer to the <a href="/docs/en/1.0.12/installation">Installation guide</a>.</p>
|
||||||
<p>Docusaurus provides some default mappings to allow you to run commands following Node conventions. Instead of typing <code>docusaurus-start</code> every time, you can type <code>yarn run start</code> or <code>npm start</code> to achieve the same.</p>
|
<p>Docusaurus provides some default mappings to allow you to run commands following Node conventions. Instead of typing <code>docusaurus-start</code> every time, you can type <code>yarn run start</code> or <code>npm start</code> to achieve the same.</p>
|
||||||
|
|
|
@ -83,19 +83,19 @@
|
||||||
</ul>
|
</ul>
|
||||||
<h2><a class="anchor" aria-hidden="true" id="running-from-the-command-line"></a><a href="#running-from-the-command-line" 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>Running from the command line</h2>
|
<h2><a class="anchor" aria-hidden="true" id="running-from-the-command-line"></a><a href="#running-from-the-command-line" 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>Running from the command line</h2>
|
||||||
<p>The scripts can be run using either Yarn or npm. If you've already gone through our Getting Started guide, you may already be familiar with the <code>start</code> command. It's the command that tells Docusaurus to run the <code>docusaurus-start</code> script which generates the site and starts up a server, and it's usually invoked like so:</p>
|
<p>The scripts can be run using either Yarn or npm. If you've already gone through our Getting Started guide, you may already be familiar with the <code>start</code> command. It's the command that tells Docusaurus to run the <code>docusaurus-start</code> script which generates the site and starts up a server, and it's usually invoked like so:</p>
|
||||||
<pre><code class="hljs">yarn <span class="hljs-keyword">run</span><span class="bash"> start
|
<pre><code class="hljs">yarn <span class="hljs-keyword">run</span><span class="bash"> start</span>
|
||||||
</span></code></pre>
|
</code></pre>
|
||||||
<p>The same script can be invoked using npm:</p>
|
<p>The same script can be invoked using npm:</p>
|
||||||
<pre><code class="hljs">npm <span class="hljs-keyword">run</span><span class="bash"> start
|
<pre><code class="hljs">npm <span class="hljs-keyword">run</span><span class="bash"> start</span>
|
||||||
</span></code></pre>
|
</code></pre>
|
||||||
<p>To run a particular script, just replace the <code>start</code> command in the examples above with the command associated with your script.</p>
|
<p>To run a particular script, just replace the <code>start</code> command in the examples above with the command associated with your script.</p>
|
||||||
<h2><a class="anchor" aria-hidden="true" id="using-arguments"></a><a href="#using-arguments" 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>Using arguments</h2>
|
<h2><a class="anchor" aria-hidden="true" id="using-arguments"></a><a href="#using-arguments" 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>Using arguments</h2>
|
||||||
<p>Some commands support optional arguments. For example, to start a server on port 8080, you can specify the <code>--port</code> argument when running <code>start</code>:</p>
|
<p>Some commands support optional arguments. For example, to start a server on port 8080, you can specify the <code>--port</code> argument when running <code>start</code>:</p>
|
||||||
<pre><code class="hljs">yarn <span class="hljs-keyword">run</span><span class="bash"> start --port 8080
|
<pre><code class="hljs">yarn <span class="hljs-built_in">run</span> start <span class="hljs-comment">--port 8080</span>
|
||||||
</span></code></pre>
|
</code></pre>
|
||||||
<p>If you run Docusaurus using npm, you can still use the command line arguments by inserting a <code>--</code> between <code>npm run <command></code> and the command arguments:</p>
|
<p>If you run Docusaurus using npm, you can still use the command line arguments by inserting a <code>--</code> between <code>npm run <command></code> and the command arguments:</p>
|
||||||
<pre><code class="hljs">npm <span class="hljs-keyword">run</span><span class="bash"> start -- --port 8080
|
<pre><code class="hljs">npm <span class="hljs-built_in">run</span> start <span class="hljs-comment">-- --port 8080</span>
|
||||||
</span></code></pre>
|
</code></pre>
|
||||||
<h2><a class="anchor" aria-hidden="true" id="configuration"></a><a href="#configuration" 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>Configuration</h2>
|
<h2><a class="anchor" aria-hidden="true" id="configuration"></a><a href="#configuration" 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>Configuration</h2>
|
||||||
<p>These scripts are set up under the <code>"scripts"</code> key in your <code>website/package.json</code> file as part of the installation process. If you need help setting them up again, please refer to the <a href="/docs/en/1.0.12/installation">Installation guide</a>.</p>
|
<p>These scripts are set up under the <code>"scripts"</code> key in your <code>website/package.json</code> file as part of the installation process. If you need help setting them up again, please refer to the <a href="/docs/en/1.0.12/installation">Installation guide</a>.</p>
|
||||||
<p>Docusaurus provides some default mappings to allow you to run commands following Node conventions. Instead of typing <code>docusaurus-start</code> every time, you can type <code>yarn run start</code> or <code>npm start</code> to achieve the same.</p>
|
<p>Docusaurus provides some default mappings to allow you to run commands following Node conventions. Instead of typing <code>docusaurus-start</code> every time, you can type <code>yarn run start</code> or <code>npm start</code> to achieve the same.</p>
|
||||||
|
|
|
@ -138,28 +138,28 @@
|
||||||
<p>To expose sidebars, you will add clickable labels to the site navigation bar at the top of the website. You can add documents, pages and external links.</p>
|
<p>To expose sidebars, you will add clickable labels to the site navigation bar at the top of the website. You can add documents, pages and external links.</p>
|
||||||
<h3><a class="anchor" aria-hidden="true" id="adding-documents"></a><a href="#adding-documents" 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>Adding Documents</h3>
|
<h3><a class="anchor" aria-hidden="true" id="adding-documents"></a><a href="#adding-documents" 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>Adding Documents</h3>
|
||||||
<p>After creating a new sidebar for the site by <a href="#adding-new-sidebars">adding</a> it to <code>sidebars.json</code>, you can expose the new sidebar from the top navigation bar by editing the <code>headerLinks</code> field of <code>siteConfig.js</code>.</p>
|
<p>After creating a new sidebar for the site by <a href="#adding-new-sidebars">adding</a> it to <code>sidebars.json</code>, you can expose the new sidebar from the top navigation bar by editing the <code>headerLinks</code> field of <code>siteConfig.js</code>.</p>
|
||||||
<pre><code class="hljs">headerLinks: [
|
<pre><code class="hljs"><span class="hljs-string">headerLinks:</span> [
|
||||||
|
...
|
||||||
|
{ <span class="hljs-string">doc:</span> <span class="hljs-string">'my-examples'</span>, <span class="hljs-string">label:</span> <span class="hljs-string">'Examples'</span> },
|
||||||
...
|
...
|
||||||
{ doc: <span class="hljs-string">'my-examples'</span>, <span class="hljs-keyword">label</span><span class="bash">: <span class="hljs-string">'Examples'</span> },
|
|
||||||
</span> ...
|
|
||||||
],
|
],
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<p>A label called <code>Examples</code> will be added to the site navigation bar and when you click on it at the top of your site, the <code>examples-sidebar</code> will be shown and the default document will be <code>my-examples</code>.</p>
|
<p>A label called <code>Examples</code> will be added to the site navigation bar and when you click on it at the top of your site, the <code>examples-sidebar</code> will be shown and the default document will be <code>my-examples</code>.</p>
|
||||||
<h3><a class="anchor" aria-hidden="true" id="adding-custom-pages"></a><a href="#adding-custom-pages" 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>Adding Custom Pages</h3>
|
<h3><a class="anchor" aria-hidden="true" id="adding-custom-pages"></a><a href="#adding-custom-pages" 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>Adding Custom Pages</h3>
|
||||||
<p>To add custom pages to the site navigation bar, entries can be added to the <code>headerLinks</code> of <code>siteConfig.js</code>. For example, if we have a page within <code>website/pages/help.js</code>, we can link to it by adding the following:</p>
|
<p>To add custom pages to the site navigation bar, entries can be added to the <code>headerLinks</code> of <code>siteConfig.js</code>. For example, if we have a page within <code>website/pages/help.js</code>, we can link to it by adding the following:</p>
|
||||||
<pre><code class="hljs">headerLinks: [
|
<pre><code class="hljs"><span class="hljs-string">headerLinks:</span> [
|
||||||
|
...
|
||||||
|
{ <span class="hljs-string">page:</span> <span class="hljs-string">'help'</span>, <span class="hljs-string">label:</span> <span class="hljs-string">'Help'</span> },
|
||||||
...
|
...
|
||||||
{ page: <span class="hljs-string">'help'</span>, <span class="hljs-keyword">label</span><span class="bash">: <span class="hljs-string">'Help'</span> },
|
|
||||||
</span> ...
|
|
||||||
],
|
],
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<p>A label called <code>Help</code> will be added to the site navigation bar and when you click on it at the top of your site, the content from the <code>help.js</code> page will be shown.</p>
|
<p>A label called <code>Help</code> will be added to the site navigation bar and when you click on it at the top of your site, the content from the <code>help.js</code> page will be shown.</p>
|
||||||
<h3><a class="anchor" aria-hidden="true" id="adding-external-links"></a><a href="#adding-external-links" 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>Adding External Links</h3>
|
<h3><a class="anchor" aria-hidden="true" id="adding-external-links"></a><a href="#adding-external-links" 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>Adding External Links</h3>
|
||||||
<p>Custom links can be added to the site navigation bar with the following entry in <code>siteConfig.js</code>:</p>
|
<p>Custom links can be added to the site navigation bar with the following entry in <code>siteConfig.js</code>:</p>
|
||||||
<pre><code class="hljs">headerLinks: [
|
<pre><code class="hljs"><span class="hljs-string">headerLinks:</span> [
|
||||||
|
...
|
||||||
|
{ <span class="hljs-string">href:</span> <span class="hljs-string">'https://github.com/facebook/Docusaurus'</span>, <span class="hljs-string">label:</span> <span class="hljs-string">'GitHub'</span> },
|
||||||
...
|
...
|
||||||
{ href: <span class="hljs-string">'https://github.com/facebook/Docusaurus'</span>, <span class="hljs-keyword">label</span><span class="bash">: <span class="hljs-string">'GitHub'</span> },
|
|
||||||
</span> ...
|
|
||||||
],
|
],
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<p>A label called <code>GitHub</code> will be added to the site navigation bar and when you click on it at the top of your site, the content of the external link will be shown.</p>
|
<p>A label called <code>GitHub</code> will be added to the site navigation bar and when you click on it at the top of your site, the content of the external link will be shown.</p>
|
||||||
|
|
|
@ -138,28 +138,28 @@
|
||||||
<p>To expose sidebars, you will add clickable labels to the site navigation bar at the top of the website. You can add documents, pages and external links.</p>
|
<p>To expose sidebars, you will add clickable labels to the site navigation bar at the top of the website. You can add documents, pages and external links.</p>
|
||||||
<h3><a class="anchor" aria-hidden="true" id="adding-documents"></a><a href="#adding-documents" 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>Adding Documents</h3>
|
<h3><a class="anchor" aria-hidden="true" id="adding-documents"></a><a href="#adding-documents" 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>Adding Documents</h3>
|
||||||
<p>After creating a new sidebar for the site by <a href="#adding-new-sidebars">adding</a> it to <code>sidebars.json</code>, you can expose the new sidebar from the top navigation bar by editing the <code>headerLinks</code> field of <code>siteConfig.js</code>.</p>
|
<p>After creating a new sidebar for the site by <a href="#adding-new-sidebars">adding</a> it to <code>sidebars.json</code>, you can expose the new sidebar from the top navigation bar by editing the <code>headerLinks</code> field of <code>siteConfig.js</code>.</p>
|
||||||
<pre><code class="hljs">headerLinks: [
|
<pre><code class="hljs"><span class="hljs-string">headerLinks:</span> [
|
||||||
|
...
|
||||||
|
{ <span class="hljs-string">doc:</span> <span class="hljs-string">'my-examples'</span>, <span class="hljs-string">label:</span> <span class="hljs-string">'Examples'</span> },
|
||||||
...
|
...
|
||||||
{ doc: <span class="hljs-string">'my-examples'</span>, <span class="hljs-keyword">label</span><span class="bash">: <span class="hljs-string">'Examples'</span> },
|
|
||||||
</span> ...
|
|
||||||
],
|
],
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<p>A label called <code>Examples</code> will be added to the site navigation bar and when you click on it at the top of your site, the <code>examples-sidebar</code> will be shown and the default document will be <code>my-examples</code>.</p>
|
<p>A label called <code>Examples</code> will be added to the site navigation bar and when you click on it at the top of your site, the <code>examples-sidebar</code> will be shown and the default document will be <code>my-examples</code>.</p>
|
||||||
<h3><a class="anchor" aria-hidden="true" id="adding-custom-pages"></a><a href="#adding-custom-pages" 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>Adding Custom Pages</h3>
|
<h3><a class="anchor" aria-hidden="true" id="adding-custom-pages"></a><a href="#adding-custom-pages" 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>Adding Custom Pages</h3>
|
||||||
<p>To add custom pages to the site navigation bar, entries can be added to the <code>headerLinks</code> of <code>siteConfig.js</code>. For example, if we have a page within <code>website/pages/help.js</code>, we can link to it by adding the following:</p>
|
<p>To add custom pages to the site navigation bar, entries can be added to the <code>headerLinks</code> of <code>siteConfig.js</code>. For example, if we have a page within <code>website/pages/help.js</code>, we can link to it by adding the following:</p>
|
||||||
<pre><code class="hljs">headerLinks: [
|
<pre><code class="hljs"><span class="hljs-string">headerLinks:</span> [
|
||||||
|
...
|
||||||
|
{ <span class="hljs-string">page:</span> <span class="hljs-string">'help'</span>, <span class="hljs-string">label:</span> <span class="hljs-string">'Help'</span> },
|
||||||
...
|
...
|
||||||
{ page: <span class="hljs-string">'help'</span>, <span class="hljs-keyword">label</span><span class="bash">: <span class="hljs-string">'Help'</span> },
|
|
||||||
</span> ...
|
|
||||||
],
|
],
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<p>A label called <code>Help</code> will be added to the site navigation bar and when you click on it at the top of your site, the content from the <code>help.js</code> page will be shown.</p>
|
<p>A label called <code>Help</code> will be added to the site navigation bar and when you click on it at the top of your site, the content from the <code>help.js</code> page will be shown.</p>
|
||||||
<h3><a class="anchor" aria-hidden="true" id="adding-external-links"></a><a href="#adding-external-links" 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>Adding External Links</h3>
|
<h3><a class="anchor" aria-hidden="true" id="adding-external-links"></a><a href="#adding-external-links" 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>Adding External Links</h3>
|
||||||
<p>Custom links can be added to the site navigation bar with the following entry in <code>siteConfig.js</code>:</p>
|
<p>Custom links can be added to the site navigation bar with the following entry in <code>siteConfig.js</code>:</p>
|
||||||
<pre><code class="hljs">headerLinks: [
|
<pre><code class="hljs"><span class="hljs-string">headerLinks:</span> [
|
||||||
|
...
|
||||||
|
{ <span class="hljs-string">href:</span> <span class="hljs-string">'https://github.com/facebook/Docusaurus'</span>, <span class="hljs-string">label:</span> <span class="hljs-string">'GitHub'</span> },
|
||||||
...
|
...
|
||||||
{ href: <span class="hljs-string">'https://github.com/facebook/Docusaurus'</span>, <span class="hljs-keyword">label</span><span class="bash">: <span class="hljs-string">'GitHub'</span> },
|
|
||||||
</span> ...
|
|
||||||
],
|
],
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<p>A label called <code>GitHub</code> will be added to the site navigation bar and when you click on it at the top of your site, the content of the external link will be shown.</p>
|
<p>A label called <code>GitHub</code> will be added to the site navigation bar and when you click on it at the top of your site, the content of the external link will be shown.</p>
|
||||||
|
|
|
@ -79,8 +79,8 @@
|
||||||
</script></nav></div><div class="container mainContainer"><div class="wrapper"><div class="post"><header class="postHeader"><a class="edit-page-link button" href="https://github.com/facebook/docusaurus/edit/master/docs/guides-translation.md" target="_blank" rel="noreferrer noopener">Edit</a><h1 class="postHeaderTitle">Translations & Localization</h1></header><article><div><span><p>Docusaurus allows for easy translation functionality using <a href="https://crowdin.com/">Crowdin</a>. Documentation files written in English are uploaded to Crowdin for translation by users within a community. Top-level pages written with English strings can be translated by wrapping any strings you want to translate in a <code><translate></code> tag. Other titles and labels will also be found and properly translated.</p>
|
</script></nav></div><div class="container mainContainer"><div class="wrapper"><div class="post"><header class="postHeader"><a class="edit-page-link button" href="https://github.com/facebook/docusaurus/edit/master/docs/guides-translation.md" target="_blank" rel="noreferrer noopener">Edit</a><h1 class="postHeaderTitle">Translations & Localization</h1></header><article><div><span><p>Docusaurus allows for easy translation functionality using <a href="https://crowdin.com/">Crowdin</a>. Documentation files written in English are uploaded to Crowdin for translation by users within a community. Top-level pages written with English strings can be translated by wrapping any strings you want to translate in a <code><translate></code> tag. Other titles and labels will also be found and properly translated.</p>
|
||||||
<h2><a class="anchor" aria-hidden="true" id="docusaurus-translation-configurations"></a><a href="#docusaurus-translation-configurations" 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>Docusaurus Translation Configurations</h2>
|
<h2><a class="anchor" aria-hidden="true" id="docusaurus-translation-configurations"></a><a href="#docusaurus-translation-configurations" 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>Docusaurus Translation Configurations</h2>
|
||||||
<p>To generate example files for translations with Docusaurus, run the <code>examples</code> script with the command line argument <code>translations</code>:</p>
|
<p>To generate example files for translations with Docusaurus, run the <code>examples</code> script with the command line argument <code>translations</code>:</p>
|
||||||
<pre><code class="hljs">npm <span class="hljs-keyword">run</span><span class="bash"> examples translations
|
<pre><code class="hljs">npm <span class="hljs-keyword">run</span><span class="bash"> examples translations</span>
|
||||||
</span></code></pre>
|
</code></pre>
|
||||||
<p>or</p>
|
<p>or</p>
|
||||||
<pre><code class="hljs"><span class="hljs-attribute">yarn examples translations</span>
|
<pre><code class="hljs"><span class="hljs-attribute">yarn examples translations</span>
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
|
@ -79,8 +79,8 @@
|
||||||
</script></nav></div><div class="container mainContainer"><div class="wrapper"><div class="post"><header class="postHeader"><a class="edit-page-link button" href="https://github.com/facebook/docusaurus/edit/master/docs/guides-translation.md" target="_blank" rel="noreferrer noopener">Edit</a><h1 class="postHeaderTitle">Translations & Localization</h1></header><article><div><span><p>Docusaurus allows for easy translation functionality using <a href="https://crowdin.com/">Crowdin</a>. Documentation files written in English are uploaded to Crowdin for translation by users within a community. Top-level pages written with English strings can be translated by wrapping any strings you want to translate in a <code><translate></code> tag. Other titles and labels will also be found and properly translated.</p>
|
</script></nav></div><div class="container mainContainer"><div class="wrapper"><div class="post"><header class="postHeader"><a class="edit-page-link button" href="https://github.com/facebook/docusaurus/edit/master/docs/guides-translation.md" target="_blank" rel="noreferrer noopener">Edit</a><h1 class="postHeaderTitle">Translations & Localization</h1></header><article><div><span><p>Docusaurus allows for easy translation functionality using <a href="https://crowdin.com/">Crowdin</a>. Documentation files written in English are uploaded to Crowdin for translation by users within a community. Top-level pages written with English strings can be translated by wrapping any strings you want to translate in a <code><translate></code> tag. Other titles and labels will also be found and properly translated.</p>
|
||||||
<h2><a class="anchor" aria-hidden="true" id="docusaurus-translation-configurations"></a><a href="#docusaurus-translation-configurations" 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>Docusaurus Translation Configurations</h2>
|
<h2><a class="anchor" aria-hidden="true" id="docusaurus-translation-configurations"></a><a href="#docusaurus-translation-configurations" 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>Docusaurus Translation Configurations</h2>
|
||||||
<p>To generate example files for translations with Docusaurus, run the <code>examples</code> script with the command line argument <code>translations</code>:</p>
|
<p>To generate example files for translations with Docusaurus, run the <code>examples</code> script with the command line argument <code>translations</code>:</p>
|
||||||
<pre><code class="hljs">npm <span class="hljs-keyword">run</span><span class="bash"> examples translations
|
<pre><code class="hljs">npm <span class="hljs-keyword">run</span><span class="bash"> examples translations</span>
|
||||||
</span></code></pre>
|
</code></pre>
|
||||||
<p>or</p>
|
<p>or</p>
|
||||||
<pre><code class="hljs"><span class="hljs-attribute">yarn examples translations</span>
|
<pre><code class="hljs"><span class="hljs-attribute">yarn examples translations</span>
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
|
@ -83,19 +83,19 @@
|
||||||
</ul>
|
</ul>
|
||||||
<h2><a class="anchor" aria-hidden="true" id="running-from-the-command-line"></a><a href="#running-from-the-command-line" 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>Running from the command line</h2>
|
<h2><a class="anchor" aria-hidden="true" id="running-from-the-command-line"></a><a href="#running-from-the-command-line" 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>Running from the command line</h2>
|
||||||
<p>The scripts can be run using either Yarn or npm. If you've already gone through our Getting Started guide, you may already be familiar with the <code>start</code> command. It's the command that tells Docusaurus to run the <code>docusaurus-start</code> script which generates the site and starts up a server, and it's usually invoked like so:</p>
|
<p>The scripts can be run using either Yarn or npm. If you've already gone through our Getting Started guide, you may already be familiar with the <code>start</code> command. It's the command that tells Docusaurus to run the <code>docusaurus-start</code> script which generates the site and starts up a server, and it's usually invoked like so:</p>
|
||||||
<pre><code class="hljs">yarn <span class="hljs-keyword">run</span><span class="bash"> start
|
<pre><code class="hljs">yarn <span class="hljs-keyword">run</span><span class="bash"> start</span>
|
||||||
</span></code></pre>
|
</code></pre>
|
||||||
<p>The same script can be invoked using npm:</p>
|
<p>The same script can be invoked using npm:</p>
|
||||||
<pre><code class="hljs">npm <span class="hljs-keyword">run</span><span class="bash"> start
|
<pre><code class="hljs">npm <span class="hljs-keyword">run</span><span class="bash"> start</span>
|
||||||
</span></code></pre>
|
</code></pre>
|
||||||
<p>To run a particular script, just replace the <code>start</code> command in the examples above with the command associated with your script.</p>
|
<p>To run a particular script, just replace the <code>start</code> command in the examples above with the command associated with your script.</p>
|
||||||
<h2><a class="anchor" aria-hidden="true" id="using-arguments"></a><a href="#using-arguments" 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>Using arguments</h2>
|
<h2><a class="anchor" aria-hidden="true" id="using-arguments"></a><a href="#using-arguments" 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>Using arguments</h2>
|
||||||
<p>Some commands support optional arguments. For example, to start a server on port 8080, you can specify the <code>--port</code> argument when running <code>start</code>:</p>
|
<p>Some commands support optional arguments. For example, to start a server on port 8080, you can specify the <code>--port</code> argument when running <code>start</code>:</p>
|
||||||
<pre><code class="hljs">yarn <span class="hljs-keyword">run</span><span class="bash"> start --port 8080
|
<pre><code class="hljs">yarn <span class="hljs-built_in">run</span> start <span class="hljs-comment">--port 8080</span>
|
||||||
</span></code></pre>
|
</code></pre>
|
||||||
<p>If you run Docusaurus using npm, you can still use the command line arguments by inserting a <code>--</code> between <code>npm run <command></code> and the command arguments:</p>
|
<p>If you run Docusaurus using npm, you can still use the command line arguments by inserting a <code>--</code> between <code>npm run <command></code> and the command arguments:</p>
|
||||||
<pre><code class="hljs">npm <span class="hljs-keyword">run</span><span class="bash"> start -- --port 8080
|
<pre><code class="hljs">npm <span class="hljs-built_in">run</span> start <span class="hljs-comment">-- --port 8080</span>
|
||||||
</span></code></pre>
|
</code></pre>
|
||||||
<h2><a class="anchor" aria-hidden="true" id="configuration"></a><a href="#configuration" 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>Configuration</h2>
|
<h2><a class="anchor" aria-hidden="true" id="configuration"></a><a href="#configuration" 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>Configuration</h2>
|
||||||
<p>These scripts are set up under the <code>"scripts"</code> key in your <code>website/package.json</code> file as part of the installation process. If you need help setting them up again, please refer to the <a href="/docs/en/1.0.13/installation">Installation guide</a>.</p>
|
<p>These scripts are set up under the <code>"scripts"</code> key in your <code>website/package.json</code> file as part of the installation process. If you need help setting them up again, please refer to the <a href="/docs/en/1.0.13/installation">Installation guide</a>.</p>
|
||||||
<p>Docusaurus provides some default mappings to allow you to run commands following Node conventions. Instead of typing <code>docusaurus-start</code> every time, you can type <code>yarn run start</code> or <code>npm start</code> to achieve the same.</p>
|
<p>Docusaurus provides some default mappings to allow you to run commands following Node conventions. Instead of typing <code>docusaurus-start</code> every time, you can type <code>yarn run start</code> or <code>npm start</code> to achieve the same.</p>
|
||||||
|
|
|
@ -83,19 +83,19 @@
|
||||||
</ul>
|
</ul>
|
||||||
<h2><a class="anchor" aria-hidden="true" id="running-from-the-command-line"></a><a href="#running-from-the-command-line" 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>Running from the command line</h2>
|
<h2><a class="anchor" aria-hidden="true" id="running-from-the-command-line"></a><a href="#running-from-the-command-line" 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>Running from the command line</h2>
|
||||||
<p>The scripts can be run using either Yarn or npm. If you've already gone through our Getting Started guide, you may already be familiar with the <code>start</code> command. It's the command that tells Docusaurus to run the <code>docusaurus-start</code> script which generates the site and starts up a server, and it's usually invoked like so:</p>
|
<p>The scripts can be run using either Yarn or npm. If you've already gone through our Getting Started guide, you may already be familiar with the <code>start</code> command. It's the command that tells Docusaurus to run the <code>docusaurus-start</code> script which generates the site and starts up a server, and it's usually invoked like so:</p>
|
||||||
<pre><code class="hljs">yarn <span class="hljs-keyword">run</span><span class="bash"> start
|
<pre><code class="hljs">yarn <span class="hljs-keyword">run</span><span class="bash"> start</span>
|
||||||
</span></code></pre>
|
</code></pre>
|
||||||
<p>The same script can be invoked using npm:</p>
|
<p>The same script can be invoked using npm:</p>
|
||||||
<pre><code class="hljs">npm <span class="hljs-keyword">run</span><span class="bash"> start
|
<pre><code class="hljs">npm <span class="hljs-keyword">run</span><span class="bash"> start</span>
|
||||||
</span></code></pre>
|
</code></pre>
|
||||||
<p>To run a particular script, just replace the <code>start</code> command in the examples above with the command associated with your script.</p>
|
<p>To run a particular script, just replace the <code>start</code> command in the examples above with the command associated with your script.</p>
|
||||||
<h2><a class="anchor" aria-hidden="true" id="using-arguments"></a><a href="#using-arguments" 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>Using arguments</h2>
|
<h2><a class="anchor" aria-hidden="true" id="using-arguments"></a><a href="#using-arguments" 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>Using arguments</h2>
|
||||||
<p>Some commands support optional arguments. For example, to start a server on port 8080, you can specify the <code>--port</code> argument when running <code>start</code>:</p>
|
<p>Some commands support optional arguments. For example, to start a server on port 8080, you can specify the <code>--port</code> argument when running <code>start</code>:</p>
|
||||||
<pre><code class="hljs">yarn <span class="hljs-keyword">run</span><span class="bash"> start --port 8080
|
<pre><code class="hljs">yarn <span class="hljs-built_in">run</span> start <span class="hljs-comment">--port 8080</span>
|
||||||
</span></code></pre>
|
</code></pre>
|
||||||
<p>If you run Docusaurus using npm, you can still use the command line arguments by inserting a <code>--</code> between <code>npm run <command></code> and the command arguments:</p>
|
<p>If you run Docusaurus using npm, you can still use the command line arguments by inserting a <code>--</code> between <code>npm run <command></code> and the command arguments:</p>
|
||||||
<pre><code class="hljs">npm <span class="hljs-keyword">run</span><span class="bash"> start -- --port 8080
|
<pre><code class="hljs">npm <span class="hljs-built_in">run</span> start <span class="hljs-comment">-- --port 8080</span>
|
||||||
</span></code></pre>
|
</code></pre>
|
||||||
<h2><a class="anchor" aria-hidden="true" id="configuration"></a><a href="#configuration" 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>Configuration</h2>
|
<h2><a class="anchor" aria-hidden="true" id="configuration"></a><a href="#configuration" 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>Configuration</h2>
|
||||||
<p>These scripts are set up under the <code>"scripts"</code> key in your <code>website/package.json</code> file as part of the installation process. If you need help setting them up again, please refer to the <a href="/docs/en/1.0.13/installation">Installation guide</a>.</p>
|
<p>These scripts are set up under the <code>"scripts"</code> key in your <code>website/package.json</code> file as part of the installation process. If you need help setting them up again, please refer to the <a href="/docs/en/1.0.13/installation">Installation guide</a>.</p>
|
||||||
<p>Docusaurus provides some default mappings to allow you to run commands following Node conventions. Instead of typing <code>docusaurus-start</code> every time, you can type <code>yarn run start</code> or <code>npm start</code> to achieve the same.</p>
|
<p>Docusaurus provides some default mappings to allow you to run commands following Node conventions. Instead of typing <code>docusaurus-start</code> every time, you can type <code>yarn run start</code> or <code>npm start</code> to achieve the same.</p>
|
||||||
|
|
|
@ -138,28 +138,28 @@
|
||||||
<p>To expose sidebars, you will add clickable labels to the site navigation bar at the top of the website. You can add documents, pages and external links.</p>
|
<p>To expose sidebars, you will add clickable labels to the site navigation bar at the top of the website. You can add documents, pages and external links.</p>
|
||||||
<h3><a class="anchor" aria-hidden="true" id="adding-documents"></a><a href="#adding-documents" 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>Adding Documents</h3>
|
<h3><a class="anchor" aria-hidden="true" id="adding-documents"></a><a href="#adding-documents" 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>Adding Documents</h3>
|
||||||
<p>After creating a new sidebar for the site by <a href="#adding-new-sidebars">adding</a> it to <code>sidebars.json</code>, you can expose the new sidebar from the top navigation bar by editing the <code>headerLinks</code> field of <code>siteConfig.js</code>.</p>
|
<p>After creating a new sidebar for the site by <a href="#adding-new-sidebars">adding</a> it to <code>sidebars.json</code>, you can expose the new sidebar from the top navigation bar by editing the <code>headerLinks</code> field of <code>siteConfig.js</code>.</p>
|
||||||
<pre><code class="hljs">headerLinks: [
|
<pre><code class="hljs"><span class="hljs-string">headerLinks:</span> [
|
||||||
|
...
|
||||||
|
{ <span class="hljs-string">doc:</span> <span class="hljs-string">'my-examples'</span>, <span class="hljs-string">label:</span> <span class="hljs-string">'Examples'</span> },
|
||||||
...
|
...
|
||||||
{ doc: <span class="hljs-string">'my-examples'</span>, <span class="hljs-keyword">label</span><span class="bash">: <span class="hljs-string">'Examples'</span> },
|
|
||||||
</span> ...
|
|
||||||
],
|
],
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<p>A label called <code>Examples</code> will be added to the site navigation bar and when you click on it at the top of your site, the <code>examples-sidebar</code> will be shown and the default document will be <code>my-examples</code>.</p>
|
<p>A label called <code>Examples</code> will be added to the site navigation bar and when you click on it at the top of your site, the <code>examples-sidebar</code> will be shown and the default document will be <code>my-examples</code>.</p>
|
||||||
<h3><a class="anchor" aria-hidden="true" id="adding-custom-pages"></a><a href="#adding-custom-pages" 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>Adding Custom Pages</h3>
|
<h3><a class="anchor" aria-hidden="true" id="adding-custom-pages"></a><a href="#adding-custom-pages" 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>Adding Custom Pages</h3>
|
||||||
<p>To add custom pages to the site navigation bar, entries can be added to the <code>headerLinks</code> of <code>siteConfig.js</code>. For example, if we have a page within <code>website/pages/help.js</code>, we can link to it by adding the following:</p>
|
<p>To add custom pages to the site navigation bar, entries can be added to the <code>headerLinks</code> of <code>siteConfig.js</code>. For example, if we have a page within <code>website/pages/help.js</code>, we can link to it by adding the following:</p>
|
||||||
<pre><code class="hljs">headerLinks: [
|
<pre><code class="hljs"><span class="hljs-string">headerLinks:</span> [
|
||||||
|
...
|
||||||
|
{ <span class="hljs-string">page:</span> <span class="hljs-string">'help'</span>, <span class="hljs-string">label:</span> <span class="hljs-string">'Help'</span> },
|
||||||
...
|
...
|
||||||
{ page: <span class="hljs-string">'help'</span>, <span class="hljs-keyword">label</span><span class="bash">: <span class="hljs-string">'Help'</span> },
|
|
||||||
</span> ...
|
|
||||||
],
|
],
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<p>A label called <code>Help</code> will be added to the site navigation bar and when you click on it at the top of your site, the content from the <code>help.js</code> page will be shown.</p>
|
<p>A label called <code>Help</code> will be added to the site navigation bar and when you click on it at the top of your site, the content from the <code>help.js</code> page will be shown.</p>
|
||||||
<h3><a class="anchor" aria-hidden="true" id="adding-external-links"></a><a href="#adding-external-links" 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>Adding External Links</h3>
|
<h3><a class="anchor" aria-hidden="true" id="adding-external-links"></a><a href="#adding-external-links" 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>Adding External Links</h3>
|
||||||
<p>Custom links can be added to the site navigation bar with the following entry in <code>siteConfig.js</code>:</p>
|
<p>Custom links can be added to the site navigation bar with the following entry in <code>siteConfig.js</code>:</p>
|
||||||
<pre><code class="hljs">headerLinks: [
|
<pre><code class="hljs"><span class="hljs-string">headerLinks:</span> [
|
||||||
|
...
|
||||||
|
{ <span class="hljs-string">href:</span> <span class="hljs-string">'https://github.com/facebook/Docusaurus'</span>, <span class="hljs-string">label:</span> <span class="hljs-string">'GitHub'</span> },
|
||||||
...
|
...
|
||||||
{ href: <span class="hljs-string">'https://github.com/facebook/Docusaurus'</span>, <span class="hljs-keyword">label</span><span class="bash">: <span class="hljs-string">'GitHub'</span> },
|
|
||||||
</span> ...
|
|
||||||
],
|
],
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<p>A label called <code>GitHub</code> will be added to the site navigation bar and when you click on it at the top of your site, the content of the external link will be shown.</p>
|
<p>A label called <code>GitHub</code> will be added to the site navigation bar and when you click on it at the top of your site, the content of the external link will be shown.</p>
|
||||||
|
|
|
@ -138,28 +138,28 @@
|
||||||
<p>To expose sidebars, you will add clickable labels to the site navigation bar at the top of the website. You can add documents, pages and external links.</p>
|
<p>To expose sidebars, you will add clickable labels to the site navigation bar at the top of the website. You can add documents, pages and external links.</p>
|
||||||
<h3><a class="anchor" aria-hidden="true" id="adding-documents"></a><a href="#adding-documents" 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>Adding Documents</h3>
|
<h3><a class="anchor" aria-hidden="true" id="adding-documents"></a><a href="#adding-documents" 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>Adding Documents</h3>
|
||||||
<p>After creating a new sidebar for the site by <a href="#adding-new-sidebars">adding</a> it to <code>sidebars.json</code>, you can expose the new sidebar from the top navigation bar by editing the <code>headerLinks</code> field of <code>siteConfig.js</code>.</p>
|
<p>After creating a new sidebar for the site by <a href="#adding-new-sidebars">adding</a> it to <code>sidebars.json</code>, you can expose the new sidebar from the top navigation bar by editing the <code>headerLinks</code> field of <code>siteConfig.js</code>.</p>
|
||||||
<pre><code class="hljs">headerLinks: [
|
<pre><code class="hljs"><span class="hljs-string">headerLinks:</span> [
|
||||||
|
...
|
||||||
|
{ <span class="hljs-string">doc:</span> <span class="hljs-string">'my-examples'</span>, <span class="hljs-string">label:</span> <span class="hljs-string">'Examples'</span> },
|
||||||
...
|
...
|
||||||
{ doc: <span class="hljs-string">'my-examples'</span>, <span class="hljs-keyword">label</span><span class="bash">: <span class="hljs-string">'Examples'</span> },
|
|
||||||
</span> ...
|
|
||||||
],
|
],
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<p>A label called <code>Examples</code> will be added to the site navigation bar and when you click on it at the top of your site, the <code>examples-sidebar</code> will be shown and the default document will be <code>my-examples</code>.</p>
|
<p>A label called <code>Examples</code> will be added to the site navigation bar and when you click on it at the top of your site, the <code>examples-sidebar</code> will be shown and the default document will be <code>my-examples</code>.</p>
|
||||||
<h3><a class="anchor" aria-hidden="true" id="adding-custom-pages"></a><a href="#adding-custom-pages" 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>Adding Custom Pages</h3>
|
<h3><a class="anchor" aria-hidden="true" id="adding-custom-pages"></a><a href="#adding-custom-pages" 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>Adding Custom Pages</h3>
|
||||||
<p>To add custom pages to the site navigation bar, entries can be added to the <code>headerLinks</code> of <code>siteConfig.js</code>. For example, if we have a page within <code>website/pages/help.js</code>, we can link to it by adding the following:</p>
|
<p>To add custom pages to the site navigation bar, entries can be added to the <code>headerLinks</code> of <code>siteConfig.js</code>. For example, if we have a page within <code>website/pages/help.js</code>, we can link to it by adding the following:</p>
|
||||||
<pre><code class="hljs">headerLinks: [
|
<pre><code class="hljs"><span class="hljs-string">headerLinks:</span> [
|
||||||
|
...
|
||||||
|
{ <span class="hljs-string">page:</span> <span class="hljs-string">'help'</span>, <span class="hljs-string">label:</span> <span class="hljs-string">'Help'</span> },
|
||||||
...
|
...
|
||||||
{ page: <span class="hljs-string">'help'</span>, <span class="hljs-keyword">label</span><span class="bash">: <span class="hljs-string">'Help'</span> },
|
|
||||||
</span> ...
|
|
||||||
],
|
],
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<p>A label called <code>Help</code> will be added to the site navigation bar and when you click on it at the top of your site, the content from the <code>help.js</code> page will be shown.</p>
|
<p>A label called <code>Help</code> will be added to the site navigation bar and when you click on it at the top of your site, the content from the <code>help.js</code> page will be shown.</p>
|
||||||
<h3><a class="anchor" aria-hidden="true" id="adding-external-links"></a><a href="#adding-external-links" 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>Adding External Links</h3>
|
<h3><a class="anchor" aria-hidden="true" id="adding-external-links"></a><a href="#adding-external-links" 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>Adding External Links</h3>
|
||||||
<p>Custom links can be added to the site navigation bar with the following entry in <code>siteConfig.js</code>:</p>
|
<p>Custom links can be added to the site navigation bar with the following entry in <code>siteConfig.js</code>:</p>
|
||||||
<pre><code class="hljs">headerLinks: [
|
<pre><code class="hljs"><span class="hljs-string">headerLinks:</span> [
|
||||||
|
...
|
||||||
|
{ <span class="hljs-string">href:</span> <span class="hljs-string">'https://github.com/facebook/Docusaurus'</span>, <span class="hljs-string">label:</span> <span class="hljs-string">'GitHub'</span> },
|
||||||
...
|
...
|
||||||
{ href: <span class="hljs-string">'https://github.com/facebook/Docusaurus'</span>, <span class="hljs-keyword">label</span><span class="bash">: <span class="hljs-string">'GitHub'</span> },
|
|
||||||
</span> ...
|
|
||||||
],
|
],
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<p>A label called <code>GitHub</code> will be added to the site navigation bar and when you click on it at the top of your site, the content of the external link will be shown.</p>
|
<p>A label called <code>GitHub</code> will be added to the site navigation bar and when you click on it at the top of your site, the content of the external link will be shown.</p>
|
||||||
|
|
|
@ -79,8 +79,8 @@
|
||||||
</script></nav></div><div class="container mainContainer"><div class="wrapper"><div class="post"><header class="postHeader"><a class="edit-page-link button" href="https://github.com/facebook/docusaurus/edit/master/docs/guides-translation.md" target="_blank" rel="noreferrer noopener">Edit</a><h1 class="postHeaderTitle">Translations & Localization</h1></header><article><div><span><p>Docusaurus allows for easy translation functionality using <a href="https://crowdin.com/">Crowdin</a>. Documentation files written in English are uploaded to Crowdin for translation by users within a community. Top-level pages written with English strings can be translated by wrapping any strings you want to translate in a <code><translate></code> tag. Other titles and labels will also be found and properly translated.</p>
|
</script></nav></div><div class="container mainContainer"><div class="wrapper"><div class="post"><header class="postHeader"><a class="edit-page-link button" href="https://github.com/facebook/docusaurus/edit/master/docs/guides-translation.md" target="_blank" rel="noreferrer noopener">Edit</a><h1 class="postHeaderTitle">Translations & Localization</h1></header><article><div><span><p>Docusaurus allows for easy translation functionality using <a href="https://crowdin.com/">Crowdin</a>. Documentation files written in English are uploaded to Crowdin for translation by users within a community. Top-level pages written with English strings can be translated by wrapping any strings you want to translate in a <code><translate></code> tag. Other titles and labels will also be found and properly translated.</p>
|
||||||
<h2><a class="anchor" aria-hidden="true" id="docusaurus-translation-configurations"></a><a href="#docusaurus-translation-configurations" 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>Docusaurus Translation Configurations</h2>
|
<h2><a class="anchor" aria-hidden="true" id="docusaurus-translation-configurations"></a><a href="#docusaurus-translation-configurations" 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>Docusaurus Translation Configurations</h2>
|
||||||
<p>To generate example files for translations with Docusaurus, run the <code>examples</code> script with the command line argument <code>translations</code>:</p>
|
<p>To generate example files for translations with Docusaurus, run the <code>examples</code> script with the command line argument <code>translations</code>:</p>
|
||||||
<pre><code class="hljs">npm <span class="hljs-keyword">run</span><span class="bash"> examples translations
|
<pre><code class="hljs">npm <span class="hljs-keyword">run</span><span class="bash"> examples translations</span>
|
||||||
</span></code></pre>
|
</code></pre>
|
||||||
<p>or</p>
|
<p>or</p>
|
||||||
<pre><code class="hljs"><span class="hljs-attribute">yarn examples translations</span>
|
<pre><code class="hljs"><span class="hljs-attribute">yarn examples translations</span>
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
|
@ -79,8 +79,8 @@
|
||||||
</script></nav></div><div class="container mainContainer"><div class="wrapper"><div class="post"><header class="postHeader"><a class="edit-page-link button" href="https://github.com/facebook/docusaurus/edit/master/docs/guides-translation.md" target="_blank" rel="noreferrer noopener">Edit</a><h1 class="postHeaderTitle">Translations & Localization</h1></header><article><div><span><p>Docusaurus allows for easy translation functionality using <a href="https://crowdin.com/">Crowdin</a>. Documentation files written in English are uploaded to Crowdin for translation by users within a community. Top-level pages written with English strings can be translated by wrapping any strings you want to translate in a <code><translate></code> tag. Other titles and labels will also be found and properly translated.</p>
|
</script></nav></div><div class="container mainContainer"><div class="wrapper"><div class="post"><header class="postHeader"><a class="edit-page-link button" href="https://github.com/facebook/docusaurus/edit/master/docs/guides-translation.md" target="_blank" rel="noreferrer noopener">Edit</a><h1 class="postHeaderTitle">Translations & Localization</h1></header><article><div><span><p>Docusaurus allows for easy translation functionality using <a href="https://crowdin.com/">Crowdin</a>. Documentation files written in English are uploaded to Crowdin for translation by users within a community. Top-level pages written with English strings can be translated by wrapping any strings you want to translate in a <code><translate></code> tag. Other titles and labels will also be found and properly translated.</p>
|
||||||
<h2><a class="anchor" aria-hidden="true" id="docusaurus-translation-configurations"></a><a href="#docusaurus-translation-configurations" 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>Docusaurus Translation Configurations</h2>
|
<h2><a class="anchor" aria-hidden="true" id="docusaurus-translation-configurations"></a><a href="#docusaurus-translation-configurations" 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>Docusaurus Translation Configurations</h2>
|
||||||
<p>To generate example files for translations with Docusaurus, run the <code>examples</code> script with the command line argument <code>translations</code>:</p>
|
<p>To generate example files for translations with Docusaurus, run the <code>examples</code> script with the command line argument <code>translations</code>:</p>
|
||||||
<pre><code class="hljs">npm <span class="hljs-keyword">run</span><span class="bash"> examples translations
|
<pre><code class="hljs">npm <span class="hljs-keyword">run</span><span class="bash"> examples translations</span>
|
||||||
</span></code></pre>
|
</code></pre>
|
||||||
<p>or</p>
|
<p>or</p>
|
||||||
<pre><code class="hljs"><span class="hljs-attribute">yarn examples translations</span>
|
<pre><code class="hljs"><span class="hljs-attribute">yarn examples translations</span>
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
|
@ -83,19 +83,19 @@
|
||||||
</ul>
|
</ul>
|
||||||
<h2><a class="anchor" aria-hidden="true" id="running-from-the-command-line"></a><a href="#running-from-the-command-line" 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>Running from the command line</h2>
|
<h2><a class="anchor" aria-hidden="true" id="running-from-the-command-line"></a><a href="#running-from-the-command-line" 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>Running from the command line</h2>
|
||||||
<p>The scripts can be run using either Yarn or npm. If you've already gone through our Getting Started guide, you may already be familiar with the <code>start</code> command. It's the command that tells Docusaurus to run the <code>docusaurus-start</code> script which generates the site and starts up a server, and it's usually invoked like so:</p>
|
<p>The scripts can be run using either Yarn or npm. If you've already gone through our Getting Started guide, you may already be familiar with the <code>start</code> command. It's the command that tells Docusaurus to run the <code>docusaurus-start</code> script which generates the site and starts up a server, and it's usually invoked like so:</p>
|
||||||
<pre><code class="hljs">yarn <span class="hljs-keyword">run</span><span class="bash"> start
|
<pre><code class="hljs">yarn <span class="hljs-keyword">run</span><span class="bash"> start</span>
|
||||||
</span></code></pre>
|
</code></pre>
|
||||||
<p>The same script can be invoked using npm:</p>
|
<p>The same script can be invoked using npm:</p>
|
||||||
<pre><code class="hljs">npm <span class="hljs-keyword">run</span><span class="bash"> start
|
<pre><code class="hljs">npm <span class="hljs-keyword">run</span><span class="bash"> start</span>
|
||||||
</span></code></pre>
|
</code></pre>
|
||||||
<p>To run a particular script, just replace the <code>start</code> command in the examples above with the command associated with your script.</p>
|
<p>To run a particular script, just replace the <code>start</code> command in the examples above with the command associated with your script.</p>
|
||||||
<h2><a class="anchor" aria-hidden="true" id="using-arguments"></a><a href="#using-arguments" 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>Using arguments</h2>
|
<h2><a class="anchor" aria-hidden="true" id="using-arguments"></a><a href="#using-arguments" 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>Using arguments</h2>
|
||||||
<p>Some commands support optional arguments. For example, to start a server on port 8080, you can specify the <code>--port</code> argument when running <code>start</code>:</p>
|
<p>Some commands support optional arguments. For example, to start a server on port 8080, you can specify the <code>--port</code> argument when running <code>start</code>:</p>
|
||||||
<pre><code class="hljs">yarn <span class="hljs-keyword">run</span><span class="bash"> start --port 8080
|
<pre><code class="hljs">yarn <span class="hljs-built_in">run</span> start <span class="hljs-comment">--port 8080</span>
|
||||||
</span></code></pre>
|
</code></pre>
|
||||||
<p>If you run Docusaurus using npm, you can still use the command line arguments by inserting a <code>--</code> between <code>npm run <command></code> and the command arguments:</p>
|
<p>If you run Docusaurus using npm, you can still use the command line arguments by inserting a <code>--</code> between <code>npm run <command></code> and the command arguments:</p>
|
||||||
<pre><code class="hljs">npm <span class="hljs-keyword">run</span><span class="bash"> start -- --port 8080
|
<pre><code class="hljs">npm <span class="hljs-built_in">run</span> start <span class="hljs-comment">-- --port 8080</span>
|
||||||
</span></code></pre>
|
</code></pre>
|
||||||
<h2><a class="anchor" aria-hidden="true" id="configuration"></a><a href="#configuration" 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>Configuration</h2>
|
<h2><a class="anchor" aria-hidden="true" id="configuration"></a><a href="#configuration" 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>Configuration</h2>
|
||||||
<p>These scripts are set up under the <code>"scripts"</code> key in your <code>website/package.json</code> file as part of the installation process. If you need help setting them up again, please refer to the <a href="/docs/en/1.0.14/installation">Installation guide</a>.</p>
|
<p>These scripts are set up under the <code>"scripts"</code> key in your <code>website/package.json</code> file as part of the installation process. If you need help setting them up again, please refer to the <a href="/docs/en/1.0.14/installation">Installation guide</a>.</p>
|
||||||
<p>Docusaurus provides some default mappings to allow you to run commands following Node conventions. Instead of typing <code>docusaurus-start</code> every time, you can type <code>yarn run start</code> or <code>npm start</code> to achieve the same.</p>
|
<p>Docusaurus provides some default mappings to allow you to run commands following Node conventions. Instead of typing <code>docusaurus-start</code> every time, you can type <code>yarn run start</code> or <code>npm start</code> to achieve the same.</p>
|
||||||
|
|
|
@ -83,19 +83,19 @@
|
||||||
</ul>
|
</ul>
|
||||||
<h2><a class="anchor" aria-hidden="true" id="running-from-the-command-line"></a><a href="#running-from-the-command-line" 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>Running from the command line</h2>
|
<h2><a class="anchor" aria-hidden="true" id="running-from-the-command-line"></a><a href="#running-from-the-command-line" 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>Running from the command line</h2>
|
||||||
<p>The scripts can be run using either Yarn or npm. If you've already gone through our Getting Started guide, you may already be familiar with the <code>start</code> command. It's the command that tells Docusaurus to run the <code>docusaurus-start</code> script which generates the site and starts up a server, and it's usually invoked like so:</p>
|
<p>The scripts can be run using either Yarn or npm. If you've already gone through our Getting Started guide, you may already be familiar with the <code>start</code> command. It's the command that tells Docusaurus to run the <code>docusaurus-start</code> script which generates the site and starts up a server, and it's usually invoked like so:</p>
|
||||||
<pre><code class="hljs">yarn <span class="hljs-keyword">run</span><span class="bash"> start
|
<pre><code class="hljs">yarn <span class="hljs-keyword">run</span><span class="bash"> start</span>
|
||||||
</span></code></pre>
|
</code></pre>
|
||||||
<p>The same script can be invoked using npm:</p>
|
<p>The same script can be invoked using npm:</p>
|
||||||
<pre><code class="hljs">npm <span class="hljs-keyword">run</span><span class="bash"> start
|
<pre><code class="hljs">npm <span class="hljs-keyword">run</span><span class="bash"> start</span>
|
||||||
</span></code></pre>
|
</code></pre>
|
||||||
<p>To run a particular script, just replace the <code>start</code> command in the examples above with the command associated with your script.</p>
|
<p>To run a particular script, just replace the <code>start</code> command in the examples above with the command associated with your script.</p>
|
||||||
<h2><a class="anchor" aria-hidden="true" id="using-arguments"></a><a href="#using-arguments" 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>Using arguments</h2>
|
<h2><a class="anchor" aria-hidden="true" id="using-arguments"></a><a href="#using-arguments" 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>Using arguments</h2>
|
||||||
<p>Some commands support optional arguments. For example, to start a server on port 8080, you can specify the <code>--port</code> argument when running <code>start</code>:</p>
|
<p>Some commands support optional arguments. For example, to start a server on port 8080, you can specify the <code>--port</code> argument when running <code>start</code>:</p>
|
||||||
<pre><code class="hljs">yarn <span class="hljs-keyword">run</span><span class="bash"> start --port 8080
|
<pre><code class="hljs">yarn <span class="hljs-built_in">run</span> start <span class="hljs-comment">--port 8080</span>
|
||||||
</span></code></pre>
|
</code></pre>
|
||||||
<p>If you run Docusaurus using npm, you can still use the command line arguments by inserting a <code>--</code> between <code>npm run <command></code> and the command arguments:</p>
|
<p>If you run Docusaurus using npm, you can still use the command line arguments by inserting a <code>--</code> between <code>npm run <command></code> and the command arguments:</p>
|
||||||
<pre><code class="hljs">npm <span class="hljs-keyword">run</span><span class="bash"> start -- --port 8080
|
<pre><code class="hljs">npm <span class="hljs-built_in">run</span> start <span class="hljs-comment">-- --port 8080</span>
|
||||||
</span></code></pre>
|
</code></pre>
|
||||||
<h2><a class="anchor" aria-hidden="true" id="configuration"></a><a href="#configuration" 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>Configuration</h2>
|
<h2><a class="anchor" aria-hidden="true" id="configuration"></a><a href="#configuration" 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>Configuration</h2>
|
||||||
<p>These scripts are set up under the <code>"scripts"</code> key in your <code>website/package.json</code> file as part of the installation process. If you need help setting them up again, please refer to the <a href="/docs/en/1.0.14/installation">Installation guide</a>.</p>
|
<p>These scripts are set up under the <code>"scripts"</code> key in your <code>website/package.json</code> file as part of the installation process. If you need help setting them up again, please refer to the <a href="/docs/en/1.0.14/installation">Installation guide</a>.</p>
|
||||||
<p>Docusaurus provides some default mappings to allow you to run commands following Node conventions. Instead of typing <code>docusaurus-start</code> every time, you can type <code>yarn run start</code> or <code>npm start</code> to achieve the same.</p>
|
<p>Docusaurus provides some default mappings to allow you to run commands following Node conventions. Instead of typing <code>docusaurus-start</code> every time, you can type <code>yarn run start</code> or <code>npm start</code> to achieve the same.</p>
|
||||||
|
|
|
@ -138,28 +138,28 @@
|
||||||
<p>To expose sidebars, you will add clickable labels to the site navigation bar at the top of the website. You can add documents, pages and external links.</p>
|
<p>To expose sidebars, you will add clickable labels to the site navigation bar at the top of the website. You can add documents, pages and external links.</p>
|
||||||
<h3><a class="anchor" aria-hidden="true" id="adding-documents"></a><a href="#adding-documents" 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>Adding Documents</h3>
|
<h3><a class="anchor" aria-hidden="true" id="adding-documents"></a><a href="#adding-documents" 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>Adding Documents</h3>
|
||||||
<p>After creating a new sidebar for the site by <a href="#adding-new-sidebars">adding</a> it to <code>sidebars.json</code>, you can expose the new sidebar from the top navigation bar by editing the <code>headerLinks</code> field of <code>siteConfig.js</code>.</p>
|
<p>After creating a new sidebar for the site by <a href="#adding-new-sidebars">adding</a> it to <code>sidebars.json</code>, you can expose the new sidebar from the top navigation bar by editing the <code>headerLinks</code> field of <code>siteConfig.js</code>.</p>
|
||||||
<pre><code class="hljs">headerLinks: [
|
<pre><code class="hljs"><span class="hljs-string">headerLinks:</span> [
|
||||||
|
...
|
||||||
|
{ <span class="hljs-string">doc:</span> <span class="hljs-string">'my-examples'</span>, <span class="hljs-string">label:</span> <span class="hljs-string">'Examples'</span> },
|
||||||
...
|
...
|
||||||
{ doc: <span class="hljs-string">'my-examples'</span>, <span class="hljs-keyword">label</span><span class="bash">: <span class="hljs-string">'Examples'</span> },
|
|
||||||
</span> ...
|
|
||||||
],
|
],
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<p>A label called <code>Examples</code> will be added to the site navigation bar and when you click on it at the top of your site, the <code>examples-sidebar</code> will be shown and the default document will be <code>my-examples</code>.</p>
|
<p>A label called <code>Examples</code> will be added to the site navigation bar and when you click on it at the top of your site, the <code>examples-sidebar</code> will be shown and the default document will be <code>my-examples</code>.</p>
|
||||||
<h3><a class="anchor" aria-hidden="true" id="adding-custom-pages"></a><a href="#adding-custom-pages" 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>Adding Custom Pages</h3>
|
<h3><a class="anchor" aria-hidden="true" id="adding-custom-pages"></a><a href="#adding-custom-pages" 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>Adding Custom Pages</h3>
|
||||||
<p>To add custom pages to the site navigation bar, entries can be added to the <code>headerLinks</code> of <code>siteConfig.js</code>. For example, if we have a page within <code>website/pages/help.js</code>, we can link to it by adding the following:</p>
|
<p>To add custom pages to the site navigation bar, entries can be added to the <code>headerLinks</code> of <code>siteConfig.js</code>. For example, if we have a page within <code>website/pages/help.js</code>, we can link to it by adding the following:</p>
|
||||||
<pre><code class="hljs">headerLinks: [
|
<pre><code class="hljs"><span class="hljs-string">headerLinks:</span> [
|
||||||
|
...
|
||||||
|
{ <span class="hljs-string">page:</span> <span class="hljs-string">'help'</span>, <span class="hljs-string">label:</span> <span class="hljs-string">'Help'</span> },
|
||||||
...
|
...
|
||||||
{ page: <span class="hljs-string">'help'</span>, <span class="hljs-keyword">label</span><span class="bash">: <span class="hljs-string">'Help'</span> },
|
|
||||||
</span> ...
|
|
||||||
],
|
],
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<p>A label called <code>Help</code> will be added to the site navigation bar and when you click on it at the top of your site, the content from the <code>help.js</code> page will be shown.</p>
|
<p>A label called <code>Help</code> will be added to the site navigation bar and when you click on it at the top of your site, the content from the <code>help.js</code> page will be shown.</p>
|
||||||
<h3><a class="anchor" aria-hidden="true" id="adding-external-links"></a><a href="#adding-external-links" 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>Adding External Links</h3>
|
<h3><a class="anchor" aria-hidden="true" id="adding-external-links"></a><a href="#adding-external-links" 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>Adding External Links</h3>
|
||||||
<p>Custom links can be added to the site navigation bar with the following entry in <code>siteConfig.js</code>:</p>
|
<p>Custom links can be added to the site navigation bar with the following entry in <code>siteConfig.js</code>:</p>
|
||||||
<pre><code class="hljs">headerLinks: [
|
<pre><code class="hljs"><span class="hljs-string">headerLinks:</span> [
|
||||||
|
...
|
||||||
|
{ <span class="hljs-string">href:</span> <span class="hljs-string">'https://github.com/facebook/Docusaurus'</span>, <span class="hljs-string">label:</span> <span class="hljs-string">'GitHub'</span> },
|
||||||
...
|
...
|
||||||
{ href: <span class="hljs-string">'https://github.com/facebook/Docusaurus'</span>, <span class="hljs-keyword">label</span><span class="bash">: <span class="hljs-string">'GitHub'</span> },
|
|
||||||
</span> ...
|
|
||||||
],
|
],
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<p>A label called <code>GitHub</code> will be added to the site navigation bar and when you click on it at the top of your site, the content of the external link will be shown.</p>
|
<p>A label called <code>GitHub</code> will be added to the site navigation bar and when you click on it at the top of your site, the content of the external link will be shown.</p>
|
||||||
|
|
|
@ -138,28 +138,28 @@
|
||||||
<p>To expose sidebars, you will add clickable labels to the site navigation bar at the top of the website. You can add documents, pages and external links.</p>
|
<p>To expose sidebars, you will add clickable labels to the site navigation bar at the top of the website. You can add documents, pages and external links.</p>
|
||||||
<h3><a class="anchor" aria-hidden="true" id="adding-documents"></a><a href="#adding-documents" 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>Adding Documents</h3>
|
<h3><a class="anchor" aria-hidden="true" id="adding-documents"></a><a href="#adding-documents" 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>Adding Documents</h3>
|
||||||
<p>After creating a new sidebar for the site by <a href="#adding-new-sidebars">adding</a> it to <code>sidebars.json</code>, you can expose the new sidebar from the top navigation bar by editing the <code>headerLinks</code> field of <code>siteConfig.js</code>.</p>
|
<p>After creating a new sidebar for the site by <a href="#adding-new-sidebars">adding</a> it to <code>sidebars.json</code>, you can expose the new sidebar from the top navigation bar by editing the <code>headerLinks</code> field of <code>siteConfig.js</code>.</p>
|
||||||
<pre><code class="hljs">headerLinks: [
|
<pre><code class="hljs"><span class="hljs-string">headerLinks:</span> [
|
||||||
|
...
|
||||||
|
{ <span class="hljs-string">doc:</span> <span class="hljs-string">'my-examples'</span>, <span class="hljs-string">label:</span> <span class="hljs-string">'Examples'</span> },
|
||||||
...
|
...
|
||||||
{ doc: <span class="hljs-string">'my-examples'</span>, <span class="hljs-keyword">label</span><span class="bash">: <span class="hljs-string">'Examples'</span> },
|
|
||||||
</span> ...
|
|
||||||
],
|
],
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<p>A label called <code>Examples</code> will be added to the site navigation bar and when you click on it at the top of your site, the <code>examples-sidebar</code> will be shown and the default document will be <code>my-examples</code>.</p>
|
<p>A label called <code>Examples</code> will be added to the site navigation bar and when you click on it at the top of your site, the <code>examples-sidebar</code> will be shown and the default document will be <code>my-examples</code>.</p>
|
||||||
<h3><a class="anchor" aria-hidden="true" id="adding-custom-pages"></a><a href="#adding-custom-pages" 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>Adding Custom Pages</h3>
|
<h3><a class="anchor" aria-hidden="true" id="adding-custom-pages"></a><a href="#adding-custom-pages" 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>Adding Custom Pages</h3>
|
||||||
<p>To add custom pages to the site navigation bar, entries can be added to the <code>headerLinks</code> of <code>siteConfig.js</code>. For example, if we have a page within <code>website/pages/help.js</code>, we can link to it by adding the following:</p>
|
<p>To add custom pages to the site navigation bar, entries can be added to the <code>headerLinks</code> of <code>siteConfig.js</code>. For example, if we have a page within <code>website/pages/help.js</code>, we can link to it by adding the following:</p>
|
||||||
<pre><code class="hljs">headerLinks: [
|
<pre><code class="hljs"><span class="hljs-string">headerLinks:</span> [
|
||||||
|
...
|
||||||
|
{ <span class="hljs-string">page:</span> <span class="hljs-string">'help'</span>, <span class="hljs-string">label:</span> <span class="hljs-string">'Help'</span> },
|
||||||
...
|
...
|
||||||
{ page: <span class="hljs-string">'help'</span>, <span class="hljs-keyword">label</span><span class="bash">: <span class="hljs-string">'Help'</span> },
|
|
||||||
</span> ...
|
|
||||||
],
|
],
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<p>A label called <code>Help</code> will be added to the site navigation bar and when you click on it at the top of your site, the content from the <code>help.js</code> page will be shown.</p>
|
<p>A label called <code>Help</code> will be added to the site navigation bar and when you click on it at the top of your site, the content from the <code>help.js</code> page will be shown.</p>
|
||||||
<h3><a class="anchor" aria-hidden="true" id="adding-external-links"></a><a href="#adding-external-links" 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>Adding External Links</h3>
|
<h3><a class="anchor" aria-hidden="true" id="adding-external-links"></a><a href="#adding-external-links" 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>Adding External Links</h3>
|
||||||
<p>Custom links can be added to the site navigation bar with the following entry in <code>siteConfig.js</code>:</p>
|
<p>Custom links can be added to the site navigation bar with the following entry in <code>siteConfig.js</code>:</p>
|
||||||
<pre><code class="hljs">headerLinks: [
|
<pre><code class="hljs"><span class="hljs-string">headerLinks:</span> [
|
||||||
|
...
|
||||||
|
{ <span class="hljs-string">href:</span> <span class="hljs-string">'https://github.com/facebook/Docusaurus'</span>, <span class="hljs-string">label:</span> <span class="hljs-string">'GitHub'</span> },
|
||||||
...
|
...
|
||||||
{ href: <span class="hljs-string">'https://github.com/facebook/Docusaurus'</span>, <span class="hljs-keyword">label</span><span class="bash">: <span class="hljs-string">'GitHub'</span> },
|
|
||||||
</span> ...
|
|
||||||
],
|
],
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<p>A label called <code>GitHub</code> will be added to the site navigation bar and when you click on it at the top of your site, the content of the external link will be shown.</p>
|
<p>A label called <code>GitHub</code> will be added to the site navigation bar and when you click on it at the top of your site, the content of the external link will be shown.</p>
|
||||||
|
|
|
@ -79,8 +79,8 @@
|
||||||
</script></nav></div><div class="container mainContainer"><div class="wrapper"><div class="post"><header class="postHeader"><a class="edit-page-link button" href="https://github.com/facebook/docusaurus/edit/master/docs/guides-translation.md" target="_blank" rel="noreferrer noopener">Edit</a><h1 class="postHeaderTitle">Translations & Localization</h1></header><article><div><span><p>Docusaurus allows for easy translation functionality using <a href="https://crowdin.com/">Crowdin</a>. Documentation files written in English are uploaded to Crowdin for translation by users within a community. Top-level pages written with English strings can be translated by wrapping any strings you want to translate in a <code><translate></code> tag. Other titles and labels will also be found and properly translated.</p>
|
</script></nav></div><div class="container mainContainer"><div class="wrapper"><div class="post"><header class="postHeader"><a class="edit-page-link button" href="https://github.com/facebook/docusaurus/edit/master/docs/guides-translation.md" target="_blank" rel="noreferrer noopener">Edit</a><h1 class="postHeaderTitle">Translations & Localization</h1></header><article><div><span><p>Docusaurus allows for easy translation functionality using <a href="https://crowdin.com/">Crowdin</a>. Documentation files written in English are uploaded to Crowdin for translation by users within a community. Top-level pages written with English strings can be translated by wrapping any strings you want to translate in a <code><translate></code> tag. Other titles and labels will also be found and properly translated.</p>
|
||||||
<h2><a class="anchor" aria-hidden="true" id="docusaurus-translation-configurations"></a><a href="#docusaurus-translation-configurations" 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>Docusaurus Translation Configurations</h2>
|
<h2><a class="anchor" aria-hidden="true" id="docusaurus-translation-configurations"></a><a href="#docusaurus-translation-configurations" 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>Docusaurus Translation Configurations</h2>
|
||||||
<p>To generate example files for translations with Docusaurus, run the <code>examples</code> script with the command line argument <code>translations</code>:</p>
|
<p>To generate example files for translations with Docusaurus, run the <code>examples</code> script with the command line argument <code>translations</code>:</p>
|
||||||
<pre><code class="hljs">npm <span class="hljs-keyword">run</span><span class="bash"> examples translations
|
<pre><code class="hljs">npm <span class="hljs-keyword">run</span><span class="bash"> examples translations</span>
|
||||||
</span></code></pre>
|
</code></pre>
|
||||||
<p>or</p>
|
<p>or</p>
|
||||||
<pre><code class="hljs"><span class="hljs-attribute">yarn examples translations</span>
|
<pre><code class="hljs"><span class="hljs-attribute">yarn examples translations</span>
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
|
@ -79,8 +79,8 @@
|
||||||
</script></nav></div><div class="container mainContainer"><div class="wrapper"><div class="post"><header class="postHeader"><a class="edit-page-link button" href="https://github.com/facebook/docusaurus/edit/master/docs/guides-translation.md" target="_blank" rel="noreferrer noopener">Edit</a><h1 class="postHeaderTitle">Translations & Localization</h1></header><article><div><span><p>Docusaurus allows for easy translation functionality using <a href="https://crowdin.com/">Crowdin</a>. Documentation files written in English are uploaded to Crowdin for translation by users within a community. Top-level pages written with English strings can be translated by wrapping any strings you want to translate in a <code><translate></code> tag. Other titles and labels will also be found and properly translated.</p>
|
</script></nav></div><div class="container mainContainer"><div class="wrapper"><div class="post"><header class="postHeader"><a class="edit-page-link button" href="https://github.com/facebook/docusaurus/edit/master/docs/guides-translation.md" target="_blank" rel="noreferrer noopener">Edit</a><h1 class="postHeaderTitle">Translations & Localization</h1></header><article><div><span><p>Docusaurus allows for easy translation functionality using <a href="https://crowdin.com/">Crowdin</a>. Documentation files written in English are uploaded to Crowdin for translation by users within a community. Top-level pages written with English strings can be translated by wrapping any strings you want to translate in a <code><translate></code> tag. Other titles and labels will also be found and properly translated.</p>
|
||||||
<h2><a class="anchor" aria-hidden="true" id="docusaurus-translation-configurations"></a><a href="#docusaurus-translation-configurations" 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>Docusaurus Translation Configurations</h2>
|
<h2><a class="anchor" aria-hidden="true" id="docusaurus-translation-configurations"></a><a href="#docusaurus-translation-configurations" 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>Docusaurus Translation Configurations</h2>
|
||||||
<p>To generate example files for translations with Docusaurus, run the <code>examples</code> script with the command line argument <code>translations</code>:</p>
|
<p>To generate example files for translations with Docusaurus, run the <code>examples</code> script with the command line argument <code>translations</code>:</p>
|
||||||
<pre><code class="hljs">npm <span class="hljs-keyword">run</span><span class="bash"> examples translations
|
<pre><code class="hljs">npm <span class="hljs-keyword">run</span><span class="bash"> examples translations</span>
|
||||||
</span></code></pre>
|
</code></pre>
|
||||||
<p>or</p>
|
<p>or</p>
|
||||||
<pre><code class="hljs"><span class="hljs-attribute">yarn examples translations</span>
|
<pre><code class="hljs"><span class="hljs-attribute">yarn examples translations</span>
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
|
@ -130,17 +130,17 @@ yarn start (or npm run start)
|
||||||
<p>After Docusaurus is installed, moving forward, you can check your current version of Docusaurus by going into the <code>website</code> directory and typing <code>yarn outdated docusaurus</code> or <code>npm outdated docusaurus</code>.</p>
|
<p>After Docusaurus is installed, moving forward, you can check your current version of Docusaurus by going into the <code>website</code> directory and typing <code>yarn outdated docusaurus</code> or <code>npm outdated docusaurus</code>.</p>
|
||||||
<p>You will see something like this:</p>
|
<p>You will see something like this:</p>
|
||||||
<pre><code class="hljs">$ yarn outdated
|
<pre><code class="hljs">$ yarn outdated
|
||||||
Using globally installed <span class="hljs-keyword">version</span> of Yarn
|
<span class="hljs-keyword">Using</span> globally installed <span class="hljs-keyword">version</span> <span class="hljs-keyword">of</span> Yarn
|
||||||
yarn outdated v1.5.1
|
yarn outdated v1<span class="hljs-number">.5</span><span class="hljs-number">.1</span>
|
||||||
warning package.json: <span class="hljs-keyword">No</span> license field
|
<span class="hljs-built_in">warning</span> package.json: <span class="hljs-keyword">No</span> license field
|
||||||
warning <span class="hljs-keyword">No</span> license field
|
<span class="hljs-built_in">warning</span> <span class="hljs-keyword">No</span> license field
|
||||||
info Color legend :
|
<span class="hljs-keyword">info</span> Color legend :
|
||||||
<span class="hljs-string">"<red>"</span> : Major <span class="hljs-keyword">Update</span> backward-incompatible updates
|
"<red>" : Major <span class="hljs-keyword">Update</span> backward-incompatible updates
|
||||||
<span class="hljs-string">"<yellow>"</span> : Minor <span class="hljs-keyword">Update</span> backward-compatible features
|
"<yellow>" : Minor <span class="hljs-keyword">Update</span> backward-compatible features
|
||||||
<span class="hljs-string">"<green>"</span> : Patch <span class="hljs-keyword">Update</span> backward-compatible bug fixes
|
"<green>" : Patch <span class="hljs-keyword">Update</span> backward-compatible bug fixes
|
||||||
Package Current Wanted Latest Package <span class="hljs-keyword">Type</span> URL
|
Package <span class="hljs-keyword">Current</span> Wanted Latest Package <span class="hljs-keyword">Type</span> URL
|
||||||
docusaurus 1.0.9 1.2.0 1.2.0 devDependencies https:<span class="hljs-comment">//github.com/facebook/Docusaurus#readme</span>
|
docusaurus <span class="hljs-number">1.0</span><span class="hljs-number">.9</span> <span class="hljs-number">1.2</span><span class="hljs-number">.0</span> <span class="hljs-number">1.2</span><span class="hljs-number">.0</span> devDependencies https://github.com/facebook/Docusaurus#readme
|
||||||
✨ Done <span class="hljs-keyword">in</span> 0.41s.
|
✨ Done <span class="hljs-keyword">in</span> <span class="hljs-number">0.41</span>s.
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<p>If there is no noticeable version output from the <code>outdated</code> commands, then you are up-to-date.</p>
|
<p>If there is no noticeable version output from the <code>outdated</code> commands, then you are up-to-date.</p>
|
||||||
|
|
|
@ -130,17 +130,17 @@ yarn start (or npm run start)
|
||||||
<p>After Docusaurus is installed, moving forward, you can check your current version of Docusaurus by going into the <code>website</code> directory and typing <code>yarn outdated docusaurus</code> or <code>npm outdated docusaurus</code>.</p>
|
<p>After Docusaurus is installed, moving forward, you can check your current version of Docusaurus by going into the <code>website</code> directory and typing <code>yarn outdated docusaurus</code> or <code>npm outdated docusaurus</code>.</p>
|
||||||
<p>You will see something like this:</p>
|
<p>You will see something like this:</p>
|
||||||
<pre><code class="hljs">$ yarn outdated
|
<pre><code class="hljs">$ yarn outdated
|
||||||
Using globally installed <span class="hljs-keyword">version</span> of Yarn
|
<span class="hljs-keyword">Using</span> globally installed <span class="hljs-keyword">version</span> <span class="hljs-keyword">of</span> Yarn
|
||||||
yarn outdated v1.5.1
|
yarn outdated v1<span class="hljs-number">.5</span><span class="hljs-number">.1</span>
|
||||||
warning package.json: <span class="hljs-keyword">No</span> license field
|
<span class="hljs-built_in">warning</span> package.json: <span class="hljs-keyword">No</span> license field
|
||||||
warning <span class="hljs-keyword">No</span> license field
|
<span class="hljs-built_in">warning</span> <span class="hljs-keyword">No</span> license field
|
||||||
info Color legend :
|
<span class="hljs-keyword">info</span> Color legend :
|
||||||
<span class="hljs-string">"<red>"</span> : Major <span class="hljs-keyword">Update</span> backward-incompatible updates
|
"<red>" : Major <span class="hljs-keyword">Update</span> backward-incompatible updates
|
||||||
<span class="hljs-string">"<yellow>"</span> : Minor <span class="hljs-keyword">Update</span> backward-compatible features
|
"<yellow>" : Minor <span class="hljs-keyword">Update</span> backward-compatible features
|
||||||
<span class="hljs-string">"<green>"</span> : Patch <span class="hljs-keyword">Update</span> backward-compatible bug fixes
|
"<green>" : Patch <span class="hljs-keyword">Update</span> backward-compatible bug fixes
|
||||||
Package Current Wanted Latest Package <span class="hljs-keyword">Type</span> URL
|
Package <span class="hljs-keyword">Current</span> Wanted Latest Package <span class="hljs-keyword">Type</span> URL
|
||||||
docusaurus 1.0.9 1.2.0 1.2.0 devDependencies https:<span class="hljs-comment">//github.com/facebook/Docusaurus#readme</span>
|
docusaurus <span class="hljs-number">1.0</span><span class="hljs-number">.9</span> <span class="hljs-number">1.2</span><span class="hljs-number">.0</span> <span class="hljs-number">1.2</span><span class="hljs-number">.0</span> devDependencies https://github.com/facebook/Docusaurus#readme
|
||||||
✨ Done <span class="hljs-keyword">in</span> 0.41s.
|
✨ Done <span class="hljs-keyword">in</span> <span class="hljs-number">0.41</span>s.
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<p>If there is no noticeable version output from the <code>outdated</code> commands, then you are up-to-date.</p>
|
<p>If there is no noticeable version output from the <code>outdated</code> commands, then you are up-to-date.</p>
|
||||||
|
|
|
@ -130,17 +130,17 @@ yarn start (or npm run start)
|
||||||
<p>After Docusaurus is installed, moving forward, you can check your current version of Docusaurus by going into the <code>website</code> directory and typing <code>yarn outdated docusaurus</code> or <code>npm outdated docusaurus</code>.</p>
|
<p>After Docusaurus is installed, moving forward, you can check your current version of Docusaurus by going into the <code>website</code> directory and typing <code>yarn outdated docusaurus</code> or <code>npm outdated docusaurus</code>.</p>
|
||||||
<p>You will see something like this:</p>
|
<p>You will see something like this:</p>
|
||||||
<pre><code class="hljs">$ yarn outdated
|
<pre><code class="hljs">$ yarn outdated
|
||||||
Using globally installed <span class="hljs-keyword">version</span> of Yarn
|
<span class="hljs-keyword">Using</span> globally installed <span class="hljs-keyword">version</span> <span class="hljs-keyword">of</span> Yarn
|
||||||
yarn outdated v1.5.1
|
yarn outdated v1<span class="hljs-number">.5</span><span class="hljs-number">.1</span>
|
||||||
warning package.json: <span class="hljs-keyword">No</span> license field
|
<span class="hljs-built_in">warning</span> package.json: <span class="hljs-keyword">No</span> license field
|
||||||
warning <span class="hljs-keyword">No</span> license field
|
<span class="hljs-built_in">warning</span> <span class="hljs-keyword">No</span> license field
|
||||||
info Color legend :
|
<span class="hljs-keyword">info</span> Color legend :
|
||||||
<span class="hljs-string">"<red>"</span> : Major <span class="hljs-keyword">Update</span> backward-incompatible updates
|
"<red>" : Major <span class="hljs-keyword">Update</span> backward-incompatible updates
|
||||||
<span class="hljs-string">"<yellow>"</span> : Minor <span class="hljs-keyword">Update</span> backward-compatible features
|
"<yellow>" : Minor <span class="hljs-keyword">Update</span> backward-compatible features
|
||||||
<span class="hljs-string">"<green>"</span> : Patch <span class="hljs-keyword">Update</span> backward-compatible bug fixes
|
"<green>" : Patch <span class="hljs-keyword">Update</span> backward-compatible bug fixes
|
||||||
Package Current Wanted Latest Package <span class="hljs-keyword">Type</span> URL
|
Package <span class="hljs-keyword">Current</span> Wanted Latest Package <span class="hljs-keyword">Type</span> URL
|
||||||
docusaurus 1.0.9 1.2.0 1.2.0 devDependencies https:<span class="hljs-comment">//github.com/facebook/Docusaurus#readme</span>
|
docusaurus <span class="hljs-number">1.0</span><span class="hljs-number">.9</span> <span class="hljs-number">1.2</span><span class="hljs-number">.0</span> <span class="hljs-number">1.2</span><span class="hljs-number">.0</span> devDependencies https://github.com/facebook/Docusaurus#readme
|
||||||
✨ Done <span class="hljs-keyword">in</span> 0.41s.
|
✨ Done <span class="hljs-keyword">in</span> <span class="hljs-number">0.41</span>s.
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<p>If there is no noticeable version output from the <code>outdated</code> commands, then you are up-to-date.</p>
|
<p>If there is no noticeable version output from the <code>outdated</code> commands, then you are up-to-date.</p>
|
||||||
|
|
|
@ -130,17 +130,17 @@ yarn start (or npm run start)
|
||||||
<p>After Docusaurus is installed, moving forward, you can check your current version of Docusaurus by going into the <code>website</code> directory and typing <code>yarn outdated docusaurus</code> or <code>npm outdated docusaurus</code>.</p>
|
<p>After Docusaurus is installed, moving forward, you can check your current version of Docusaurus by going into the <code>website</code> directory and typing <code>yarn outdated docusaurus</code> or <code>npm outdated docusaurus</code>.</p>
|
||||||
<p>You will see something like this:</p>
|
<p>You will see something like this:</p>
|
||||||
<pre><code class="hljs">$ yarn outdated
|
<pre><code class="hljs">$ yarn outdated
|
||||||
Using globally installed <span class="hljs-keyword">version</span> of Yarn
|
<span class="hljs-keyword">Using</span> globally installed <span class="hljs-keyword">version</span> <span class="hljs-keyword">of</span> Yarn
|
||||||
yarn outdated v1.5.1
|
yarn outdated v1<span class="hljs-number">.5</span><span class="hljs-number">.1</span>
|
||||||
warning package.json: <span class="hljs-keyword">No</span> license field
|
<span class="hljs-built_in">warning</span> package.json: <span class="hljs-keyword">No</span> license field
|
||||||
warning <span class="hljs-keyword">No</span> license field
|
<span class="hljs-built_in">warning</span> <span class="hljs-keyword">No</span> license field
|
||||||
info Color legend :
|
<span class="hljs-keyword">info</span> Color legend :
|
||||||
<span class="hljs-string">"<red>"</span> : Major <span class="hljs-keyword">Update</span> backward-incompatible updates
|
"<red>" : Major <span class="hljs-keyword">Update</span> backward-incompatible updates
|
||||||
<span class="hljs-string">"<yellow>"</span> : Minor <span class="hljs-keyword">Update</span> backward-compatible features
|
"<yellow>" : Minor <span class="hljs-keyword">Update</span> backward-compatible features
|
||||||
<span class="hljs-string">"<green>"</span> : Patch <span class="hljs-keyword">Update</span> backward-compatible bug fixes
|
"<green>" : Patch <span class="hljs-keyword">Update</span> backward-compatible bug fixes
|
||||||
Package Current Wanted Latest Package <span class="hljs-keyword">Type</span> URL
|
Package <span class="hljs-keyword">Current</span> Wanted Latest Package <span class="hljs-keyword">Type</span> URL
|
||||||
docusaurus 1.0.9 1.2.0 1.2.0 devDependencies https:<span class="hljs-comment">//github.com/facebook/Docusaurus#readme</span>
|
docusaurus <span class="hljs-number">1.0</span><span class="hljs-number">.9</span> <span class="hljs-number">1.2</span><span class="hljs-number">.0</span> <span class="hljs-number">1.2</span><span class="hljs-number">.0</span> devDependencies https://github.com/facebook/Docusaurus#readme
|
||||||
✨ Done <span class="hljs-keyword">in</span> 0.41s.
|
✨ Done <span class="hljs-keyword">in</span> <span class="hljs-number">0.41</span>s.
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<p>If there is no noticeable version output from the <code>outdated</code> commands, then you are up-to-date.</p>
|
<p>If there is no noticeable version output from the <code>outdated</code> commands, then you are up-to-date.</p>
|
||||||
|
|
|
@ -130,17 +130,17 @@ yarn start (or npm run start)
|
||||||
<p>After Docusaurus is installed, moving forward, you can check your current version of Docusaurus by going into the <code>website</code> directory and typing <code>yarn outdated docusaurus</code> or <code>npm outdated docusaurus</code>.</p>
|
<p>After Docusaurus is installed, moving forward, you can check your current version of Docusaurus by going into the <code>website</code> directory and typing <code>yarn outdated docusaurus</code> or <code>npm outdated docusaurus</code>.</p>
|
||||||
<p>You will see something like this:</p>
|
<p>You will see something like this:</p>
|
||||||
<pre><code class="hljs">$ yarn outdated
|
<pre><code class="hljs">$ yarn outdated
|
||||||
Using globally installed <span class="hljs-keyword">version</span> of Yarn
|
<span class="hljs-keyword">Using</span> globally installed <span class="hljs-keyword">version</span> <span class="hljs-keyword">of</span> Yarn
|
||||||
yarn outdated v1.5.1
|
yarn outdated v1<span class="hljs-number">.5</span><span class="hljs-number">.1</span>
|
||||||
warning package.json: <span class="hljs-keyword">No</span> license field
|
<span class="hljs-built_in">warning</span> package.json: <span class="hljs-keyword">No</span> license field
|
||||||
warning <span class="hljs-keyword">No</span> license field
|
<span class="hljs-built_in">warning</span> <span class="hljs-keyword">No</span> license field
|
||||||
info Color legend :
|
<span class="hljs-keyword">info</span> Color legend :
|
||||||
<span class="hljs-string">"<red>"</span> : Major <span class="hljs-keyword">Update</span> backward-incompatible updates
|
"<red>" : Major <span class="hljs-keyword">Update</span> backward-incompatible updates
|
||||||
<span class="hljs-string">"<yellow>"</span> : Minor <span class="hljs-keyword">Update</span> backward-compatible features
|
"<yellow>" : Minor <span class="hljs-keyword">Update</span> backward-compatible features
|
||||||
<span class="hljs-string">"<green>"</span> : Patch <span class="hljs-keyword">Update</span> backward-compatible bug fixes
|
"<green>" : Patch <span class="hljs-keyword">Update</span> backward-compatible bug fixes
|
||||||
Package Current Wanted Latest Package <span class="hljs-keyword">Type</span> URL
|
Package <span class="hljs-keyword">Current</span> Wanted Latest Package <span class="hljs-keyword">Type</span> URL
|
||||||
docusaurus 1.0.9 1.2.0 1.2.0 devDependencies https:<span class="hljs-comment">//github.com/facebook/Docusaurus#readme</span>
|
docusaurus <span class="hljs-number">1.0</span><span class="hljs-number">.9</span> <span class="hljs-number">1.2</span><span class="hljs-number">.0</span> <span class="hljs-number">1.2</span><span class="hljs-number">.0</span> devDependencies https://github.com/facebook/Docusaurus#readme
|
||||||
✨ Done <span class="hljs-keyword">in</span> 0.41s.
|
✨ Done <span class="hljs-keyword">in</span> <span class="hljs-number">0.41</span>s.
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<p>If there is no noticeable version output from the <code>outdated</code> commands, then you are up-to-date.</p>
|
<p>If there is no noticeable version output from the <code>outdated</code> commands, then you are up-to-date.</p>
|
||||||
|
|
|
@ -130,17 +130,17 @@ yarn start (or npm run start)
|
||||||
<p>After Docusaurus is installed, moving forward, you can check your current version of Docusaurus by going into the <code>website</code> directory and typing <code>yarn outdated docusaurus</code> or <code>npm outdated docusaurus</code>.</p>
|
<p>After Docusaurus is installed, moving forward, you can check your current version of Docusaurus by going into the <code>website</code> directory and typing <code>yarn outdated docusaurus</code> or <code>npm outdated docusaurus</code>.</p>
|
||||||
<p>You will see something like this:</p>
|
<p>You will see something like this:</p>
|
||||||
<pre><code class="hljs">$ yarn outdated
|
<pre><code class="hljs">$ yarn outdated
|
||||||
Using globally installed <span class="hljs-keyword">version</span> of Yarn
|
<span class="hljs-keyword">Using</span> globally installed <span class="hljs-keyword">version</span> <span class="hljs-keyword">of</span> Yarn
|
||||||
yarn outdated v1.5.1
|
yarn outdated v1<span class="hljs-number">.5</span><span class="hljs-number">.1</span>
|
||||||
warning package.json: <span class="hljs-keyword">No</span> license field
|
<span class="hljs-built_in">warning</span> package.json: <span class="hljs-keyword">No</span> license field
|
||||||
warning <span class="hljs-keyword">No</span> license field
|
<span class="hljs-built_in">warning</span> <span class="hljs-keyword">No</span> license field
|
||||||
info Color legend :
|
<span class="hljs-keyword">info</span> Color legend :
|
||||||
<span class="hljs-string">"<red>"</span> : Major <span class="hljs-keyword">Update</span> backward-incompatible updates
|
"<red>" : Major <span class="hljs-keyword">Update</span> backward-incompatible updates
|
||||||
<span class="hljs-string">"<yellow>"</span> : Minor <span class="hljs-keyword">Update</span> backward-compatible features
|
"<yellow>" : Minor <span class="hljs-keyword">Update</span> backward-compatible features
|
||||||
<span class="hljs-string">"<green>"</span> : Patch <span class="hljs-keyword">Update</span> backward-compatible bug fixes
|
"<green>" : Patch <span class="hljs-keyword">Update</span> backward-compatible bug fixes
|
||||||
Package Current Wanted Latest Package <span class="hljs-keyword">Type</span> URL
|
Package <span class="hljs-keyword">Current</span> Wanted Latest Package <span class="hljs-keyword">Type</span> URL
|
||||||
docusaurus 1.0.9 1.2.0 1.2.0 devDependencies https:<span class="hljs-comment">//github.com/facebook/Docusaurus#readme</span>
|
docusaurus <span class="hljs-number">1.0</span><span class="hljs-number">.9</span> <span class="hljs-number">1.2</span><span class="hljs-number">.0</span> <span class="hljs-number">1.2</span><span class="hljs-number">.0</span> devDependencies https://github.com/facebook/Docusaurus#readme
|
||||||
✨ Done <span class="hljs-keyword">in</span> 0.41s.
|
✨ Done <span class="hljs-keyword">in</span> <span class="hljs-number">0.41</span>s.
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<p>If there is no noticeable version output from the <code>outdated</code> commands, then you are up-to-date.</p>
|
<p>If there is no noticeable version output from the <code>outdated</code> commands, then you are up-to-date.</p>
|
||||||
|
|
|
@ -130,17 +130,17 @@ yarn start (or npm run start)
|
||||||
<p>After Docusaurus is installed, moving forward, you can check your current version of Docusaurus by going into the <code>website</code> directory and typing <code>yarn outdated docusaurus</code> or <code>npm outdated docusaurus</code>.</p>
|
<p>After Docusaurus is installed, moving forward, you can check your current version of Docusaurus by going into the <code>website</code> directory and typing <code>yarn outdated docusaurus</code> or <code>npm outdated docusaurus</code>.</p>
|
||||||
<p>You will see something like this:</p>
|
<p>You will see something like this:</p>
|
||||||
<pre><code class="hljs">$ yarn outdated
|
<pre><code class="hljs">$ yarn outdated
|
||||||
Using globally installed <span class="hljs-keyword">version</span> of Yarn
|
<span class="hljs-keyword">Using</span> globally installed <span class="hljs-keyword">version</span> <span class="hljs-keyword">of</span> Yarn
|
||||||
yarn outdated v1.5.1
|
yarn outdated v1<span class="hljs-number">.5</span><span class="hljs-number">.1</span>
|
||||||
warning package.json: <span class="hljs-keyword">No</span> license field
|
<span class="hljs-built_in">warning</span> package.json: <span class="hljs-keyword">No</span> license field
|
||||||
warning <span class="hljs-keyword">No</span> license field
|
<span class="hljs-built_in">warning</span> <span class="hljs-keyword">No</span> license field
|
||||||
info Color legend :
|
<span class="hljs-keyword">info</span> Color legend :
|
||||||
<span class="hljs-string">"<red>"</span> : Major <span class="hljs-keyword">Update</span> backward-incompatible updates
|
"<red>" : Major <span class="hljs-keyword">Update</span> backward-incompatible updates
|
||||||
<span class="hljs-string">"<yellow>"</span> : Minor <span class="hljs-keyword">Update</span> backward-compatible features
|
"<yellow>" : Minor <span class="hljs-keyword">Update</span> backward-compatible features
|
||||||
<span class="hljs-string">"<green>"</span> : Patch <span class="hljs-keyword">Update</span> backward-compatible bug fixes
|
"<green>" : Patch <span class="hljs-keyword">Update</span> backward-compatible bug fixes
|
||||||
Package Current Wanted Latest Package <span class="hljs-keyword">Type</span> URL
|
Package <span class="hljs-keyword">Current</span> Wanted Latest Package <span class="hljs-keyword">Type</span> URL
|
||||||
docusaurus 1.0.9 1.2.0 1.2.0 devDependencies https:<span class="hljs-comment">//github.com/facebook/Docusaurus#readme</span>
|
docusaurus <span class="hljs-number">1.0</span><span class="hljs-number">.9</span> <span class="hljs-number">1.2</span><span class="hljs-number">.0</span> <span class="hljs-number">1.2</span><span class="hljs-number">.0</span> devDependencies https://github.com/facebook/Docusaurus#readme
|
||||||
✨ Done <span class="hljs-keyword">in</span> 0.41s.
|
✨ Done <span class="hljs-keyword">in</span> <span class="hljs-number">0.41</span>s.
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<p>If there is no noticeable version output from the <code>outdated</code> commands, then you are up-to-date.</p>
|
<p>If there is no noticeable version output from the <code>outdated</code> commands, then you are up-to-date.</p>
|
||||||
|
|
|
@ -130,17 +130,17 @@ yarn start (or npm run start)
|
||||||
<p>After Docusaurus is installed, moving forward, you can check your current version of Docusaurus by going into the <code>website</code> directory and typing <code>yarn outdated docusaurus</code> or <code>npm outdated docusaurus</code>.</p>
|
<p>After Docusaurus is installed, moving forward, you can check your current version of Docusaurus by going into the <code>website</code> directory and typing <code>yarn outdated docusaurus</code> or <code>npm outdated docusaurus</code>.</p>
|
||||||
<p>You will see something like this:</p>
|
<p>You will see something like this:</p>
|
||||||
<pre><code class="hljs">$ yarn outdated
|
<pre><code class="hljs">$ yarn outdated
|
||||||
Using globally installed <span class="hljs-keyword">version</span> of Yarn
|
<span class="hljs-keyword">Using</span> globally installed <span class="hljs-keyword">version</span> <span class="hljs-keyword">of</span> Yarn
|
||||||
yarn outdated v1.5.1
|
yarn outdated v1<span class="hljs-number">.5</span><span class="hljs-number">.1</span>
|
||||||
warning package.json: <span class="hljs-keyword">No</span> license field
|
<span class="hljs-built_in">warning</span> package.json: <span class="hljs-keyword">No</span> license field
|
||||||
warning <span class="hljs-keyword">No</span> license field
|
<span class="hljs-built_in">warning</span> <span class="hljs-keyword">No</span> license field
|
||||||
info Color legend :
|
<span class="hljs-keyword">info</span> Color legend :
|
||||||
<span class="hljs-string">"<red>"</span> : Major <span class="hljs-keyword">Update</span> backward-incompatible updates
|
"<red>" : Major <span class="hljs-keyword">Update</span> backward-incompatible updates
|
||||||
<span class="hljs-string">"<yellow>"</span> : Minor <span class="hljs-keyword">Update</span> backward-compatible features
|
"<yellow>" : Minor <span class="hljs-keyword">Update</span> backward-compatible features
|
||||||
<span class="hljs-string">"<green>"</span> : Patch <span class="hljs-keyword">Update</span> backward-compatible bug fixes
|
"<green>" : Patch <span class="hljs-keyword">Update</span> backward-compatible bug fixes
|
||||||
Package Current Wanted Latest Package <span class="hljs-keyword">Type</span> URL
|
Package <span class="hljs-keyword">Current</span> Wanted Latest Package <span class="hljs-keyword">Type</span> URL
|
||||||
docusaurus 1.0.9 1.2.0 1.2.0 devDependencies https:<span class="hljs-comment">//github.com/facebook/Docusaurus#readme</span>
|
docusaurus <span class="hljs-number">1.0</span><span class="hljs-number">.9</span> <span class="hljs-number">1.2</span><span class="hljs-number">.0</span> <span class="hljs-number">1.2</span><span class="hljs-number">.0</span> devDependencies https://github.com/facebook/Docusaurus#readme
|
||||||
✨ Done <span class="hljs-keyword">in</span> 0.41s.
|
✨ Done <span class="hljs-keyword">in</span> <span class="hljs-number">0.41</span>s.
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<p>If there is no noticeable version output from the <code>outdated</code> commands, then you are up-to-date.</p>
|
<p>If there is no noticeable version output from the <code>outdated</code> commands, then you are up-to-date.</p>
|
||||||
|
|
|
@ -144,17 +144,17 @@ yarn start (or npm run start)
|
||||||
<p>At any time after Docusaurus is installed, you can check your current version of Docusaurus by going into the <code>website</code> directory and typing <code>yarn outdated docusaurus</code> or <code>npm outdated docusaurus</code>.</p>
|
<p>At any time after Docusaurus is installed, you can check your current version of Docusaurus by going into the <code>website</code> directory and typing <code>yarn outdated docusaurus</code> or <code>npm outdated docusaurus</code>.</p>
|
||||||
<p>You will see something like this:</p>
|
<p>You will see something like this:</p>
|
||||||
<pre><code class="hljs">$ yarn outdated
|
<pre><code class="hljs">$ yarn outdated
|
||||||
Using globally installed <span class="hljs-keyword">version</span> of Yarn
|
<span class="hljs-keyword">Using</span> globally installed <span class="hljs-keyword">version</span> <span class="hljs-keyword">of</span> Yarn
|
||||||
yarn outdated v1.5.1
|
yarn outdated v1<span class="hljs-number">.5</span><span class="hljs-number">.1</span>
|
||||||
warning package.json: <span class="hljs-keyword">No</span> license field
|
<span class="hljs-built_in">warning</span> package.json: <span class="hljs-keyword">No</span> license field
|
||||||
warning <span class="hljs-keyword">No</span> license field
|
<span class="hljs-built_in">warning</span> <span class="hljs-keyword">No</span> license field
|
||||||
info Color legend :
|
<span class="hljs-keyword">info</span> Color legend :
|
||||||
<span class="hljs-string">"<red>"</span> : Major <span class="hljs-keyword">Update</span> backward-incompatible updates
|
"<red>" : Major <span class="hljs-keyword">Update</span> backward-incompatible updates
|
||||||
<span class="hljs-string">"<yellow>"</span> : Minor <span class="hljs-keyword">Update</span> backward-compatible features
|
"<yellow>" : Minor <span class="hljs-keyword">Update</span> backward-compatible features
|
||||||
<span class="hljs-string">"<green>"</span> : Patch <span class="hljs-keyword">Update</span> backward-compatible bug fixes
|
"<green>" : Patch <span class="hljs-keyword">Update</span> backward-compatible bug fixes
|
||||||
Package Current Wanted Latest Package <span class="hljs-keyword">Type</span> URL
|
Package <span class="hljs-keyword">Current</span> Wanted Latest Package <span class="hljs-keyword">Type</span> URL
|
||||||
docusaurus 1.0.9 1.2.0 1.2.0 devDependencies https:<span class="hljs-comment">//github.com/facebook/Docusaurus#readme</span>
|
docusaurus <span class="hljs-number">1.0</span><span class="hljs-number">.9</span> <span class="hljs-number">1.2</span><span class="hljs-number">.0</span> <span class="hljs-number">1.2</span><span class="hljs-number">.0</span> devDependencies https://github.com/facebook/Docusaurus#readme
|
||||||
✨ Done <span class="hljs-keyword">in</span> 0.41s.
|
✨ Done <span class="hljs-keyword">in</span> <span class="hljs-number">0.41</span>s.
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<p>If there is no noticeable version output from the <code>outdated</code> commands, then you are up-to-date.</p>
|
<p>If there is no noticeable version output from the <code>outdated</code> commands, then you are up-to-date.</p>
|
||||||
|
|
|
@ -144,17 +144,17 @@ yarn start (or npm run start)
|
||||||
<p>At any time after Docusaurus is installed, you can check your current version of Docusaurus by going into the <code>website</code> directory and typing <code>yarn outdated docusaurus</code> or <code>npm outdated docusaurus</code>.</p>
|
<p>At any time after Docusaurus is installed, you can check your current version of Docusaurus by going into the <code>website</code> directory and typing <code>yarn outdated docusaurus</code> or <code>npm outdated docusaurus</code>.</p>
|
||||||
<p>You will see something like this:</p>
|
<p>You will see something like this:</p>
|
||||||
<pre><code class="hljs">$ yarn outdated
|
<pre><code class="hljs">$ yarn outdated
|
||||||
Using globally installed <span class="hljs-keyword">version</span> of Yarn
|
<span class="hljs-keyword">Using</span> globally installed <span class="hljs-keyword">version</span> <span class="hljs-keyword">of</span> Yarn
|
||||||
yarn outdated v1.5.1
|
yarn outdated v1<span class="hljs-number">.5</span><span class="hljs-number">.1</span>
|
||||||
warning package.json: <span class="hljs-keyword">No</span> license field
|
<span class="hljs-built_in">warning</span> package.json: <span class="hljs-keyword">No</span> license field
|
||||||
warning <span class="hljs-keyword">No</span> license field
|
<span class="hljs-built_in">warning</span> <span class="hljs-keyword">No</span> license field
|
||||||
info Color legend :
|
<span class="hljs-keyword">info</span> Color legend :
|
||||||
<span class="hljs-string">"<red>"</span> : Major <span class="hljs-keyword">Update</span> backward-incompatible updates
|
"<red>" : Major <span class="hljs-keyword">Update</span> backward-incompatible updates
|
||||||
<span class="hljs-string">"<yellow>"</span> : Minor <span class="hljs-keyword">Update</span> backward-compatible features
|
"<yellow>" : Minor <span class="hljs-keyword">Update</span> backward-compatible features
|
||||||
<span class="hljs-string">"<green>"</span> : Patch <span class="hljs-keyword">Update</span> backward-compatible bug fixes
|
"<green>" : Patch <span class="hljs-keyword">Update</span> backward-compatible bug fixes
|
||||||
Package Current Wanted Latest Package <span class="hljs-keyword">Type</span> URL
|
Package <span class="hljs-keyword">Current</span> Wanted Latest Package <span class="hljs-keyword">Type</span> URL
|
||||||
docusaurus 1.0.9 1.2.0 1.2.0 devDependencies https:<span class="hljs-comment">//github.com/facebook/Docusaurus#readme</span>
|
docusaurus <span class="hljs-number">1.0</span><span class="hljs-number">.9</span> <span class="hljs-number">1.2</span><span class="hljs-number">.0</span> <span class="hljs-number">1.2</span><span class="hljs-number">.0</span> devDependencies https://github.com/facebook/Docusaurus#readme
|
||||||
✨ Done <span class="hljs-keyword">in</span> 0.41s.
|
✨ Done <span class="hljs-keyword">in</span> <span class="hljs-number">0.41</span>s.
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<p>If there is no noticeable version output from the <code>outdated</code> commands, then you are up-to-date.</p>
|
<p>If there is no noticeable version output from the <code>outdated</code> commands, then you are up-to-date.</p>
|
||||||
|
|
|
@ -144,17 +144,17 @@ yarn start (or npm run start)
|
||||||
<p>At any time after Docusaurus is installed, you can check your current version of Docusaurus by going into the <code>website</code> directory and typing <code>yarn outdated docusaurus</code> or <code>npm outdated docusaurus</code>.</p>
|
<p>At any time after Docusaurus is installed, you can check your current version of Docusaurus by going into the <code>website</code> directory and typing <code>yarn outdated docusaurus</code> or <code>npm outdated docusaurus</code>.</p>
|
||||||
<p>You will see something like this:</p>
|
<p>You will see something like this:</p>
|
||||||
<pre><code class="hljs">$ yarn outdated
|
<pre><code class="hljs">$ yarn outdated
|
||||||
Using globally installed <span class="hljs-keyword">version</span> of Yarn
|
<span class="hljs-keyword">Using</span> globally installed <span class="hljs-keyword">version</span> <span class="hljs-keyword">of</span> Yarn
|
||||||
yarn outdated v1.5.1
|
yarn outdated v1<span class="hljs-number">.5</span><span class="hljs-number">.1</span>
|
||||||
warning package.json: <span class="hljs-keyword">No</span> license field
|
<span class="hljs-built_in">warning</span> package.json: <span class="hljs-keyword">No</span> license field
|
||||||
warning <span class="hljs-keyword">No</span> license field
|
<span class="hljs-built_in">warning</span> <span class="hljs-keyword">No</span> license field
|
||||||
info Color legend :
|
<span class="hljs-keyword">info</span> Color legend :
|
||||||
<span class="hljs-string">"<red>"</span> : Major <span class="hljs-keyword">Update</span> backward-incompatible updates
|
"<red>" : Major <span class="hljs-keyword">Update</span> backward-incompatible updates
|
||||||
<span class="hljs-string">"<yellow>"</span> : Minor <span class="hljs-keyword">Update</span> backward-compatible features
|
"<yellow>" : Minor <span class="hljs-keyword">Update</span> backward-compatible features
|
||||||
<span class="hljs-string">"<green>"</span> : Patch <span class="hljs-keyword">Update</span> backward-compatible bug fixes
|
"<green>" : Patch <span class="hljs-keyword">Update</span> backward-compatible bug fixes
|
||||||
Package Current Wanted Latest Package <span class="hljs-keyword">Type</span> URL
|
Package <span class="hljs-keyword">Current</span> Wanted Latest Package <span class="hljs-keyword">Type</span> URL
|
||||||
docusaurus 1.0.9 1.2.0 1.2.0 devDependencies https:<span class="hljs-comment">//github.com/facebook/Docusaurus#readme</span>
|
docusaurus <span class="hljs-number">1.0</span><span class="hljs-number">.9</span> <span class="hljs-number">1.2</span><span class="hljs-number">.0</span> <span class="hljs-number">1.2</span><span class="hljs-number">.0</span> devDependencies https://github.com/facebook/Docusaurus#readme
|
||||||
✨ Done <span class="hljs-keyword">in</span> 0.41s.
|
✨ Done <span class="hljs-keyword">in</span> <span class="hljs-number">0.41</span>s.
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<p>If there is no noticeable version output from the <code>outdated</code> commands, then you are up-to-date.</p>
|
<p>If there is no noticeable version output from the <code>outdated</code> commands, then you are up-to-date.</p>
|
||||||
|
|
|
@ -144,17 +144,17 @@ yarn start (or npm run start)
|
||||||
<p>At any time after Docusaurus is installed, you can check your current version of Docusaurus by going into the <code>website</code> directory and typing <code>yarn outdated docusaurus</code> or <code>npm outdated docusaurus</code>.</p>
|
<p>At any time after Docusaurus is installed, you can check your current version of Docusaurus by going into the <code>website</code> directory and typing <code>yarn outdated docusaurus</code> or <code>npm outdated docusaurus</code>.</p>
|
||||||
<p>You will see something like this:</p>
|
<p>You will see something like this:</p>
|
||||||
<pre><code class="hljs">$ yarn outdated
|
<pre><code class="hljs">$ yarn outdated
|
||||||
Using globally installed <span class="hljs-keyword">version</span> of Yarn
|
<span class="hljs-keyword">Using</span> globally installed <span class="hljs-keyword">version</span> <span class="hljs-keyword">of</span> Yarn
|
||||||
yarn outdated v1.5.1
|
yarn outdated v1<span class="hljs-number">.5</span><span class="hljs-number">.1</span>
|
||||||
warning package.json: <span class="hljs-keyword">No</span> license field
|
<span class="hljs-built_in">warning</span> package.json: <span class="hljs-keyword">No</span> license field
|
||||||
warning <span class="hljs-keyword">No</span> license field
|
<span class="hljs-built_in">warning</span> <span class="hljs-keyword">No</span> license field
|
||||||
info Color legend :
|
<span class="hljs-keyword">info</span> Color legend :
|
||||||
<span class="hljs-string">"<red>"</span> : Major <span class="hljs-keyword">Update</span> backward-incompatible updates
|
"<red>" : Major <span class="hljs-keyword">Update</span> backward-incompatible updates
|
||||||
<span class="hljs-string">"<yellow>"</span> : Minor <span class="hljs-keyword">Update</span> backward-compatible features
|
"<yellow>" : Minor <span class="hljs-keyword">Update</span> backward-compatible features
|
||||||
<span class="hljs-string">"<green>"</span> : Patch <span class="hljs-keyword">Update</span> backward-compatible bug fixes
|
"<green>" : Patch <span class="hljs-keyword">Update</span> backward-compatible bug fixes
|
||||||
Package Current Wanted Latest Package <span class="hljs-keyword">Type</span> URL
|
Package <span class="hljs-keyword">Current</span> Wanted Latest Package <span class="hljs-keyword">Type</span> URL
|
||||||
docusaurus 1.0.9 1.2.0 1.2.0 devDependencies https:<span class="hljs-comment">//github.com/facebook/Docusaurus#readme</span>
|
docusaurus <span class="hljs-number">1.0</span><span class="hljs-number">.9</span> <span class="hljs-number">1.2</span><span class="hljs-number">.0</span> <span class="hljs-number">1.2</span><span class="hljs-number">.0</span> devDependencies https://github.com/facebook/Docusaurus#readme
|
||||||
✨ Done <span class="hljs-keyword">in</span> 0.41s.
|
✨ Done <span class="hljs-keyword">in</span> <span class="hljs-number">0.41</span>s.
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<p>If there is no noticeable version output from the <code>outdated</code> commands, then you are up-to-date.</p>
|
<p>If there is no noticeable version output from the <code>outdated</code> commands, then you are up-to-date.</p>
|
||||||
|
|
|
@ -144,17 +144,17 @@ yarn start (or npm run start)
|
||||||
<p>At any time after Docusaurus is installed, you can check your current version of Docusaurus by going into the <code>website</code> directory and typing <code>yarn outdated docusaurus</code> or <code>npm outdated docusaurus</code>.</p>
|
<p>At any time after Docusaurus is installed, you can check your current version of Docusaurus by going into the <code>website</code> directory and typing <code>yarn outdated docusaurus</code> or <code>npm outdated docusaurus</code>.</p>
|
||||||
<p>You will see something like this:</p>
|
<p>You will see something like this:</p>
|
||||||
<pre><code class="hljs">$ yarn outdated
|
<pre><code class="hljs">$ yarn outdated
|
||||||
Using globally installed <span class="hljs-keyword">version</span> of Yarn
|
<span class="hljs-keyword">Using</span> globally installed <span class="hljs-keyword">version</span> <span class="hljs-keyword">of</span> Yarn
|
||||||
yarn outdated v1.5.1
|
yarn outdated v1<span class="hljs-number">.5</span><span class="hljs-number">.1</span>
|
||||||
warning package.json: <span class="hljs-keyword">No</span> license field
|
<span class="hljs-built_in">warning</span> package.json: <span class="hljs-keyword">No</span> license field
|
||||||
warning <span class="hljs-keyword">No</span> license field
|
<span class="hljs-built_in">warning</span> <span class="hljs-keyword">No</span> license field
|
||||||
info Color legend :
|
<span class="hljs-keyword">info</span> Color legend :
|
||||||
<span class="hljs-string">"<red>"</span> : Major <span class="hljs-keyword">Update</span> backward-incompatible updates
|
"<red>" : Major <span class="hljs-keyword">Update</span> backward-incompatible updates
|
||||||
<span class="hljs-string">"<yellow>"</span> : Minor <span class="hljs-keyword">Update</span> backward-compatible features
|
"<yellow>" : Minor <span class="hljs-keyword">Update</span> backward-compatible features
|
||||||
<span class="hljs-string">"<green>"</span> : Patch <span class="hljs-keyword">Update</span> backward-compatible bug fixes
|
"<green>" : Patch <span class="hljs-keyword">Update</span> backward-compatible bug fixes
|
||||||
Package Current Wanted Latest Package <span class="hljs-keyword">Type</span> URL
|
Package <span class="hljs-keyword">Current</span> Wanted Latest Package <span class="hljs-keyword">Type</span> URL
|
||||||
docusaurus 1.0.9 1.2.0 1.2.0 devDependencies https:<span class="hljs-comment">//github.com/facebook/Docusaurus#readme</span>
|
docusaurus <span class="hljs-number">1.0</span><span class="hljs-number">.9</span> <span class="hljs-number">1.2</span><span class="hljs-number">.0</span> <span class="hljs-number">1.2</span><span class="hljs-number">.0</span> devDependencies https://github.com/facebook/Docusaurus#readme
|
||||||
✨ Done <span class="hljs-keyword">in</span> 0.41s.
|
✨ Done <span class="hljs-keyword">in</span> <span class="hljs-number">0.41</span>s.
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<p>If there is no noticeable version output from the <code>outdated</code> commands, then you are up-to-date.</p>
|
<p>If there is no noticeable version output from the <code>outdated</code> commands, then you are up-to-date.</p>
|
||||||
|
|
|
@ -144,17 +144,17 @@ yarn start (or npm run start)
|
||||||
<p>At any time after Docusaurus is installed, you can check your current version of Docusaurus by going into the <code>website</code> directory and typing <code>yarn outdated docusaurus</code> or <code>npm outdated docusaurus</code>.</p>
|
<p>At any time after Docusaurus is installed, you can check your current version of Docusaurus by going into the <code>website</code> directory and typing <code>yarn outdated docusaurus</code> or <code>npm outdated docusaurus</code>.</p>
|
||||||
<p>You will see something like this:</p>
|
<p>You will see something like this:</p>
|
||||||
<pre><code class="hljs">$ yarn outdated
|
<pre><code class="hljs">$ yarn outdated
|
||||||
Using globally installed <span class="hljs-keyword">version</span> of Yarn
|
<span class="hljs-keyword">Using</span> globally installed <span class="hljs-keyword">version</span> <span class="hljs-keyword">of</span> Yarn
|
||||||
yarn outdated v1.5.1
|
yarn outdated v1<span class="hljs-number">.5</span><span class="hljs-number">.1</span>
|
||||||
warning package.json: <span class="hljs-keyword">No</span> license field
|
<span class="hljs-built_in">warning</span> package.json: <span class="hljs-keyword">No</span> license field
|
||||||
warning <span class="hljs-keyword">No</span> license field
|
<span class="hljs-built_in">warning</span> <span class="hljs-keyword">No</span> license field
|
||||||
info Color legend :
|
<span class="hljs-keyword">info</span> Color legend :
|
||||||
<span class="hljs-string">"<red>"</span> : Major <span class="hljs-keyword">Update</span> backward-incompatible updates
|
"<red>" : Major <span class="hljs-keyword">Update</span> backward-incompatible updates
|
||||||
<span class="hljs-string">"<yellow>"</span> : Minor <span class="hljs-keyword">Update</span> backward-compatible features
|
"<yellow>" : Minor <span class="hljs-keyword">Update</span> backward-compatible features
|
||||||
<span class="hljs-string">"<green>"</span> : Patch <span class="hljs-keyword">Update</span> backward-compatible bug fixes
|
"<green>" : Patch <span class="hljs-keyword">Update</span> backward-compatible bug fixes
|
||||||
Package Current Wanted Latest Package <span class="hljs-keyword">Type</span> URL
|
Package <span class="hljs-keyword">Current</span> Wanted Latest Package <span class="hljs-keyword">Type</span> URL
|
||||||
docusaurus 1.0.9 1.2.0 1.2.0 devDependencies https:<span class="hljs-comment">//github.com/facebook/Docusaurus#readme</span>
|
docusaurus <span class="hljs-number">1.0</span><span class="hljs-number">.9</span> <span class="hljs-number">1.2</span><span class="hljs-number">.0</span> <span class="hljs-number">1.2</span><span class="hljs-number">.0</span> devDependencies https://github.com/facebook/Docusaurus#readme
|
||||||
✨ Done <span class="hljs-keyword">in</span> 0.41s.
|
✨ Done <span class="hljs-keyword">in</span> <span class="hljs-number">0.41</span>s.
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<p>If there is no noticeable version output from the <code>outdated</code> commands, then you are up-to-date.</p>
|
<p>If there is no noticeable version output from the <code>outdated</code> commands, then you are up-to-date.</p>
|
||||||
|
|
|
@ -144,17 +144,17 @@ yarn start (or npm run start)
|
||||||
<p>At any time after Docusaurus is installed, you can check your current version of Docusaurus by going into the <code>website</code> directory and typing <code>yarn outdated docusaurus</code> or <code>npm outdated docusaurus</code>.</p>
|
<p>At any time after Docusaurus is installed, you can check your current version of Docusaurus by going into the <code>website</code> directory and typing <code>yarn outdated docusaurus</code> or <code>npm outdated docusaurus</code>.</p>
|
||||||
<p>You will see something like this:</p>
|
<p>You will see something like this:</p>
|
||||||
<pre><code class="hljs">$ yarn outdated
|
<pre><code class="hljs">$ yarn outdated
|
||||||
Using globally installed <span class="hljs-keyword">version</span> of Yarn
|
<span class="hljs-keyword">Using</span> globally installed <span class="hljs-keyword">version</span> <span class="hljs-keyword">of</span> Yarn
|
||||||
yarn outdated v1.5.1
|
yarn outdated v1<span class="hljs-number">.5</span><span class="hljs-number">.1</span>
|
||||||
warning package.json: <span class="hljs-keyword">No</span> license field
|
<span class="hljs-built_in">warning</span> package.json: <span class="hljs-keyword">No</span> license field
|
||||||
warning <span class="hljs-keyword">No</span> license field
|
<span class="hljs-built_in">warning</span> <span class="hljs-keyword">No</span> license field
|
||||||
info Color legend :
|
<span class="hljs-keyword">info</span> Color legend :
|
||||||
<span class="hljs-string">"<red>"</span> : Major <span class="hljs-keyword">Update</span> backward-incompatible updates
|
"<red>" : Major <span class="hljs-keyword">Update</span> backward-incompatible updates
|
||||||
<span class="hljs-string">"<yellow>"</span> : Minor <span class="hljs-keyword">Update</span> backward-compatible features
|
"<yellow>" : Minor <span class="hljs-keyword">Update</span> backward-compatible features
|
||||||
<span class="hljs-string">"<green>"</span> : Patch <span class="hljs-keyword">Update</span> backward-compatible bug fixes
|
"<green>" : Patch <span class="hljs-keyword">Update</span> backward-compatible bug fixes
|
||||||
Package Current Wanted Latest Package <span class="hljs-keyword">Type</span> URL
|
Package <span class="hljs-keyword">Current</span> Wanted Latest Package <span class="hljs-keyword">Type</span> URL
|
||||||
docusaurus 1.0.9 1.2.0 1.2.0 devDependencies https:<span class="hljs-comment">//github.com/facebook/Docusaurus#readme</span>
|
docusaurus <span class="hljs-number">1.0</span><span class="hljs-number">.9</span> <span class="hljs-number">1.2</span><span class="hljs-number">.0</span> <span class="hljs-number">1.2</span><span class="hljs-number">.0</span> devDependencies https://github.com/facebook/Docusaurus#readme
|
||||||
✨ Done <span class="hljs-keyword">in</span> 0.41s.
|
✨ Done <span class="hljs-keyword">in</span> <span class="hljs-number">0.41</span>s.
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<p>If there is no noticeable version output from the <code>outdated</code> commands, then you are up-to-date.</p>
|
<p>If there is no noticeable version output from the <code>outdated</code> commands, then you are up-to-date.</p>
|
||||||
|
|
|
@ -144,17 +144,17 @@ yarn start (or npm run start)
|
||||||
<p>At any time after Docusaurus is installed, you can check your current version of Docusaurus by going into the <code>website</code> directory and typing <code>yarn outdated docusaurus</code> or <code>npm outdated docusaurus</code>.</p>
|
<p>At any time after Docusaurus is installed, you can check your current version of Docusaurus by going into the <code>website</code> directory and typing <code>yarn outdated docusaurus</code> or <code>npm outdated docusaurus</code>.</p>
|
||||||
<p>You will see something like this:</p>
|
<p>You will see something like this:</p>
|
||||||
<pre><code class="hljs">$ yarn outdated
|
<pre><code class="hljs">$ yarn outdated
|
||||||
Using globally installed <span class="hljs-keyword">version</span> of Yarn
|
<span class="hljs-keyword">Using</span> globally installed <span class="hljs-keyword">version</span> <span class="hljs-keyword">of</span> Yarn
|
||||||
yarn outdated v1.5.1
|
yarn outdated v1<span class="hljs-number">.5</span><span class="hljs-number">.1</span>
|
||||||
warning package.json: <span class="hljs-keyword">No</span> license field
|
<span class="hljs-built_in">warning</span> package.json: <span class="hljs-keyword">No</span> license field
|
||||||
warning <span class="hljs-keyword">No</span> license field
|
<span class="hljs-built_in">warning</span> <span class="hljs-keyword">No</span> license field
|
||||||
info Color legend :
|
<span class="hljs-keyword">info</span> Color legend :
|
||||||
<span class="hljs-string">"<red>"</span> : Major <span class="hljs-keyword">Update</span> backward-incompatible updates
|
"<red>" : Major <span class="hljs-keyword">Update</span> backward-incompatible updates
|
||||||
<span class="hljs-string">"<yellow>"</span> : Minor <span class="hljs-keyword">Update</span> backward-compatible features
|
"<yellow>" : Minor <span class="hljs-keyword">Update</span> backward-compatible features
|
||||||
<span class="hljs-string">"<green>"</span> : Patch <span class="hljs-keyword">Update</span> backward-compatible bug fixes
|
"<green>" : Patch <span class="hljs-keyword">Update</span> backward-compatible bug fixes
|
||||||
Package Current Wanted Latest Package <span class="hljs-keyword">Type</span> URL
|
Package <span class="hljs-keyword">Current</span> Wanted Latest Package <span class="hljs-keyword">Type</span> URL
|
||||||
docusaurus 1.0.9 1.2.0 1.2.0 devDependencies https:<span class="hljs-comment">//github.com/facebook/Docusaurus#readme</span>
|
docusaurus <span class="hljs-number">1.0</span><span class="hljs-number">.9</span> <span class="hljs-number">1.2</span><span class="hljs-number">.0</span> <span class="hljs-number">1.2</span><span class="hljs-number">.0</span> devDependencies https://github.com/facebook/Docusaurus#readme
|
||||||
✨ Done <span class="hljs-keyword">in</span> 0.41s.
|
✨ Done <span class="hljs-keyword">in</span> <span class="hljs-number">0.41</span>s.
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<p>If there is no noticeable version output from the <code>outdated</code> commands, then you are up-to-date.</p>
|
<p>If there is no noticeable version output from the <code>outdated</code> commands, then you are up-to-date.</p>
|
||||||
|
|
|
@ -144,17 +144,17 @@ yarn start (or npm run start)
|
||||||
<p>At any time after Docusaurus is installed, you can check your current version of Docusaurus by going into the <code>website</code> directory and typing <code>yarn outdated docusaurus</code> or <code>npm outdated docusaurus</code>.</p>
|
<p>At any time after Docusaurus is installed, you can check your current version of Docusaurus by going into the <code>website</code> directory and typing <code>yarn outdated docusaurus</code> or <code>npm outdated docusaurus</code>.</p>
|
||||||
<p>You will see something like this:</p>
|
<p>You will see something like this:</p>
|
||||||
<pre><code class="hljs">$ yarn outdated
|
<pre><code class="hljs">$ yarn outdated
|
||||||
Using globally installed <span class="hljs-keyword">version</span> of Yarn
|
<span class="hljs-keyword">Using</span> globally installed <span class="hljs-keyword">version</span> <span class="hljs-keyword">of</span> Yarn
|
||||||
yarn outdated v1.5.1
|
yarn outdated v1<span class="hljs-number">.5</span><span class="hljs-number">.1</span>
|
||||||
warning package.json: <span class="hljs-keyword">No</span> license field
|
<span class="hljs-built_in">warning</span> package.json: <span class="hljs-keyword">No</span> license field
|
||||||
warning <span class="hljs-keyword">No</span> license field
|
<span class="hljs-built_in">warning</span> <span class="hljs-keyword">No</span> license field
|
||||||
info Color legend :
|
<span class="hljs-keyword">info</span> Color legend :
|
||||||
<span class="hljs-string">"<red>"</span> : Major <span class="hljs-keyword">Update</span> backward-incompatible updates
|
"<red>" : Major <span class="hljs-keyword">Update</span> backward-incompatible updates
|
||||||
<span class="hljs-string">"<yellow>"</span> : Minor <span class="hljs-keyword">Update</span> backward-compatible features
|
"<yellow>" : Minor <span class="hljs-keyword">Update</span> backward-compatible features
|
||||||
<span class="hljs-string">"<green>"</span> : Patch <span class="hljs-keyword">Update</span> backward-compatible bug fixes
|
"<green>" : Patch <span class="hljs-keyword">Update</span> backward-compatible bug fixes
|
||||||
Package Current Wanted Latest Package <span class="hljs-keyword">Type</span> URL
|
Package <span class="hljs-keyword">Current</span> Wanted Latest Package <span class="hljs-keyword">Type</span> URL
|
||||||
docusaurus 1.0.9 1.2.0 1.2.0 devDependencies https:<span class="hljs-comment">//github.com/facebook/Docusaurus#readme</span>
|
docusaurus <span class="hljs-number">1.0</span><span class="hljs-number">.9</span> <span class="hljs-number">1.2</span><span class="hljs-number">.0</span> <span class="hljs-number">1.2</span><span class="hljs-number">.0</span> devDependencies https://github.com/facebook/Docusaurus#readme
|
||||||
✨ Done <span class="hljs-keyword">in</span> 0.41s.
|
✨ Done <span class="hljs-keyword">in</span> <span class="hljs-number">0.41</span>s.
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<p>If there is no noticeable version output from the <code>outdated</code> commands, then you are up-to-date.</p>
|
<p>If there is no noticeable version output from the <code>outdated</code> commands, then you are up-to-date.</p>
|
||||||
|
|
|
@ -144,17 +144,17 @@ yarn start (or npm run start)
|
||||||
<p>At any time after Docusaurus is installed, you can check your current version of Docusaurus by going into the <code>website</code> directory and typing <code>yarn outdated docusaurus</code> or <code>npm outdated docusaurus</code>.</p>
|
<p>At any time after Docusaurus is installed, you can check your current version of Docusaurus by going into the <code>website</code> directory and typing <code>yarn outdated docusaurus</code> or <code>npm outdated docusaurus</code>.</p>
|
||||||
<p>You will see something like this:</p>
|
<p>You will see something like this:</p>
|
||||||
<pre><code class="hljs">$ yarn outdated
|
<pre><code class="hljs">$ yarn outdated
|
||||||
Using globally installed <span class="hljs-keyword">version</span> of Yarn
|
<span class="hljs-keyword">Using</span> globally installed <span class="hljs-keyword">version</span> <span class="hljs-keyword">of</span> Yarn
|
||||||
yarn outdated v1.5.1
|
yarn outdated v1<span class="hljs-number">.5</span><span class="hljs-number">.1</span>
|
||||||
warning package.json: <span class="hljs-keyword">No</span> license field
|
<span class="hljs-built_in">warning</span> package.json: <span class="hljs-keyword">No</span> license field
|
||||||
warning <span class="hljs-keyword">No</span> license field
|
<span class="hljs-built_in">warning</span> <span class="hljs-keyword">No</span> license field
|
||||||
info Color legend :
|
<span class="hljs-keyword">info</span> Color legend :
|
||||||
<span class="hljs-string">"<red>"</span> : Major <span class="hljs-keyword">Update</span> backward-incompatible updates
|
"<red>" : Major <span class="hljs-keyword">Update</span> backward-incompatible updates
|
||||||
<span class="hljs-string">"<yellow>"</span> : Minor <span class="hljs-keyword">Update</span> backward-compatible features
|
"<yellow>" : Minor <span class="hljs-keyword">Update</span> backward-compatible features
|
||||||
<span class="hljs-string">"<green>"</span> : Patch <span class="hljs-keyword">Update</span> backward-compatible bug fixes
|
"<green>" : Patch <span class="hljs-keyword">Update</span> backward-compatible bug fixes
|
||||||
Package Current Wanted Latest Package <span class="hljs-keyword">Type</span> URL
|
Package <span class="hljs-keyword">Current</span> Wanted Latest Package <span class="hljs-keyword">Type</span> URL
|
||||||
docusaurus 1.0.9 1.2.0 1.2.0 devDependencies https:<span class="hljs-comment">//github.com/facebook/Docusaurus#readme</span>
|
docusaurus <span class="hljs-number">1.0</span><span class="hljs-number">.9</span> <span class="hljs-number">1.2</span><span class="hljs-number">.0</span> <span class="hljs-number">1.2</span><span class="hljs-number">.0</span> devDependencies https://github.com/facebook/Docusaurus#readme
|
||||||
✨ Done <span class="hljs-keyword">in</span> 0.41s.
|
✨ Done <span class="hljs-keyword">in</span> <span class="hljs-number">0.41</span>s.
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<p>If there is no noticeable version output from the <code>outdated</code> commands, then you are up-to-date.</p>
|
<p>If there is no noticeable version output from the <code>outdated</code> commands, then you are up-to-date.</p>
|
||||||
|
|
|
@ -144,17 +144,17 @@ yarn start (or npm run start)
|
||||||
<p>At any time after Docusaurus is installed, you can check your current version of Docusaurus by going into the <code>website</code> directory and typing <code>yarn outdated docusaurus</code> or <code>npm outdated docusaurus</code>.</p>
|
<p>At any time after Docusaurus is installed, you can check your current version of Docusaurus by going into the <code>website</code> directory and typing <code>yarn outdated docusaurus</code> or <code>npm outdated docusaurus</code>.</p>
|
||||||
<p>You will see something like this:</p>
|
<p>You will see something like this:</p>
|
||||||
<pre><code class="hljs">$ yarn outdated
|
<pre><code class="hljs">$ yarn outdated
|
||||||
Using globally installed <span class="hljs-keyword">version</span> of Yarn
|
<span class="hljs-keyword">Using</span> globally installed <span class="hljs-keyword">version</span> <span class="hljs-keyword">of</span> Yarn
|
||||||
yarn outdated v1.5.1
|
yarn outdated v1<span class="hljs-number">.5</span><span class="hljs-number">.1</span>
|
||||||
warning package.json: <span class="hljs-keyword">No</span> license field
|
<span class="hljs-built_in">warning</span> package.json: <span class="hljs-keyword">No</span> license field
|
||||||
warning <span class="hljs-keyword">No</span> license field
|
<span class="hljs-built_in">warning</span> <span class="hljs-keyword">No</span> license field
|
||||||
info Color legend :
|
<span class="hljs-keyword">info</span> Color legend :
|
||||||
<span class="hljs-string">"<red>"</span> : Major <span class="hljs-keyword">Update</span> backward-incompatible updates
|
"<red>" : Major <span class="hljs-keyword">Update</span> backward-incompatible updates
|
||||||
<span class="hljs-string">"<yellow>"</span> : Minor <span class="hljs-keyword">Update</span> backward-compatible features
|
"<yellow>" : Minor <span class="hljs-keyword">Update</span> backward-compatible features
|
||||||
<span class="hljs-string">"<green>"</span> : Patch <span class="hljs-keyword">Update</span> backward-compatible bug fixes
|
"<green>" : Patch <span class="hljs-keyword">Update</span> backward-compatible bug fixes
|
||||||
Package Current Wanted Latest Package <span class="hljs-keyword">Type</span> URL
|
Package <span class="hljs-keyword">Current</span> Wanted Latest Package <span class="hljs-keyword">Type</span> URL
|
||||||
docusaurus 1.0.9 1.2.0 1.2.0 devDependencies https:<span class="hljs-comment">//github.com/facebook/Docusaurus#readme</span>
|
docusaurus <span class="hljs-number">1.0</span><span class="hljs-number">.9</span> <span class="hljs-number">1.2</span><span class="hljs-number">.0</span> <span class="hljs-number">1.2</span><span class="hljs-number">.0</span> devDependencies https://github.com/facebook/Docusaurus#readme
|
||||||
✨ Done <span class="hljs-keyword">in</span> 0.41s.
|
✨ Done <span class="hljs-keyword">in</span> <span class="hljs-number">0.41</span>s.
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<p>If there is no noticeable version output from the <code>outdated</code> commands, then you are up-to-date.</p>
|
<p>If there is no noticeable version output from the <code>outdated</code> commands, then you are up-to-date.</p>
|
||||||
|
|
|
@ -144,17 +144,17 @@ yarn start (or npm run start)
|
||||||
<p>At any time after Docusaurus is installed, you can check your current version of Docusaurus by going into the <code>website</code> directory and typing <code>yarn outdated docusaurus</code> or <code>npm outdated docusaurus</code>.</p>
|
<p>At any time after Docusaurus is installed, you can check your current version of Docusaurus by going into the <code>website</code> directory and typing <code>yarn outdated docusaurus</code> or <code>npm outdated docusaurus</code>.</p>
|
||||||
<p>You will see something like this:</p>
|
<p>You will see something like this:</p>
|
||||||
<pre><code class="hljs">$ yarn outdated
|
<pre><code class="hljs">$ yarn outdated
|
||||||
Using globally installed <span class="hljs-keyword">version</span> of Yarn
|
<span class="hljs-keyword">Using</span> globally installed <span class="hljs-keyword">version</span> <span class="hljs-keyword">of</span> Yarn
|
||||||
yarn outdated v1.5.1
|
yarn outdated v1<span class="hljs-number">.5</span><span class="hljs-number">.1</span>
|
||||||
warning package.json: <span class="hljs-keyword">No</span> license field
|
<span class="hljs-built_in">warning</span> package.json: <span class="hljs-keyword">No</span> license field
|
||||||
warning <span class="hljs-keyword">No</span> license field
|
<span class="hljs-built_in">warning</span> <span class="hljs-keyword">No</span> license field
|
||||||
info Color legend :
|
<span class="hljs-keyword">info</span> Color legend :
|
||||||
<span class="hljs-string">"<red>"</span> : Major <span class="hljs-keyword">Update</span> backward-incompatible updates
|
"<red>" : Major <span class="hljs-keyword">Update</span> backward-incompatible updates
|
||||||
<span class="hljs-string">"<yellow>"</span> : Minor <span class="hljs-keyword">Update</span> backward-compatible features
|
"<yellow>" : Minor <span class="hljs-keyword">Update</span> backward-compatible features
|
||||||
<span class="hljs-string">"<green>"</span> : Patch <span class="hljs-keyword">Update</span> backward-compatible bug fixes
|
"<green>" : Patch <span class="hljs-keyword">Update</span> backward-compatible bug fixes
|
||||||
Package Current Wanted Latest Package <span class="hljs-keyword">Type</span> URL
|
Package <span class="hljs-keyword">Current</span> Wanted Latest Package <span class="hljs-keyword">Type</span> URL
|
||||||
docusaurus 1.0.9 1.2.0 1.2.0 devDependencies https:<span class="hljs-comment">//github.com/facebook/Docusaurus#readme</span>
|
docusaurus <span class="hljs-number">1.0</span><span class="hljs-number">.9</span> <span class="hljs-number">1.2</span><span class="hljs-number">.0</span> <span class="hljs-number">1.2</span><span class="hljs-number">.0</span> devDependencies https://github.com/facebook/Docusaurus#readme
|
||||||
✨ Done <span class="hljs-keyword">in</span> 0.41s.
|
✨ Done <span class="hljs-keyword">in</span> <span class="hljs-number">0.41</span>s.
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<p>If there is no noticeable version output from the <code>outdated</code> commands, then you are up-to-date.</p>
|
<p>If there is no noticeable version output from the <code>outdated</code> commands, then you are up-to-date.</p>
|
||||||
|
|
|
@ -144,17 +144,17 @@ yarn start (or npm run start)
|
||||||
<p>At any time after Docusaurus is installed, you can check your current version of Docusaurus by going into the <code>website</code> directory and typing <code>yarn outdated docusaurus</code> or <code>npm outdated docusaurus</code>.</p>
|
<p>At any time after Docusaurus is installed, you can check your current version of Docusaurus by going into the <code>website</code> directory and typing <code>yarn outdated docusaurus</code> or <code>npm outdated docusaurus</code>.</p>
|
||||||
<p>You will see something like this:</p>
|
<p>You will see something like this:</p>
|
||||||
<pre><code class="hljs">$ yarn outdated
|
<pre><code class="hljs">$ yarn outdated
|
||||||
Using globally installed <span class="hljs-keyword">version</span> of Yarn
|
<span class="hljs-keyword">Using</span> globally installed <span class="hljs-keyword">version</span> <span class="hljs-keyword">of</span> Yarn
|
||||||
yarn outdated v1.5.1
|
yarn outdated v1<span class="hljs-number">.5</span><span class="hljs-number">.1</span>
|
||||||
warning package.json: <span class="hljs-keyword">No</span> license field
|
<span class="hljs-built_in">warning</span> package.json: <span class="hljs-keyword">No</span> license field
|
||||||
warning <span class="hljs-keyword">No</span> license field
|
<span class="hljs-built_in">warning</span> <span class="hljs-keyword">No</span> license field
|
||||||
info Color legend :
|
<span class="hljs-keyword">info</span> Color legend :
|
||||||
<span class="hljs-string">"<red>"</span> : Major <span class="hljs-keyword">Update</span> backward-incompatible updates
|
"<red>" : Major <span class="hljs-keyword">Update</span> backward-incompatible updates
|
||||||
<span class="hljs-string">"<yellow>"</span> : Minor <span class="hljs-keyword">Update</span> backward-compatible features
|
"<yellow>" : Minor <span class="hljs-keyword">Update</span> backward-compatible features
|
||||||
<span class="hljs-string">"<green>"</span> : Patch <span class="hljs-keyword">Update</span> backward-compatible bug fixes
|
"<green>" : Patch <span class="hljs-keyword">Update</span> backward-compatible bug fixes
|
||||||
Package Current Wanted Latest Package <span class="hljs-keyword">Type</span> URL
|
Package <span class="hljs-keyword">Current</span> Wanted Latest Package <span class="hljs-keyword">Type</span> URL
|
||||||
docusaurus 1.0.9 1.2.0 1.2.0 devDependencies https:<span class="hljs-comment">//github.com/facebook/Docusaurus#readme</span>
|
docusaurus <span class="hljs-number">1.0</span><span class="hljs-number">.9</span> <span class="hljs-number">1.2</span><span class="hljs-number">.0</span> <span class="hljs-number">1.2</span><span class="hljs-number">.0</span> devDependencies https://github.com/facebook/Docusaurus#readme
|
||||||
✨ Done <span class="hljs-keyword">in</span> 0.41s.
|
✨ Done <span class="hljs-keyword">in</span> <span class="hljs-number">0.41</span>s.
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<p>If there is no noticeable version output from the <code>outdated</code> commands, then you are up-to-date.</p>
|
<p>If there is no noticeable version output from the <code>outdated</code> commands, then you are up-to-date.</p>
|
||||||
|
|
|
@ -144,17 +144,17 @@ yarn start (or npm run start)
|
||||||
<p>At any time after Docusaurus is installed, you can check your current version of Docusaurus by going into the <code>website</code> directory and typing <code>yarn outdated docusaurus</code> or <code>npm outdated docusaurus</code>.</p>
|
<p>At any time after Docusaurus is installed, you can check your current version of Docusaurus by going into the <code>website</code> directory and typing <code>yarn outdated docusaurus</code> or <code>npm outdated docusaurus</code>.</p>
|
||||||
<p>You will see something like this:</p>
|
<p>You will see something like this:</p>
|
||||||
<pre><code class="hljs">$ yarn outdated
|
<pre><code class="hljs">$ yarn outdated
|
||||||
Using globally installed <span class="hljs-keyword">version</span> of Yarn
|
<span class="hljs-keyword">Using</span> globally installed <span class="hljs-keyword">version</span> <span class="hljs-keyword">of</span> Yarn
|
||||||
yarn outdated v1.5.1
|
yarn outdated v1<span class="hljs-number">.5</span><span class="hljs-number">.1</span>
|
||||||
warning package.json: <span class="hljs-keyword">No</span> license field
|
<span class="hljs-built_in">warning</span> package.json: <span class="hljs-keyword">No</span> license field
|
||||||
warning <span class="hljs-keyword">No</span> license field
|
<span class="hljs-built_in">warning</span> <span class="hljs-keyword">No</span> license field
|
||||||
info Color legend :
|
<span class="hljs-keyword">info</span> Color legend :
|
||||||
<span class="hljs-string">"<red>"</span> : Major <span class="hljs-keyword">Update</span> backward-incompatible updates
|
"<red>" : Major <span class="hljs-keyword">Update</span> backward-incompatible updates
|
||||||
<span class="hljs-string">"<yellow>"</span> : Minor <span class="hljs-keyword">Update</span> backward-compatible features
|
"<yellow>" : Minor <span class="hljs-keyword">Update</span> backward-compatible features
|
||||||
<span class="hljs-string">"<green>"</span> : Patch <span class="hljs-keyword">Update</span> backward-compatible bug fixes
|
"<green>" : Patch <span class="hljs-keyword">Update</span> backward-compatible bug fixes
|
||||||
Package Current Wanted Latest Package <span class="hljs-keyword">Type</span> URL
|
Package <span class="hljs-keyword">Current</span> Wanted Latest Package <span class="hljs-keyword">Type</span> URL
|
||||||
docusaurus 1.0.9 1.2.0 1.2.0 devDependencies https:<span class="hljs-comment">//github.com/facebook/Docusaurus#readme</span>
|
docusaurus <span class="hljs-number">1.0</span><span class="hljs-number">.9</span> <span class="hljs-number">1.2</span><span class="hljs-number">.0</span> <span class="hljs-number">1.2</span><span class="hljs-number">.0</span> devDependencies https://github.com/facebook/Docusaurus#readme
|
||||||
✨ Done <span class="hljs-keyword">in</span> 0.41s.
|
✨ Done <span class="hljs-keyword">in</span> <span class="hljs-number">0.41</span>s.
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<p>If there is no noticeable version output from the <code>outdated</code> commands, then you are up-to-date.</p>
|
<p>If there is no noticeable version output from the <code>outdated</code> commands, then you are up-to-date.</p>
|
||||||
|
|
|
@ -144,17 +144,17 @@ yarn start (or npm run start)
|
||||||
<p>At any time after Docusaurus is installed, you can check your current version of Docusaurus by going into the <code>website</code> directory and typing <code>yarn outdated docusaurus</code> or <code>npm outdated docusaurus</code>.</p>
|
<p>At any time after Docusaurus is installed, you can check your current version of Docusaurus by going into the <code>website</code> directory and typing <code>yarn outdated docusaurus</code> or <code>npm outdated docusaurus</code>.</p>
|
||||||
<p>You will see something like this:</p>
|
<p>You will see something like this:</p>
|
||||||
<pre><code class="hljs">$ yarn outdated
|
<pre><code class="hljs">$ yarn outdated
|
||||||
Using globally installed <span class="hljs-keyword">version</span> of Yarn
|
<span class="hljs-keyword">Using</span> globally installed <span class="hljs-keyword">version</span> <span class="hljs-keyword">of</span> Yarn
|
||||||
yarn outdated v1.5.1
|
yarn outdated v1<span class="hljs-number">.5</span><span class="hljs-number">.1</span>
|
||||||
warning package.json: <span class="hljs-keyword">No</span> license field
|
<span class="hljs-built_in">warning</span> package.json: <span class="hljs-keyword">No</span> license field
|
||||||
warning <span class="hljs-keyword">No</span> license field
|
<span class="hljs-built_in">warning</span> <span class="hljs-keyword">No</span> license field
|
||||||
info Color legend :
|
<span class="hljs-keyword">info</span> Color legend :
|
||||||
<span class="hljs-string">"<red>"</span> : Major <span class="hljs-keyword">Update</span> backward-incompatible updates
|
"<red>" : Major <span class="hljs-keyword">Update</span> backward-incompatible updates
|
||||||
<span class="hljs-string">"<yellow>"</span> : Minor <span class="hljs-keyword">Update</span> backward-compatible features
|
"<yellow>" : Minor <span class="hljs-keyword">Update</span> backward-compatible features
|
||||||
<span class="hljs-string">"<green>"</span> : Patch <span class="hljs-keyword">Update</span> backward-compatible bug fixes
|
"<green>" : Patch <span class="hljs-keyword">Update</span> backward-compatible bug fixes
|
||||||
Package Current Wanted Latest Package <span class="hljs-keyword">Type</span> URL
|
Package <span class="hljs-keyword">Current</span> Wanted Latest Package <span class="hljs-keyword">Type</span> URL
|
||||||
docusaurus 1.0.9 1.2.0 1.2.0 devDependencies https:<span class="hljs-comment">//github.com/facebook/Docusaurus#readme</span>
|
docusaurus <span class="hljs-number">1.0</span><span class="hljs-number">.9</span> <span class="hljs-number">1.2</span><span class="hljs-number">.0</span> <span class="hljs-number">1.2</span><span class="hljs-number">.0</span> devDependencies https://github.com/facebook/Docusaurus#readme
|
||||||
✨ Done <span class="hljs-keyword">in</span> 0.41s.
|
✨ Done <span class="hljs-keyword">in</span> <span class="hljs-number">0.41</span>s.
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<p>If there is no noticeable version output from the <code>outdated</code> commands, then you are up-to-date.</p>
|
<p>If there is no noticeable version output from the <code>outdated</code> commands, then you are up-to-date.</p>
|
||||||
|
|
|
@ -144,17 +144,17 @@ yarn start (or npm run start)
|
||||||
<p>At any time after Docusaurus is installed, you can check your current version of Docusaurus by going into the <code>website</code> directory and typing <code>yarn outdated docusaurus</code> or <code>npm outdated docusaurus</code>.</p>
|
<p>At any time after Docusaurus is installed, you can check your current version of Docusaurus by going into the <code>website</code> directory and typing <code>yarn outdated docusaurus</code> or <code>npm outdated docusaurus</code>.</p>
|
||||||
<p>You will see something like this:</p>
|
<p>You will see something like this:</p>
|
||||||
<pre><code class="hljs">$ yarn outdated
|
<pre><code class="hljs">$ yarn outdated
|
||||||
Using globally installed <span class="hljs-keyword">version</span> of Yarn
|
<span class="hljs-keyword">Using</span> globally installed <span class="hljs-keyword">version</span> <span class="hljs-keyword">of</span> Yarn
|
||||||
yarn outdated v1.5.1
|
yarn outdated v1<span class="hljs-number">.5</span><span class="hljs-number">.1</span>
|
||||||
warning package.json: <span class="hljs-keyword">No</span> license field
|
<span class="hljs-built_in">warning</span> package.json: <span class="hljs-keyword">No</span> license field
|
||||||
warning <span class="hljs-keyword">No</span> license field
|
<span class="hljs-built_in">warning</span> <span class="hljs-keyword">No</span> license field
|
||||||
info Color legend :
|
<span class="hljs-keyword">info</span> Color legend :
|
||||||
<span class="hljs-string">"<red>"</span> : Major <span class="hljs-keyword">Update</span> backward-incompatible updates
|
"<red>" : Major <span class="hljs-keyword">Update</span> backward-incompatible updates
|
||||||
<span class="hljs-string">"<yellow>"</span> : Minor <span class="hljs-keyword">Update</span> backward-compatible features
|
"<yellow>" : Minor <span class="hljs-keyword">Update</span> backward-compatible features
|
||||||
<span class="hljs-string">"<green>"</span> : Patch <span class="hljs-keyword">Update</span> backward-compatible bug fixes
|
"<green>" : Patch <span class="hljs-keyword">Update</span> backward-compatible bug fixes
|
||||||
Package Current Wanted Latest Package <span class="hljs-keyword">Type</span> URL
|
Package <span class="hljs-keyword">Current</span> Wanted Latest Package <span class="hljs-keyword">Type</span> URL
|
||||||
docusaurus 1.0.9 1.2.0 1.2.0 devDependencies https:<span class="hljs-comment">//github.com/facebook/Docusaurus#readme</span>
|
docusaurus <span class="hljs-number">1.0</span><span class="hljs-number">.9</span> <span class="hljs-number">1.2</span><span class="hljs-number">.0</span> <span class="hljs-number">1.2</span><span class="hljs-number">.0</span> devDependencies https://github.com/facebook/Docusaurus#readme
|
||||||
✨ Done <span class="hljs-keyword">in</span> 0.41s.
|
✨ Done <span class="hljs-keyword">in</span> <span class="hljs-number">0.41</span>s.
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<p>If there is no noticeable version output from the <code>outdated</code> commands, then you are up-to-date.</p>
|
<p>If there is no noticeable version output from the <code>outdated</code> commands, then you are up-to-date.</p>
|
||||||
|
|
|
@ -144,17 +144,17 @@ yarn start (or npm run start)
|
||||||
<p>At any time after Docusaurus is installed, you can check your current version of Docusaurus by going into the <code>website</code> directory and typing <code>yarn outdated docusaurus</code> or <code>npm outdated docusaurus</code>.</p>
|
<p>At any time after Docusaurus is installed, you can check your current version of Docusaurus by going into the <code>website</code> directory and typing <code>yarn outdated docusaurus</code> or <code>npm outdated docusaurus</code>.</p>
|
||||||
<p>You will see something like this:</p>
|
<p>You will see something like this:</p>
|
||||||
<pre><code class="hljs">$ yarn outdated
|
<pre><code class="hljs">$ yarn outdated
|
||||||
Using globally installed <span class="hljs-keyword">version</span> of Yarn
|
<span class="hljs-keyword">Using</span> globally installed <span class="hljs-keyword">version</span> <span class="hljs-keyword">of</span> Yarn
|
||||||
yarn outdated v1.5.1
|
yarn outdated v1<span class="hljs-number">.5</span><span class="hljs-number">.1</span>
|
||||||
warning package.json: <span class="hljs-keyword">No</span> license field
|
<span class="hljs-built_in">warning</span> package.json: <span class="hljs-keyword">No</span> license field
|
||||||
warning <span class="hljs-keyword">No</span> license field
|
<span class="hljs-built_in">warning</span> <span class="hljs-keyword">No</span> license field
|
||||||
info Color legend :
|
<span class="hljs-keyword">info</span> Color legend :
|
||||||
<span class="hljs-string">"<red>"</span> : Major <span class="hljs-keyword">Update</span> backward-incompatible updates
|
"<red>" : Major <span class="hljs-keyword">Update</span> backward-incompatible updates
|
||||||
<span class="hljs-string">"<yellow>"</span> : Minor <span class="hljs-keyword">Update</span> backward-compatible features
|
"<yellow>" : Minor <span class="hljs-keyword">Update</span> backward-compatible features
|
||||||
<span class="hljs-string">"<green>"</span> : Patch <span class="hljs-keyword">Update</span> backward-compatible bug fixes
|
"<green>" : Patch <span class="hljs-keyword">Update</span> backward-compatible bug fixes
|
||||||
Package Current Wanted Latest Package <span class="hljs-keyword">Type</span> URL
|
Package <span class="hljs-keyword">Current</span> Wanted Latest Package <span class="hljs-keyword">Type</span> URL
|
||||||
docusaurus 1.0.9 1.2.0 1.2.0 devDependencies https:<span class="hljs-comment">//github.com/facebook/Docusaurus#readme</span>
|
docusaurus <span class="hljs-number">1.0</span><span class="hljs-number">.9</span> <span class="hljs-number">1.2</span><span class="hljs-number">.0</span> <span class="hljs-number">1.2</span><span class="hljs-number">.0</span> devDependencies https://github.com/facebook/Docusaurus#readme
|
||||||
✨ Done <span class="hljs-keyword">in</span> 0.41s.
|
✨ Done <span class="hljs-keyword">in</span> <span class="hljs-number">0.41</span>s.
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<p>If there is no noticeable version output from the <code>outdated</code> commands, then you are up-to-date.</p>
|
<p>If there is no noticeable version output from the <code>outdated</code> commands, then you are up-to-date.</p>
|
||||||
|
|
|
@ -144,17 +144,17 @@ yarn start (or npm run start)
|
||||||
<p>At any time after Docusaurus is installed, you can check your current version of Docusaurus by going into the <code>website</code> directory and typing <code>yarn outdated docusaurus</code> or <code>npm outdated docusaurus</code>.</p>
|
<p>At any time after Docusaurus is installed, you can check your current version of Docusaurus by going into the <code>website</code> directory and typing <code>yarn outdated docusaurus</code> or <code>npm outdated docusaurus</code>.</p>
|
||||||
<p>You will see something like this:</p>
|
<p>You will see something like this:</p>
|
||||||
<pre><code class="hljs">$ yarn outdated
|
<pre><code class="hljs">$ yarn outdated
|
||||||
Using globally installed <span class="hljs-keyword">version</span> of Yarn
|
<span class="hljs-keyword">Using</span> globally installed <span class="hljs-keyword">version</span> <span class="hljs-keyword">of</span> Yarn
|
||||||
yarn outdated v1.5.1
|
yarn outdated v1<span class="hljs-number">.5</span><span class="hljs-number">.1</span>
|
||||||
warning package.json: <span class="hljs-keyword">No</span> license field
|
<span class="hljs-built_in">warning</span> package.json: <span class="hljs-keyword">No</span> license field
|
||||||
warning <span class="hljs-keyword">No</span> license field
|
<span class="hljs-built_in">warning</span> <span class="hljs-keyword">No</span> license field
|
||||||
info Color legend :
|
<span class="hljs-keyword">info</span> Color legend :
|
||||||
<span class="hljs-string">"<red>"</span> : Major <span class="hljs-keyword">Update</span> backward-incompatible updates
|
"<red>" : Major <span class="hljs-keyword">Update</span> backward-incompatible updates
|
||||||
<span class="hljs-string">"<yellow>"</span> : Minor <span class="hljs-keyword">Update</span> backward-compatible features
|
"<yellow>" : Minor <span class="hljs-keyword">Update</span> backward-compatible features
|
||||||
<span class="hljs-string">"<green>"</span> : Patch <span class="hljs-keyword">Update</span> backward-compatible bug fixes
|
"<green>" : Patch <span class="hljs-keyword">Update</span> backward-compatible bug fixes
|
||||||
Package Current Wanted Latest Package <span class="hljs-keyword">Type</span> URL
|
Package <span class="hljs-keyword">Current</span> Wanted Latest Package <span class="hljs-keyword">Type</span> URL
|
||||||
docusaurus 1.0.9 1.2.0 1.2.0 devDependencies https:<span class="hljs-comment">//github.com/facebook/Docusaurus#readme</span>
|
docusaurus <span class="hljs-number">1.0</span><span class="hljs-number">.9</span> <span class="hljs-number">1.2</span><span class="hljs-number">.0</span> <span class="hljs-number">1.2</span><span class="hljs-number">.0</span> devDependencies https://github.com/facebook/Docusaurus#readme
|
||||||
✨ Done <span class="hljs-keyword">in</span> 0.41s.
|
✨ Done <span class="hljs-keyword">in</span> <span class="hljs-number">0.41</span>s.
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<p>If there is no noticeable version output from the <code>outdated</code> commands, then you are up-to-date.</p>
|
<p>If there is no noticeable version output from the <code>outdated</code> commands, then you are up-to-date.</p>
|
||||||
|
|
|
@ -144,17 +144,17 @@ yarn start (or npm run start)
|
||||||
<p>At any time after Docusaurus is installed, you can check your current version of Docusaurus by going into the <code>website</code> directory and typing <code>yarn outdated docusaurus</code> or <code>npm outdated docusaurus</code>.</p>
|
<p>At any time after Docusaurus is installed, you can check your current version of Docusaurus by going into the <code>website</code> directory and typing <code>yarn outdated docusaurus</code> or <code>npm outdated docusaurus</code>.</p>
|
||||||
<p>You will see something like this:</p>
|
<p>You will see something like this:</p>
|
||||||
<pre><code class="hljs">$ yarn outdated
|
<pre><code class="hljs">$ yarn outdated
|
||||||
Using globally installed <span class="hljs-keyword">version</span> of Yarn
|
<span class="hljs-keyword">Using</span> globally installed <span class="hljs-keyword">version</span> <span class="hljs-keyword">of</span> Yarn
|
||||||
yarn outdated v1.5.1
|
yarn outdated v1<span class="hljs-number">.5</span><span class="hljs-number">.1</span>
|
||||||
warning package.json: <span class="hljs-keyword">No</span> license field
|
<span class="hljs-built_in">warning</span> package.json: <span class="hljs-keyword">No</span> license field
|
||||||
warning <span class="hljs-keyword">No</span> license field
|
<span class="hljs-built_in">warning</span> <span class="hljs-keyword">No</span> license field
|
||||||
info Color legend :
|
<span class="hljs-keyword">info</span> Color legend :
|
||||||
<span class="hljs-string">"<red>"</span> : Major <span class="hljs-keyword">Update</span> backward-incompatible updates
|
"<red>" : Major <span class="hljs-keyword">Update</span> backward-incompatible updates
|
||||||
<span class="hljs-string">"<yellow>"</span> : Minor <span class="hljs-keyword">Update</span> backward-compatible features
|
"<yellow>" : Minor <span class="hljs-keyword">Update</span> backward-compatible features
|
||||||
<span class="hljs-string">"<green>"</span> : Patch <span class="hljs-keyword">Update</span> backward-compatible bug fixes
|
"<green>" : Patch <span class="hljs-keyword">Update</span> backward-compatible bug fixes
|
||||||
Package Current Wanted Latest Package <span class="hljs-keyword">Type</span> URL
|
Package <span class="hljs-keyword">Current</span> Wanted Latest Package <span class="hljs-keyword">Type</span> URL
|
||||||
docusaurus 1.0.9 1.2.0 1.2.0 devDependencies https:<span class="hljs-comment">//github.com/facebook/Docusaurus#readme</span>
|
docusaurus <span class="hljs-number">1.0</span><span class="hljs-number">.9</span> <span class="hljs-number">1.2</span><span class="hljs-number">.0</span> <span class="hljs-number">1.2</span><span class="hljs-number">.0</span> devDependencies https://github.com/facebook/Docusaurus#readme
|
||||||
✨ Done <span class="hljs-keyword">in</span> 0.41s.
|
✨ Done <span class="hljs-keyword">in</span> <span class="hljs-number">0.41</span>s.
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<p>If there is no noticeable version output from the <code>outdated</code> commands, then you are up-to-date.</p>
|
<p>If there is no noticeable version output from the <code>outdated</code> commands, then you are up-to-date.</p>
|
||||||
|
|
|
@ -144,17 +144,17 @@ yarn start (or npm run start)
|
||||||
<p>At any time after Docusaurus is installed, you can check your current version of Docusaurus by going into the <code>website</code> directory and typing <code>yarn outdated docusaurus</code> or <code>npm outdated docusaurus</code>.</p>
|
<p>At any time after Docusaurus is installed, you can check your current version of Docusaurus by going into the <code>website</code> directory and typing <code>yarn outdated docusaurus</code> or <code>npm outdated docusaurus</code>.</p>
|
||||||
<p>You will see something like this:</p>
|
<p>You will see something like this:</p>
|
||||||
<pre><code class="hljs">$ yarn outdated
|
<pre><code class="hljs">$ yarn outdated
|
||||||
Using globally installed <span class="hljs-keyword">version</span> of Yarn
|
<span class="hljs-keyword">Using</span> globally installed <span class="hljs-keyword">version</span> <span class="hljs-keyword">of</span> Yarn
|
||||||
yarn outdated v1.5.1
|
yarn outdated v1<span class="hljs-number">.5</span><span class="hljs-number">.1</span>
|
||||||
warning package.json: <span class="hljs-keyword">No</span> license field
|
<span class="hljs-built_in">warning</span> package.json: <span class="hljs-keyword">No</span> license field
|
||||||
warning <span class="hljs-keyword">No</span> license field
|
<span class="hljs-built_in">warning</span> <span class="hljs-keyword">No</span> license field
|
||||||
info Color legend :
|
<span class="hljs-keyword">info</span> Color legend :
|
||||||
<span class="hljs-string">"<red>"</span> : Major <span class="hljs-keyword">Update</span> backward-incompatible updates
|
"<red>" : Major <span class="hljs-keyword">Update</span> backward-incompatible updates
|
||||||
<span class="hljs-string">"<yellow>"</span> : Minor <span class="hljs-keyword">Update</span> backward-compatible features
|
"<yellow>" : Minor <span class="hljs-keyword">Update</span> backward-compatible features
|
||||||
<span class="hljs-string">"<green>"</span> : Patch <span class="hljs-keyword">Update</span> backward-compatible bug fixes
|
"<green>" : Patch <span class="hljs-keyword">Update</span> backward-compatible bug fixes
|
||||||
Package Current Wanted Latest Package <span class="hljs-keyword">Type</span> URL
|
Package <span class="hljs-keyword">Current</span> Wanted Latest Package <span class="hljs-keyword">Type</span> URL
|
||||||
docusaurus 1.0.9 1.2.0 1.2.0 devDependencies https:<span class="hljs-comment">//github.com/facebook/Docusaurus#readme</span>
|
docusaurus <span class="hljs-number">1.0</span><span class="hljs-number">.9</span> <span class="hljs-number">1.2</span><span class="hljs-number">.0</span> <span class="hljs-number">1.2</span><span class="hljs-number">.0</span> devDependencies https://github.com/facebook/Docusaurus#readme
|
||||||
✨ Done <span class="hljs-keyword">in</span> 0.41s.
|
✨ Done <span class="hljs-keyword">in</span> <span class="hljs-number">0.41</span>s.
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<p>If there is no noticeable version output from the <code>outdated</code> commands, then you are up-to-date.</p>
|
<p>If there is no noticeable version output from the <code>outdated</code> commands, then you are up-to-date.</p>
|
||||||
|
|
|
@ -144,17 +144,17 @@ yarn start (or npm run start)
|
||||||
<p>At any time after Docusaurus is installed, you can check your current version of Docusaurus by going into the <code>website</code> directory and typing <code>yarn outdated docusaurus</code> or <code>npm outdated docusaurus</code>.</p>
|
<p>At any time after Docusaurus is installed, you can check your current version of Docusaurus by going into the <code>website</code> directory and typing <code>yarn outdated docusaurus</code> or <code>npm outdated docusaurus</code>.</p>
|
||||||
<p>You will see something like this:</p>
|
<p>You will see something like this:</p>
|
||||||
<pre><code class="hljs">$ yarn outdated
|
<pre><code class="hljs">$ yarn outdated
|
||||||
Using globally installed <span class="hljs-keyword">version</span> of Yarn
|
<span class="hljs-keyword">Using</span> globally installed <span class="hljs-keyword">version</span> <span class="hljs-keyword">of</span> Yarn
|
||||||
yarn outdated v1.5.1
|
yarn outdated v1<span class="hljs-number">.5</span><span class="hljs-number">.1</span>
|
||||||
warning package.json: <span class="hljs-keyword">No</span> license field
|
<span class="hljs-built_in">warning</span> package.json: <span class="hljs-keyword">No</span> license field
|
||||||
warning <span class="hljs-keyword">No</span> license field
|
<span class="hljs-built_in">warning</span> <span class="hljs-keyword">No</span> license field
|
||||||
info Color legend :
|
<span class="hljs-keyword">info</span> Color legend :
|
||||||
<span class="hljs-string">"<red>"</span> : Major <span class="hljs-keyword">Update</span> backward-incompatible updates
|
"<red>" : Major <span class="hljs-keyword">Update</span> backward-incompatible updates
|
||||||
<span class="hljs-string">"<yellow>"</span> : Minor <span class="hljs-keyword">Update</span> backward-compatible features
|
"<yellow>" : Minor <span class="hljs-keyword">Update</span> backward-compatible features
|
||||||
<span class="hljs-string">"<green>"</span> : Patch <span class="hljs-keyword">Update</span> backward-compatible bug fixes
|
"<green>" : Patch <span class="hljs-keyword">Update</span> backward-compatible bug fixes
|
||||||
Package Current Wanted Latest Package <span class="hljs-keyword">Type</span> URL
|
Package <span class="hljs-keyword">Current</span> Wanted Latest Package <span class="hljs-keyword">Type</span> URL
|
||||||
docusaurus 1.0.9 1.2.0 1.2.0 devDependencies https:<span class="hljs-comment">//github.com/facebook/Docusaurus#readme</span>
|
docusaurus <span class="hljs-number">1.0</span><span class="hljs-number">.9</span> <span class="hljs-number">1.2</span><span class="hljs-number">.0</span> <span class="hljs-number">1.2</span><span class="hljs-number">.0</span> devDependencies https://github.com/facebook/Docusaurus#readme
|
||||||
✨ Done <span class="hljs-keyword">in</span> 0.41s.
|
✨ Done <span class="hljs-keyword">in</span> <span class="hljs-number">0.41</span>s.
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<p>If there is no noticeable version output from the <code>outdated</code> commands, then you are up-to-date.</p>
|
<p>If there is no noticeable version output from the <code>outdated</code> commands, then you are up-to-date.</p>
|
||||||
|
|
|
@ -144,17 +144,17 @@ yarn start (or npm run start)
|
||||||
<p>At any time after Docusaurus is installed, you can check your current version of Docusaurus by going into the <code>website</code> directory and typing <code>yarn outdated docusaurus</code> or <code>npm outdated docusaurus</code>.</p>
|
<p>At any time after Docusaurus is installed, you can check your current version of Docusaurus by going into the <code>website</code> directory and typing <code>yarn outdated docusaurus</code> or <code>npm outdated docusaurus</code>.</p>
|
||||||
<p>You will see something like this:</p>
|
<p>You will see something like this:</p>
|
||||||
<pre><code class="hljs">$ yarn outdated
|
<pre><code class="hljs">$ yarn outdated
|
||||||
Using globally installed <span class="hljs-keyword">version</span> of Yarn
|
<span class="hljs-keyword">Using</span> globally installed <span class="hljs-keyword">version</span> <span class="hljs-keyword">of</span> Yarn
|
||||||
yarn outdated v1.5.1
|
yarn outdated v1<span class="hljs-number">.5</span><span class="hljs-number">.1</span>
|
||||||
warning package.json: <span class="hljs-keyword">No</span> license field
|
<span class="hljs-built_in">warning</span> package.json: <span class="hljs-keyword">No</span> license field
|
||||||
warning <span class="hljs-keyword">No</span> license field
|
<span class="hljs-built_in">warning</span> <span class="hljs-keyword">No</span> license field
|
||||||
info Color legend :
|
<span class="hljs-keyword">info</span> Color legend :
|
||||||
<span class="hljs-string">"<red>"</span> : Major <span class="hljs-keyword">Update</span> backward-incompatible updates
|
"<red>" : Major <span class="hljs-keyword">Update</span> backward-incompatible updates
|
||||||
<span class="hljs-string">"<yellow>"</span> : Minor <span class="hljs-keyword">Update</span> backward-compatible features
|
"<yellow>" : Minor <span class="hljs-keyword">Update</span> backward-compatible features
|
||||||
<span class="hljs-string">"<green>"</span> : Patch <span class="hljs-keyword">Update</span> backward-compatible bug fixes
|
"<green>" : Patch <span class="hljs-keyword">Update</span> backward-compatible bug fixes
|
||||||
Package Current Wanted Latest Package <span class="hljs-keyword">Type</span> URL
|
Package <span class="hljs-keyword">Current</span> Wanted Latest Package <span class="hljs-keyword">Type</span> URL
|
||||||
docusaurus 1.0.9 1.2.0 1.2.0 devDependencies https:<span class="hljs-comment">//github.com/facebook/Docusaurus#readme</span>
|
docusaurus <span class="hljs-number">1.0</span><span class="hljs-number">.9</span> <span class="hljs-number">1.2</span><span class="hljs-number">.0</span> <span class="hljs-number">1.2</span><span class="hljs-number">.0</span> devDependencies https://github.com/facebook/Docusaurus#readme
|
||||||
✨ Done <span class="hljs-keyword">in</span> 0.41s.
|
✨ Done <span class="hljs-keyword">in</span> <span class="hljs-number">0.41</span>s.
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<p>If there is no noticeable version output from the <code>outdated</code> commands, then you are up-to-date.</p>
|
<p>If there is no noticeable version output from the <code>outdated</code> commands, then you are up-to-date.</p>
|
||||||
|
|
File diff suppressed because one or more lines are too long
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 25 KiB |
Loading…
Add table
Add a link
Reference in a new issue