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:
uv venv. - Activate it:
source .venv/bin/activate. - Install dependencies:
uv sync. - Run
makeon its own to see a list of common commands.
| make task | effect |
|---|---|
| build | render HTML pages |
| check | check structure and content |
| clean | clean up |
| commands | show available commands (default) |
| links | check links in published site |
| serve | serve generated HTML |
| spelling | check for unknown words |
| untab | remove tabs in Markdown files |
Structure
- Lessons are in
slugdirectoriesslugis short mnemonic- Each lesson must have an
index.mdfile containing its content - And may also have a
slides.mdfile with Shower slides
- Use
@/some/path/for internal links- The leading
@is translated into a relative reference to the project root
- The leading
- The Markdown link definitions in
extras/links.mdare appended to all Markdown files- This helps ensure consistent link URLs across pages
- The home page for the site is generated from
README.md- The navigation menus for lessons and appendices are generated from
the
lessonsandappendicesdivelements inREADME.md
- The navigation menus for lessons and appendices are generated from
the
- Diagrams should be SVG files created with draw.io
bibliography/index.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/index.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 CSS and JavaScript files - The
templatesdirectory contains Jinja templates used to generate HTMLpage.htmlis used for website pagesslides.htmlis used for slideshows
FAQ
- Do you need help?
- Yes—please see the issues in our repository.
- What sort of feedback would be useful?
- Everything is welcome, from pointing out mistakes to suggestions for better explanations.
- Can I add a new section?
- Possibly, but please reach out before doing so.
- Why is this material free?
- Because if we all give a little, we all get a lot.