Repository navigation
docs: slim the documentation tree - #2369
Merged
Merged
Conversation
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.
Deploying pi-desktop with
|
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Slims
docs/from 1180 files / 22.4 MB to ~790 files / ~12 MB.spec/06-delivery/e2e/(lossless; policy, gates, traceability stay in04-e2e-test-plan.md).decisions-log.md784 KB → 417 KB: ADR-backed entries keep a one-sentence summary; entries without an ADR keep full text. All headings and decision IDs preserved.ADR NNNN §Ncitations resolve.plugin-plan/host-api: 286 pages merged into 24 namespace pages with per-API anchors.chinese-docs-entry-points-only, amends ADR 0079);check-localesrequires the spec index and plugin guide mirrors.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.