Skip to content

Commit c3890f5

Browse files
authored
Merge pull request #89 from UMLCloudComputing/chore/Update-README
Chore/update readme
2 parents e5b475d + f36d945 commit c3890f5

File tree

1 file changed

+64
-31
lines changed

1 file changed

+64
-31
lines changed

README.md

Lines changed: 64 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ This is the official repo for the UML Cloud Computing Club's website.
1212
The website is implemented using [Docusaurus](https://docusaurus.io/), [MUI](https://mui.com/), and some fundamental [ReactJS](https://react.dev/).
1313

1414

15-
## 👨‍💻 Activities and Resources Contribution Guidelines
15+
## 👨‍💻 Content File Structure & Resources Contribution Workflow
1616
<details>
1717
<summary>View Contents</summary>
18-
To edit the activities sections or the resources section of the website:
18+
To edit the resources section of the website:
1919

2020
1. Create a new branch from the **main** branch
2121
2. Make the appropriate edits within this branch
@@ -33,6 +33,12 @@ All markdown files containing blog details are in **blog/** with the specific bl
3333

3434
All markdown files should follow Docusaurus's guidelines for folder structure for autogenerating the UI and pagination. More details are available at the [Docusaurus Docs](https://docusaurus.io/docs/sidebar/autogenerated) and [Docusaurus Blog](https://docusaurus.io/docs/blog).
3535

36+
37+
> [!IMPORTANT]
38+
> All contributions to the UML Class Sesources section within the the `resources/` folder must follow the *explicitly* provided guidelines and rules in the aptly named file `📒 Guidelines & Rules`.
39+
> Failure to do so will result in your contributions being removed or rejected within PRs!
40+
> These are resources for official UML CS courses and hence will be monitored closely.
41+
3642
</details>
3743

3844
## 🔊 Adding Blogs
@@ -135,11 +141,15 @@ If you're interested in adding any local files to your blog pages, simply place
135141

136142
</details>
137143

138-
## 🛤️ Adding New Repository to Project Docs
144+
## 🛤️ Adding New Repository to Project Docs/Activities Section
139145

140146
<details>
141147
<summary>View Contents</summary>
142148

149+
<details>
150+
<summary>Project Details</summary>
151+
152+
### Project
143153
To add a new project's documentation onto the project docs section of the website, you must meet a few pre-reqs:
144154

145155
1. The project must be a remote git repository (Github, BitBucket, etc)
@@ -150,40 +160,63 @@ To add a new project's documentation onto the project docs section of the websit
150160
└── intro.md | Introduction/
151161
_category_.json
152162
```
153-
3. The project's documentation files must follow [Docusaurus's](https://docusaurus.io/docs/create-doc) doc creation guidelines. <br/> The `_category_.json` file is autogenerated at website build time. The order in which the projects are displayed on the website is determined by the order in which the projects are listed in the `repos.json` file (top to bottom order).
163+
3. The project's documentation files must follow [Docusaurus's](https://docusaurus.io/docs/create-doc) doc creation guidelines. <br/> The `_category_.json` file is autogenerated at website build time. The order in which the projects are displayed on the website is determined by the order in which the projects are listed in the `project_repos.json` file (top to bottom order).
154164
4. Front Matter requirements: All markdown files must have the following front-matter: (`#` is an integer). This will affect the order in which the doc pages are displayed on the website (top to bottom order).
155-
``` text
156-
---
157-
sidebar_position: #
158-
---
159-
```
165+
``` text
166+
---
167+
sidebar_position: #
168+
---
169+
```
160170

161-
Here the label should be your own. The label indicates the labeled name of the folder or subfolder to be shown. IE project name (`My Project`), subsection name (`Excersices`), etc. <br/>
162-
The position value should also be customized to an `integer` representing the position of your folder or subfolder relative to other subfolders.
171+
#### In order to add your project:
172+
1. Create a new branch from the **main** branch
173+
2. Name the branch with the following convention: `feat: Add new project docs: PROJECTNAME` with `PROJECTNAME` being the name of your project.
174+
3. Add your repository to package.json. Add your project as a key-value pair in the `project_repos.json`:
175+
``` json
176+
{
177+
"<Other Project>": "<Other Project Github URL>",
178+
"<Your Project Name>": "<Your Project Github URL>",
179+
}
180+
```
181+
4. Make a Pull Request to merge your branch into **main**. Your project will be added to the website once the PR is approved and merged.
182+
</details>
163183

164-
> [!IMPORTANT]
165-
> Be sure to check the position values of current project docs. Do not place conflicting position values to other projects.<br/> In the example below, both `react-mui-resume` and `rowdybot` cannot have the same position values within their `_category_.json` files. Avoid these conflicts in your `_category_.json` files!
166184

167-
``` shell
168-
react-mui-resume
169-
│ ├── _category_.json
170-
│ └── Intro.md
171-
├── rowdybot
172-
│ ├── _category_.json
173-
│ └── Intro.md
174-
```
185+
<details>
186+
<summary>Activity Details</summary>
187+
188+
### Activity
189+
To add a new activity's instructions onto the activities section of the website, you must meet a few pre-reqs:
175190

176-
### In order to add your project:
191+
1. The activity must be a remote git repository (Github, BitBucket, etc)
192+
2. The activity's repository must contain folder with the following structure: <br/>
193+
``` shell
194+
docs
195+
└── web_docs
196+
└── intro.md | Introduction/
197+
_category_.json
198+
```
199+
3. The activity's documentation files must follow [Docusaurus's](https://docusaurus.io/docs/create-doc) doc creation guidelines. <br/> The `_category_.json` file is autogenerated at website build time. The order in which the activities are displayed on the website is determined by the order in which the projects are listed in the `activity_repos.json` file (top to bottom order).
200+
4. Front Matter requirements: All markdown files must have the following front-matter: (`#` is an integer). This will affect the order in which the doc pages are displayed on the website (top to bottom order).
201+
``` text
202+
---
203+
sidebar_position: #
204+
---
205+
```
206+
207+
### In order to add your activity:
177208
1. Create a new branch from the **main** branch
178-
2. Name the branch with the following convention: `feat: Add new project docs: PROJECTNAME` with `PROJECTNAME` being the name of your project.
179-
3. Add your repository to package.json. Add your project as a key-value pair in the json file:
180-
``` json
181-
{
182-
"<Other Project>": "<Other Project Github URL>",
183-
"<Your Project Name>": "<Your Project Github URL>",
184-
}
185-
```
186-
4. Make a Pull Request to merge your branch into **main**. Your project will be added to the website once the PR is approved and merged.
209+
2. Name the branch with the following convention: `feat: Add new activuty docs: ACTIVITYNAME` with `ACTIVITYNAME` being the name of your project.
210+
3. Add your repository to package.json. Add your project as a key-value pair in the `activity_repos.json`:
211+
``` json
212+
{
213+
"<Other Activity>": "<Other Activity Github URL>",
214+
"<Your Activity Name>": "<Your Activity Github URL>",
215+
}
216+
```
217+
4. Make a Pull Request to merge your branch into **main**. Your activity will be added to the website once the PR is approved and merged.
218+
219+
</details>
187220

188221
</details>
189222

0 commit comments

Comments
 (0)