mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-16 02:27:21 +02:00
parent
6fe2a05585
commit
2a94db2d64
25 changed files with 93 additions and 90 deletions
|
@ -11,7 +11,7 @@
|
|||
</ul>
|
||||
<h2><a class="anchor" name="running-from-the-command-line"></a>Running from the command line <a class="hash-link" href="#running-from-the-command-line">#</a></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>
|
||||
<pre><code>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></code></pre>
|
||||
<p>The same script can be invoked using npm:</p>
|
||||
<pre><code>npm <span class="hljs-keyword">run</span><span class="bash"> start
|
||||
|
@ -84,4 +84,4 @@
|
|||
indexName: 'docusaurus',
|
||||
inputSelector: '#search_input_react'
|
||||
});
|
||||
</script><script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js"></script><script>hljs.initHighlightingOnLoad();</script></body></html>
|
||||
</script></body></html>
|
Loading…
Add table
Add a link
Reference in a new issue