Create a Document
Documents are groups of pages connected through:
- a sidebar
- previous/next navigation
- versioning
#
Create your first DocCreate a markdown file at docs/hello.md
:
docs/hello.md
A new document is now available at http://localhost:3000/docs/hello
.
#
Configure the SidebarDocusaurus automatically creates a sidebar from the docs
folder.
Add metadatas to customize the sidebar label and position:
docs/hello.md
It is also possible to create your sidebar explicitly in sidebars.js
:
sidebars.js