This is a template for a Docusaurus site. It is a simple site with a few pages and a blog.
including following features:
docs
directory.Generate sidebar based on the files in the docs
directory.
npm run generateSidebar
docs
directory and save it to the sidebars.json
file in root directory.Start the development server.
npm run start
Build the site.
npm run build
Serve the site.
npm run serve
npm run docusaurus docs:version {version}
versioned_docs
directory.versions.json
file in the root directory.versioned_sidebars
file in the root directory.npm run docusaurus gen-api-docs all