Deploy website

Deploy website version based on 6f820d6453
This commit is contained in:
Website Deployment Script 2018-12-24 03:35:13 +00:00
parent 0797ae0921
commit ffbd59d4e2
266 changed files with 2418 additions and 2418 deletions

View file

@ -112,7 +112,7 @@
yarn start (or npm run start)
</code></pre>
<h2><a class="anchor" aria-hidden="true" id="updating-your-docusaurus-version"></a><a href="#updating-your-docusaurus-version" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>Updating Your Docusaurus Version</h2>
<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>在 Docusaurus 安装之后,你可以在 <code>website</code> 目录下查看最新版本,或是输入 <code>yarn outdated docusaurus</code> <code>npm outdated docusaurus</code> 查看。</p>
<p>You will see something like this:</p>
<pre><code class="hljs">$ yarn outdated
Using globally installed version of Yarn
@ -128,7 +128,7 @@ docusaurus 1.0.9 1.2.0 1.2.0 devDependencies https://github.com/facebook/Doc
✨ Done in 0.41s.
</code></pre>
<blockquote>
<p>If there is no noticeable version output from the <code>outdated</code> commands, then you are up-to-date.</p>
<p>如果 <code>outdated</code> 命令没有任何版本过期的通知,那你就处于最新版本。</p>
</blockquote>
<p>You can update to the <a href="https://www.npmjs.com/package/docusaurus">latest version</a> of Docusaurus by:</p>
<pre><code class="hljs">yarn upgrade docusaurus --latest
@ -137,7 +137,7 @@ docusaurus 1.0.9 1.2.0 1.2.0 devDependencies https://github.com/facebook/Doc
<pre><code class="hljs">npm update docusaurus
</code></pre>
<blockquote>
<p>If you are finding that you are getting errors after your upgrade, try to either clear your Babel cache (usually it's in a <a href="https://babeljs.io/docs/en/babel-register/#environment-variables">temporary directory</a> or run the Docusaurus server (e.g., <code>yarn start</code>) with the <code>BABEL_DISABLE_CACHE=1</code> environment configuration.</p>
<p>如果你在升级后发现任何错误,请尝试清除你的 Babel 缓存。通常在 <a href="https://babeljs.io/docs/en/babel-register/#environment-variables">temporary directory</a>,或是在 <code>BABEL_DISABLE_CACHE=1</code> 的配置下运行 Docusaurus 服务(如:<code>yarn start</code>)。</p>
</blockquote>
</span></div></article></div><div class="docs-prevnext"><a class="docs-next button" href="/docs/zh-CN/1.5.1/site-preparation"><span>Site Preparation</span><span class="arrow-next"></span></a></div></div></div><nav class="onPageNav"><ul class="toc-headings"><li><a href="#安装-docusaurus">安装 Docusaurus</a></li><li><a href="#验证安装">验证安装</a></li><li><a href="#运行示例网站">运行示例网站</a><ul class="toc-headings"><li><a href="#使用代理启动服务">使用代理启动服务</a></li></ul></li><li><a href="#updating-your-docusaurus-version">Updating Your Docusaurus Version</a></li></ul></nav></div><footer class="nav-footer" id="footer"><section class="sitemap"><a href="/" class="nav-home"><img src="/img/docusaurus_monochrome.svg" alt="Docusaurus" width="66" height="58"/></a><div class="footerSection"><h5>Docs</h5><a href="
/docs/zh-CN/installation">Getting Started</a><a href="