Repository navigation
Contribution and Wiki Maintenance
- Write once, reference everywhere. The module chapter is the source of truth; other pages link to it.
- Derive, don't assert. Every boxed result should be derived or clearly attributed.
- Check every number. Worked examples must be verifiable by hand and ideally by a short script.
- Cite sources at the end of the chapter (authors, year, title, venue; arXiv ID if available).
Use the same H2 headings in every chapter so sidebar anchors keep working:
Overview and learning goals · Beginner: the big picture · Core concepts and derivations · Worked example · Implementation · Advanced topics · Pitfalls and best practices · Conceptual questions and answers · Sources and further reading.
-
Syntax. Write inline math as dollar, backtick, formula, backtick, dollar, and display math inside a fenced code block whose language is
math. GitHub parses these as code before Markdown emphasis, so underscores, asterisks and backslashes in formulas cannot be misread (plain dollar-delimited math broke on formulas such asu_i ... v_j). No space padding inside the delimiters. - Use
\lVert x\rVertand\lvert x\rvert(not|x|) so tables do not break; use\midfor conditioning. -
GitHub restricts which LaTeX macros it renders.
\operatornameis rejected ("The following macros are not allowed"): write\mathrm{softmax}instead. Also avoid\newcommand,\def,\require,\href,\class,\style,\tfrac,\dfrac,\texttt,\boldsymboland\bm(use\mathbf{...}). The linter enforces this list. - Use
alignedinside display math (notalign). No Unicode maths symbols outside math. Do not put equations in ordinary code spans. - Define symbols and tensor shapes next to the equation; follow the notation cheat sheet.
- Diagrams: fenced
mermaidblocks; quote node labels that contain punctuation (A["text (x)"]); no$inside Mermaid. - Figures: store images in
images/and embed them with the raw URL(the build does this automatically); add a caption naming the source. Generate plots with scripts committed tofigures/. - Third-party material: record author, URL, licence and modifications in Figures and attribution; do not copy images with unclear licences.
Use root-relative wiki paths — [text](/OWNER/REPO/wiki/Module-01#core-concepts-and-derivations) — or [[Text|Page-Name]] wiki links. Plain relative links such as (Module-01) depend on the URL of the page that contains them and can break on the wiki root page.
Each chapter ends with Q&A in collapsible blocks (<details> / <summary><b>Qn. ...</b></summary>; leave a blank line after </summary>). Prefer questions that test understanding (derive, compare, diagnose) over recall.
Run the linter before committing:
python3 tools/lint_wiki.py .It checks internal links and anchors, image files, math hazards (odd $, padded inline math, | inside table math, Unicode symbols), duplicate heading slugs, unbalanced code fences/<details>, and Mermaid diagram headers. Then preview a few pages on GitHub (the renderer is the final judge) before pushing.
This folder is a clone of the GitHub wiki repository. Commit and push (git add -A && git commit && git push); GitHub Wikis support one global _Sidebar.md and _Footer.md.
🏠 Home · 🗺️ Curriculum · 🧭 Learning paths · ❓ Question bank · 📖 Glossary · 📚 References · ✏️ Contributing
🏠 Home · 🗺️ Curriculum · 🧭 Learning paths
❓ Question bank · 📖 Glossary · 📚 References
Jump to module:
01 02 03 04 05 06 07 08 09 10 11 12
13 14 15 16 17 18 19 20 21 22 23 24