You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<a href="#purpose-of-this-tool">Purpose of this tool</a> •
19
+
<a href="#how-to-contribute">How to contribute</a>
20
+
</p>
21
+
22
+
### What is this?
2
23
3
24
This SFU OS Dev Documentation tool is built using [Docusaurus](https://docusaurus.io/), a modern static website generator and hosted by Github Page.
4
25
@@ -14,4 +35,32 @@ Thank you for your contributions and continued support!
14
35
15
36
All the documentation needs to be done in markdown format and upload it to <code>docs</code> folder.
16
37
38
+
If you have one markdown file, you have to add up sidebar position at the top of the markdown file like this:
39
+
40
+
```markdown
41
+
---
42
+
sidebar_position: 2
43
+
---
44
+
```
45
+
46
+
If you have multiple markdown files, you should make a folder and add all your markdown files in that folder. Then you have to add up sidebar position at the top of the each markdown file like this:
47
+
48
+
```markdown
49
+
---
50
+
sidebar_position: 2
51
+
---
52
+
```
53
+
54
+
and have to add `_category_.json` file in the folder. The `_category_.json` file should look like this:
55
+
56
+
```json title="_category_.json"
57
+
{
58
+
"label": "Git Documentation",
59
+
"position": 1,
60
+
"link": {
61
+
"type": "generated-index"
62
+
}
63
+
}
64
+
```
65
+
17
66
To contribute, please submit a Pull Request. Our executive team will review and confirm your submissions before they are published.
0 commit comments