Skip to content

tailwoodencat/docusaurus-api-template

Repository files navigation

docusaurus-api-template

for api of

features

env

  • node v16.14+
  • build out folder is build

usage

by makefile

# first run
$ make init

# run local
$ make run
# run local build
$ make runBuild

cli

version of doc

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

Browser support

SEO

Robots file

Sitemap file

writing helper

doc front matter

Admonitions