Contributing
Contributions are very welcome; please contact us by email or by filing an issue in our repository. All contributors must abide by our Code of Conduct.
Setup and Operation
- Install uv.
- Create a virtual environment by running
uv venv --python 3.12in the root directory. - Activate it by running
source .venv/bin/activatein your shell. - Install dependencies by running
uv sync. - This project uses McCole to generate HTML and check the project's structure
- Run
makeon its own to see a list of common commands
| make task | effect |
|---|---|
| build | render HTML pages |
| clean | clean up |
| commands | show available commands (default) |
| links | check links in published site |
| lint | check structure and content |
| serve | serve generated HTML |
Structure
- Lessons are in
nn_slugdirectoriesnnis two-digit sequence numberslugis short mnemonic- Each lesson must have an
index.mdfile containing its content
- Diagrams should be SVG files created with draw.io
bibliography.mdhas the bibliography as a definition list- Citation keys have IDs for linking
- Use an inline HTML link
b:keyin files to create links
glossary.mdhas the glossary as definition list- Reference keys have IDs for linking
- Use an inline HTML link
g:keyin files to create links
- The
staticdirectory contains static files - The
templatesdirectory contains Jinja templates used to generate HTMLpage.html: template for website pages
FAQ
- Do you need any help?
- Yes—please see the issues in our repository.
- What sort of feedback would be useful?
- Everything is welcome, from pointing out mistakes in the code to suggestions for better explanations.
- Can I add a new section?
- Absolutely, but please reach out before doing so.
- Why is this material free to read?
- Because if we all give a little, we all get a lot.