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.
Style and Structure
- Lessons are written in Markdown and compiled to HTML using the
mccolestatic site generator.- Each lesson should take about an hour to work through.
- 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
- Figures, code inclusions, citations, and glossary references are formatted using
mccoleshortcodes. - 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 HTML
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.