cli + tui to publish to leaflet (wip) & manage tasks, notes & watch/read lists 馃崈
charm
leaflet
readability
golang
1---
2sidebar_position: 2
3---
4
5# Create a Document
6
7Documents are **groups of pages** connected through:
8
9- a **sidebar**
10- **previous/next navigation**
11- **versioning**
12
13## Create your first Doc
14
15Create a Markdown file at `docs/hello.md`:
16
17```md title="docs/hello.md"
18# Hello
19
20This is my **first Docusaurus document**!
21```
22
23A new document is now available at [http://localhost:3000/docs/hello](http://localhost:3000/docs/hello).
24
25## Configure the Sidebar
26
27Docusaurus automatically **creates a sidebar** from the `docs` folder.
28
29Add metadata to customize the sidebar label and position:
30
31```md title="docs/hello.md" {1-4}
32---
33sidebar_label: 'Hi!'
34sidebar_position: 3
35---
36
37# Hello
38
39This is my **first Docusaurus document**!
40```
41
42It is also possible to create your sidebar explicitly in `sidebars.js`:
43
44```js title="sidebars.js"
45export default {
46 tutorialSidebar: [
47 'intro',
48 // highlight-next-line
49 'hello',
50 {
51 type: 'category',
52 label: 'Tutorial',
53 items: ['tutorial-basics/create-a-document'],
54 },
55 ],
56};
57```