Notes on NTU's SC2006 Software Engineering module:
docs/
index.md # Note index.
topic/
concept.md # Notes for a topic.
subtopic/
concept.md # Notes for a subtopic.
Contributions are welcome! Follow these steps to add or update notes:
-
Clone the repository:
git clone https://github.com/mrzzy/ntu-sc2006-notes.git cd ntu-sc2006-notes
-
Install dependencies:
pip install -r requirements.txt
-
Start the local server:
mkdocs serve
-
Preview the notes at
http://127.0.0.1:8000/
. -
Generate the site and export a PDF:
mkdocs build
The generated PDF is located at
site/pdf/document.pdf
.
-
Create a Markdown File:
- Place your file under the relevant folder in
docs/
. - Add a
title
field in the YAML metadata at the top of the file.
Example:--- title: Singleton Pattern ---
- Place your file under the relevant folder in
-
Organize by Folder:
- Group related topics and subtopics:
docs/ design-patterns/ singleton.md observer.md
- Group related topics and subtopics:
-
Run Formatting and Spelling Checks:
-
Preview Locally:
- Run
mkdocs serve
to ensure everything looks correct.Disable PDF Output (Optional): If working on content unrelated to PDF generation, disable the PDF plugin by commenting it out in
mkdocs.yml
to speed things up:# - with-pdf: # cover_subtitle: NTU SC2006 Software Engineering Notes # copyright: "© SC2006 Docs Team"
- Run
-
Submit a Pull Request:
- Commit and push changes:
git checkout -b add-notes git commit -am "Add notes on Singleton Pattern" git push origin add-notes
- Open a pull request and describe your changes.
- Commit and push changes:
See the LICENSE file for details.