yangshun-tech-interview-han.../website
2022-04-08 18:55:26 +08:00
..
blog website: add sidebar structure 2022-04-08 18:55:26 +08:00
src website: add sidebar structure 2022-04-08 18:55:26 +08:00
static website: add sidebar structure 2022-04-08 18:55:26 +08:00
.gitignore website: launch website 2019-07-15 02:25:49 -07:00
docusaurus.config.js website: add sidebar structure 2022-04-08 18:55:26 +08:00
package.json website: upgrade to docusaurus@2.0.0-beta.18 2022-04-04 06:56:43 +08:00
README.md website: launch website 2019-07-15 02:25:49 -07:00
sidebars.js website: add sidebar structure 2022-04-08 18:55:26 +08:00
vercel.json Revert "website: don't add trailing slash" 2022-04-05 09:41:20 +08:00
yarn.lock website: upgrade to docusaurus@2.0.0-beta.18 2022-04-04 06:56:43 +08:00

Website

This website is built using Docusaurus 2, a modern static website generator.

Installation

$ yarn

Local Development

$ yarn start

This command starts a local development server and open up a browser window. Most changes are reflected live without having to restart the server.

Build

$ yarn build

This command generates static content into the build directory and can be served using any static contents hosting service.

Deployment

$ GIT_USER=<Your GitHub username> USE_SSH=1 yarn deploy

If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the gh-pages branch.