Commit graph

12 commits

Author SHA1 Message Date
Tolaria
4421378529 Merge action-points feature: interactive checklist w/ kill switch
All checks were successful
Deploy Docs / deploy (push) Successful in 14s
Brings in the interactive action-points checklist (nav badges, heading
pills, first-load totals manifest, confetti) with:
- a zensical.toml kill switch ([project.extra.action_points] enabled)
- perf fixes (store cache, in-place badge updates, pooled confetti)
- white-on-green legibility fix

Conflicts resolved below.

# Conflicts:
#	.forgejo/workflows/docs.yml
#	docs/stylesheets/extra.css
2026-06-03 23:48:33 +08:00
Tolaria
5e0f482db1 ci: use uv to provision Python 3.12, fixing zensical build on py3.9 runner
All checks were successful
Deploy Docs / deploy (push) Successful in 14s
2026-06-03 23:24:07 +08:00
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
f7abb6bf42 ci: install python3-venv inside python:3.12 container
Some checks failed
Deploy Docs / deploy (push) Failing after 26s
2026-06-03 22:56:04 +08:00
Tolaria
6e1cdf4018 ci: use python:3.12 container to satisfy >=3.12
Some checks failed
Deploy Docs / deploy (push) Failing after 17s
2026-06-03 22:55:03 +08:00
Tolaria
a3ec22a70a ci: pin runner to node:22 and drop apt-get bootstrap
Some checks are pending
Deploy Docs / deploy (push) Waiting to run
2026-06-03 22:54:09 +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