Commit Graph

13 Commits

Author SHA1 Message Date
_Kerman 326ba77f32 docs(website): read guide module facts from one per-locale record 2026-08-13 12:19:22 +08:00
_Kerman 00933877f0 docs(website): make module rows direct links 2026-08-13 12:07:30 +08:00
_Kerman f0afc4536d docs(website): link guide sidebar modules 2026-08-13 11:59:05 +08:00
Yichen Jiang d6af042cf7 docs(website): derive navigation targets from the publication manifest
The navigation bar named `/guide/` while the manifest published the guide's
first page at `guide/quickstart.md`, so the item served a 404 in both locales.

`landingLink` resolves each item against `orderedPages`, the ordering the
sidebar already renders, and a test asserts every navigation target is a route
the manifest publishes.
2026-08-12 14:02:29 +08:00
Yichen Jiang 0a2ac90617 docs: fix reference sidebar ordering and group the subsystem pages
The VitePress config declared no position for the subsystem or other-interface
sections, so `indexOf` returned -1 and sorted them ahead of every declared
group: the reference landing page's own sidebar entry sat 1549px below the
fold. Four subsystem pages also shared `order` values with pages in the same
section, resolved only by sort stability and array concatenation order.

Section placement and collapse move into the manifest as a per-locale
declaration, and `sectionSpec` throws for an undeclared section instead of
sorting it silently to the top. Subsystem pages are grouped by concern, the
six topical groups collapse until one holds the page being read, and page
order derives from array position.

The projector drops the language-switcher line and repository badge the
canonical pages carry for their GitHub readers. The navigation bar gains the
DeepSeek wordmark, a release-stage tag, and a favicon; the sidebar scrollbar
rests invisible and appears while scrolling. Subsystem pages carry a two-level
outline, and the two plugin-development tracks now cross-link.
2026-08-12 13:52:27 +08:00
Turtle d00590c707 docs: replace nonexistent repository references 2026-08-11 12:35:38 +08:00
Tianyi Cui 6d09c315b9 cleanup: remove private repository references 2026-08-08 01:10:57 +08:00
Turtle 21456a36ca docs: add hands-on Cordis tutorial
Seven-chapter tutorial under docs/cordis-tutorial/ for agent developers
new to Cordis: first plugin, lifecycle/effects, services, events,
config, composition/HMR, and a final chapter registering a tool against
real harness services. Every transcript was produced by running the
chapter files in a gitignored tmp/ scratch directory.

Published to both website locales as mirrored English pages under a new
'Cordis tutorial' develop-sidebar section; a Chinese pair can be added
later without route changes.
2026-07-22 16:36:48 +08:00
Yichen Jiang 734a45cf66 ci: deploy documentation to GitHub Pages 2026-07-20 18:36:21 +08:00
Yichen Jiang 2b1b598467 docs: restore generated Cordis core API 2026-07-20 16:33:44 +08:00
Yichen Jiang 6be219a0bc fix(docs): address documentation site review 2026-07-13 17:49:30 +08:00
Yichen Jiang d2f810e9fe feat(docs): build maintainable documentation site 2026-07-13 15:38:47 +08:00
lintianle 87a1774fef feat: add docs website 2026-07-09 16:07:58 +08:00