|
1 | 1 | --- |
| 2 | +title: Create a Doc |
2 | 3 | id: create-doc |
3 | 4 | description: Create a Markdown Document |
4 | 5 | slug: /create-doc |
5 | 6 | --- |
6 | 7 |
|
7 | | -# Create a Doc |
8 | | - |
9 | 8 | To create your first documentation page in **CodeHarborHub**, simply add a new Markdown file inside the `docs` directory. |
10 | 9 | For example, create a file called **`greeting.md`**: |
11 | 10 |
|
@@ -45,7 +44,7 @@ You can configure TOC heading levels globally or per document. |
45 | 44 |
|
46 | 45 | <AdsComponent /> |
47 | 46 |
|
48 | | -## ⚡ Doc Front Matter {#doc-front-matter} |
| 47 | +## Doc Front Matter {#doc-front-matter} |
49 | 48 |
|
50 | 49 | The [front matter](https://docusaurus.io/docs/markdown-features#front-matter) |
51 | 50 | adds metadata to your doc. It’s optional, but useful for features like tags or custom URLs. |
@@ -75,7 +74,7 @@ CodeHarborHub: |
75 | 74 |
|
76 | 75 | <AdsComponent /> |
77 | 76 |
|
78 | | -## 📁 Organizing Folder Structure {#organizing-folder-structure} |
| 77 | +## Organizing Folder Structure {#organizing-folder-structure} |
79 | 78 |
|
80 | 79 | Your docs folder layout affects document IDs and URLs, but you can override defaults with front matter. |
81 | 80 |
|
@@ -142,11 +141,11 @@ Welcome to the CodeHarborHub Documentation! |
142 | 141 |
|
143 | 142 | --- |
144 | 143 |
|
145 | | -### 🗂 Sidebars {#sidebars} |
| 144 | +### Sidebars {#sidebars} |
146 | 145 |
|
147 | 146 | If you use [autogenerated sidebars](./sidebar/autogenerated.mdx), |
148 | 147 | your folder structure determines the sidebar hierarchy. |
149 | 148 |
|
150 | 149 | **Recommended practice:** |
151 | 150 | Mirror your folder layout to your desired sidebar structure, |
152 | | -and use the `slug` front matter to customize URLs as needed. |
| 151 | +and use the `slug` front matter to customize URLs as needed. |
0 commit comments