Documentation site for Malleus Clinical Medicine, built with MkDocs Material and served at docs.malleus.org.au.
Markdown files in docs/ are the canonical source of truth for this content (migrated from the Notion-driven pages on the main site).
python3 -m venv .venv
.venv/bin/pip install -r requirements.txt
.venv/bin/mkdocs serve # live-reloading preview at http://127.0.0.1:8000
.venv/bin/mkdocs build --strict # production build into site/ (fails on broken links)Netlify builds this repo on push (see netlify.toml) and publishes site/ to docs.malleus.org.au. The subdomain is a free CNAME record at the DNS host — no extra domain purchase needed:
CNAME docs -> <netlify-site-name>.netlify.app
docs/getting-started/— install Anki, get the deck (AnkiHub/AnkiCollab tabs), studying, sync issuesdocs/contributing/— contribution workflow, submission guidelines (split by topic), submission checklistdocs/addon/— Malleus Anki Helper add-on: features, installation, usage, configuration, troubleshootingdocs/stylesheets/extra.css— Malleus brand theme; tokens mirrorSHARED_CSSin the website repo'sbuild.py. Keep them in sync.
- Screenshots: pages contain dashed
📷 Screenshot to migrateplaceholders wherever the Notion originals had images — export from Notion and drop intodocs/assets/<section>/as<page>-<subject>.png(kebab-case). Size each image in the markdown at half its pixel width (retina), capped at ~700:{ width="435" }. macOS window captures keep their natural shadow; for flat captures that bleed into the white page, add the.frameclass:{ width="700" .frame } - AnkiCollab: the Get the Deck page has a placeholder tab pending the deck's AnkiCollab publication
- Small
<!-- TODO -->comments mark a few Notion-hosted artefacts (spellcheck dictionary file, Chrome extension link, algorithm-builder content, image-credit HTML snippet) - Addon docs may later move to a
docs/folder in the Malleus-Anki-Addon repo and be pulled in at build time (e.g.mkdocs-multirepo-plugin) - Main site: add a "Docs" link to
nav_html()in the website repo (plus index.html and register.html), and_redirectsentries mapping the old pages (/getting-started.html,/submission-guidelines.html,/checklist.html) to their new homes here