mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-22 13:37:05 +02:00
parent
9dfb67309c
commit
a8e15aeab4
14 changed files with 16 additions and 16 deletions
|
@ -86,7 +86,7 @@
|
|||
<p>Assume you are happy with the current state of the documentation and want to freeze it as the v1.0.0 docs. First you <code>cd</code> to the <code>website</code> directory and run the following command.</p>
|
||||
<pre><code class="hljs css language-sh">npm run examples versions
|
||||
</code></pre>
|
||||
<p>That command generates a <code>versions.js</code> file, which will be used to list down all the versions of docs in the project.</p>
|
||||
<p>That command generates a <code>versions.json</code> file, which will be used to list down all the versions of docs in the project.</p>
|
||||
<p>Next, you run a command with the version you want to create, like <code>1.0.0</code>.</p>
|
||||
<pre><code class="hljs css language-sh">npm run version 1.0.0
|
||||
</code></pre>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue