Revert "Deploy website"

This reverts commit 8db87ffa39.
This commit is contained in:
Yangshun Tay 2019-11-03 23:08:49 +08:00
parent 8db87ffa39
commit 09d11ceb49
742 changed files with 8947 additions and 8877 deletions

View file

@ -85,13 +85,13 @@
<h2><a class="anchor" aria-hidden="true" id="put-the-site-online"></a><a href="#put-the-site-online" 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>Put the Site Online</h2>
<p>Kill the web server first by pressing Cmd + C or Ctrl + C depending on your operating system.</p>
<p>In <code>website/siteConfig.js</code>, fill in the following fields:</p>
<pre><code class="hljs"><span class="hljs-keyword">const</span> siteConfig = {
...
<pre><code class="hljs">const siteConfig = {
<span class="hljs-params">...</span>
url: <span class="hljs-string">'https://USERNAME.github.io'</span>, <span class="hljs-comment">// Replace USERNAME with your GitHub username.</span>
baseUrl: <span class="hljs-string">'/docusaurus-tutorial/'</span>, <span class="hljs-comment">// The name of your GitHub project.</span>
projectName: <span class="hljs-string">'docusaurus-tutorial'</span>, <span class="hljs-comment">// The name of your GitHub project. Same as above.</span>
organizationName: <span class="hljs-string">'USERNAME'</span> <span class="hljs-comment">// Your GitHub username.</span>
...
<span class="hljs-params">...</span>
}
</code></pre>
<ol start="2">