Commit graph

7 commits

Author SHA1 Message Date
Tolaria
69f69be5e4 fix(action-points): correct nav badges, first-load totals, legibility
- Fix nav badge mis-targeting: scope to .md-nav--primary, skip #anchor
  (TOC) links so 'On this page' entries no longer show the page total;
  detect active-leaf sections via md-nav__item--nested instead of the
  secondary (TOC) nav, so the active page gets its own badge.
- Add build-time totals manifest (main.py -> docs/javascripts/toa-totals.json)
  so nav badges show correct totals on first load before a user has
  visited each page. Fetched once, browser-cached, zero runtime cost.
  Wired into CI before zensical build.
- Exclude fenced code blocks when counting tasks, so the Markdown
  reference doc's example checkboxes don't produce a phantom 0/3 badge.
- Force white text (#fff !important) on completed green pills/badges,
  incl. badge-inside-complete-link, to beat the nav link's green color.
- Convert prose practice/strategy steps into interactive tasklist items.
- Add action-points PRD under planning/.
2026-06-03 23:03:17 +08:00
Tolaria
69119f347d feat: add wiki link support ([[page]]) via custom Python-Markdown extension
Some checks failed
Deploy Docs / deploy (push) Failing after 24s
- New package _extensions/wikilinks.py: preprocessor that converts
  [[Page Name]], [[Page|Text]], [[Page#anchor|Text]], and ![[img]]
  to standard Markdown links before parsing
- Skips wiki links inside fenced/inline code blocks
- Slugifies targets: lowercase, spaces→hyphens
- Registered as markdown extension in zensical.toml
- Updated CI workflow to pip install -e . for the _extensions package
- First usage: [[docs/contributing/index]] in markdown.md
2026-06-03 20:07:25 +08:00
Tolaria
7c1143befc fix: use venv for pip install to avoid externally-managed-environment
All checks were successful
Deploy Docs / deploy (push) Successful in 23s
2026-06-03 18:17:17 +08:00
Tolaria
8491b0f751 fix: install python3 via apt in node:22 runner image
Some checks failed
Deploy Docs / deploy (push) Failing after 11s
2026-06-03 17:59:43 +08:00
Tolaria
b042f43cdd fix: use system python3 instead of setup-python action
Some checks failed
Deploy Docs / deploy (push) Failing after 4s
2026-06-03 17:40:53 +08:00
Tolaria
1ca6266464 fix: change runs-on to ubuntu-latest to match runner label
Some checks failed
Deploy Docs / deploy (push) Failing after 41s
2026-06-03 17:37:06 +08:00
Tolaria
54e74a0f04 ci: forgejo actions workflow to build zensical and deploy to pages 2026-06-03 17:31:53 +08:00