for api of
docusaurus
2.1+ https://docusaurus.io/docs- close
blog
, and keepdocs
- support
remark-math
- support
rehype-katex
- support
mermaid
https://mermaid.js.org/#/./n00b-syntaxReference - hidden and foldable side column record
- TOC of mardown support
level 2
(docusaurus support level 2-6) sitemap
auto buildideal-image
https://docusaurus.io/docs/api/plugins/@docusaurus/plugin-ideal-image- add docusaurus-search-local, at
build
version
- node
v16.14+
- build out folder is
build
# first run
$ make init
# run local
$ make run
# run local build
$ make runBuild
website
├── sidebars.json # sidebar for the current docs version
├── docs # docs directory for the current docs version
│ ├── foo
│ │ └── bar.md # https://mysite.com/docs/next/foo/bar
│ └── hello.md # https://mysite.com/docs/next/hello
├── versions.json # file to indicate what versions are available
├── versioned_docs
│ ├── version-1.1.0
│ │ ├── foo
│ │ │ └── bar.md # https://mysite.com/docs/foo/bar
│ │ └── hello.md
│ └── version-1.0.0
│ ├── foo
│ │ └── bar.md # https://mysite.com/docs/1.0.0/foo/bar
│ └── hello.md
├── versioned_sidebars
│ ├── version-1.1.0-sidebars.json
│ └── version-1.0.0-sidebars.json
├── docusaurus.config.js
└── package.json
static/robots.txt
- https://docusaurus.io/docs/seo#robots-file
- has support after build
- https://docusaurus.io/docs/seo#sitemap-file