Skip to content

Commit cd07b8e

Browse files
authored
Merge pull request #24 from sfuosdev/issue-23/change-readme
Issue 23/change readme
2 parents da68706 + 1ce55e1 commit cd07b8e

File tree

2 files changed

+50
-1
lines changed

2 files changed

+50
-1
lines changed

README.md

Lines changed: 50 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,25 @@
1-
# SFU Open Source Development Club Documentation
1+
<h4 align="center">
2+
<br> <img src="static/img/logo.png" alt="osdev logo">
3+
<img src="static/img/docusaurus.png" alt="docusaurus logo"></a>
4+
</h4>
5+
6+
<h4 align="center">SFU Open-source Development Club
7+
<br>SFU Open-source Development Club Documentation</h4>
8+
<div align="center">
9+
<br>
10+
<a href=".">
11+
<img src="https://github.com/sfuosdev/Docs/actions/workflows/deploy.yml/badge.svg"/>
12+
</a>
13+
</div>
14+
</h4>
15+
16+
<p align="center">
17+
<a href="#what-is-this">What is this?</a> •
18+
<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?
223

324
This SFU OS Dev Documentation tool is built using [Docusaurus](https://docusaurus.io/), a modern static website generator and hosted by Github Page.
425

@@ -14,4 +35,32 @@ Thank you for your contributions and continued support!
1435

1536
All the documentation needs to be done in markdown format and upload it to <code>docs</code> folder.
1637

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+
1766
To contribute, please submit a Pull Request. Our executive team will review and confirm your submissions before they are published.

static/img/logo.png

11.2 KB
Loading

0 commit comments

Comments
 (0)