docusaurus/packages/docusaurus-init/templates/classic
Sam Zhou 729b3cae9b
feat(v2): Allow configuring babel via babel.config.js (#2903)
* feat(v2): Allow configuring babel via docusaurus.config.js

* Use api.caller feature from babel to avoid expose isServer to users

* Remove unused optional config key

* Make babel loader resolve and require config file
2020-06-12 11:03:00 +08:00
..
blog fix(v2): change 'Simple' to 'Simply' on template blog entries (#2191) 2020-01-06 10:24:19 +08:00
docs misc: minor improvements for init templates (#2802) 2020-05-24 19:47:04 +08:00
src chore(v2): replace classnames with clsx (#2895) 2020-06-07 13:40:06 +08:00
static feat(v2): add nojekyll file to static folder for all templates (#2902) 2020-06-08 09:45:57 +08:00
babel.config.js feat(v2): Allow configuring babel via babel.config.js (#2903) 2020-06-12 11:03:00 +08:00
docusaurus.config.js chore(v2): mention about docs home page in init templates (#2763) 2020-05-18 13:14:06 +08:00
gitignore misc(v2): nitpicky formatting 2019-12-04 00:55:52 -08:00
package.json chore(v2): replace classnames with clsx (#2895) 2020-06-07 13:40:06 +08:00
README.md misc(v2): nitpicky formatting 2019-12-04 00:55:52 -08:00
sidebars.js çhore(v2): revert changes 2020-05-13 13:32:04 -03: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=true 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.