docusaurus/packages/docusaurus-init/templates/bootstrap
Anshul Goyal a51a56ec42
feat(v2): add support for serve command (#3080)
* add support for serve command

* add serve to init

* use existing choosePort function

* add --host

* add more docs

* add docs to deployment
2020-07-20 19:00:37 +02:00
..
blog feat(v2): bootstrap theme blog post page (#2591) 2020-04-15 10:03:23 +08:00
docs misc: minor improvements for init templates (#2802) 2020-05-24 19:47:04 +08:00
src/pages chore(v2): mention about docs home page in init templates (#2763) 2020-05-18 13:14:06 +08:00
static feat(v2): add nojekyll file to static folder for all templates (#2902) 2020-06-08 09:45:57 +08:00
.gitignore
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
package.json feat(v2): add support for serve command (#3080) 2020-07-20 19:00:37 +02:00
README.md
sidebars.js feat(v2): bootstrap doc paginator (#2734) 2020-05-17 22:51:03 +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=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.