Skip to content

docs: slim the documentation tree - #2369

Merged
vastsa merged 1 commit into
mainfrom
docs/slim-docs-tree
Nov 16, 2026
Merged

vastsa merged 1 commit into
mainfrom
docs/slim-docs-tree

Conversation

@vastsa

@vastsa vastsa commented Nov 16, 2026

Copy link
Copy Markdown
Owner

Slims docs/ from 1180 files / 22.4 MB to ~790 files / ~12 MB.

  • E2E plan split into per-domain catalogs under spec/06-delivery/e2e/ (lossless; policy, gates, traceability stay in 04-e2e-test-plan.md).
  • decisions-log.md 784 KB → 417 KB: ADR-backed entries keep a one-sentence summary; entries without an ADR keep full text. All headings and decision IDs preserved.
  • ADRs 1.67 MB → 0.93 MB: decision and key consequences kept, validation/implementation logs dropped, fully superseded records reduced to stubs. Section headings kept so ADR NNNN §N citations resolve.
  • plugin-plan/host-api: 286 pages merged into 24 namespace pages with per-API anchors.
  • Chinese locale keeps entry points only (new ADR chinese-docs-entry-points-only, amends ADR 0079); check-locales requires the spec index and plugin guide mirrors.
  • Removed orphaned assets/records; READMEs use docs/public/readme/*.webp.

Retired long-form text remains in git history.

Checks run locally: check-locales, check-docs (521 pages), docs script tests (14/14), builtin-commands.test.mjs, check-agent-policy, check-pr-base, vitepress build (no dead links). No application code changed; no Electron E2E run.

The docs tree had grown to 22 MB across 1180 files: a full Chinese
mirror of every specification, a 1.4 MB single-file E2E plan, a 784 KB
decisions log, 286 near-identical host API pages, duplicated README
images, and orphaned planning records. Most of it was maintenance load
rather than reading material.

Split the E2E plan into per-domain catalogs under spec/06-delivery/e2e,
compress ADR-backed decisions-log entries and the ADR records to their
decisions and key consequences, merge host-api pages per namespace, keep
Chinese pages for entry points only (ADR chinese-docs-entry-points-only,
with check-locales enforcing the required pages), and drop orphaned
assets and records. Retired long-form text remains in git history.
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying pi-desktop with  Cloudflare Pages  Cloudflare Pages

Latest commit: b188273
Status: ✅  Deploy successful!
Preview URL: https://f735456b.pi-desktop.pages.dev
Branch Preview URL: https://docs-slim-docs-tree.pi-desktop.pages.dev

View logs

@vastsa
vastsa merged commit fad88dd into main Nov 16, 2026
6 of 7 checks passed
@vastsa
vastsa deleted the docs/slim-docs-tree branch November 16, 2026 03:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant