Commit Graph

10 Commits

Author SHA1 Message Date
AleFlyX
ed0ec2a25e test: revive the internal link check
test_internal_docs_links_point_to_existing_pages looked for `/docs/` in the
URL. The reorganized site emits site-absolute paths (`/learning-workspace/chat/`,
`/gifs/x.gif`), so the pattern matched zero links and the test passed on its own
emptiness — the same failure mode as the DOCS_ROOT bug fixed earlier in this
branch.

Resolve each site-absolute link against the page tree, the zh-cn mirror, and
docs/public instead. 804 links across the site resolve, and planting a broken
page link or a broken asset reference fails it.

`check_docs.py dist` still validates the built HTML; this runs in milliseconds
before a build. Keeping both is the point: a fast failure during editing, and
an authoritative one after it.

Also rename the `fenced` variable in the command scan to `source`: it scans the
whole page, which the comment above the pattern already explains.
2026-11-27 00:03:40 +08:00
AleFlyX
b28c58d415 fix: scan the public docs site in the CLI docs contract test
DOCS_ROOT pointed at site/src/content/docs, which this branch's reorganization
replaced with docs/src/content/docs. The checks that use it are guarded with
`.exists()`, so the whole public docs site was skipped without a failing test:
31 files were scanned instead of 147, and none of them were the documentation
readers actually visit.

Point it at the real tree, and assert the tree and the page count so the path
cannot quietly go stale again. Replace the hardcoded list of 19 CLI groups and
the `provider` special case with the exported surface, so a new or renamed
group is followed automatically instead of needing an edit here.
2026-11-26 21:35:16 +08:00
Bingxi Zhao (Frank)
1ea7df1554 docs: consolidate developer and agent handbook 2026-10-29 00:36:18 +08:00
Bingxi Zhao (Frank)
e99d632de5 fix: prepare modular installs and align dev documentation 2026-10-28 19:02:44 +08:00
Bingxi Zhao (Frank)
f8be756906 Integrate saved user workspace changes with reviewed dev updates 2026-10-07 20:37:55 +08:00
Bingxi Zhao (Frank)
04040a2c06 release: v1.6.5
Ship a content workspace you choose, one exec tool for every language,
Mastery Path modes that gate its tools, and Settings that grades
readiness instead of listing faults.

Release notes: assets/releases/ver1-6-5.md
2026-09-06 13:46:29 +08:00
Bingxi Zhao (Frank)
fc39543bc0 feat: integrate frontend backend and canonical routes 2026-09-01 22:24:29 +08:00
Bingxi Zhao (Frank)
7ed16cf48a update tests 2026-06-17 10:30:25 +08:00
Bingxi Zhao (Frank)
171b1cc2d2 release: v1.4.4 — ClawHub skill hub, real KB document previews
A focused cut on top of v1.4.3:

- Skill hub: install community skills from ClawHub (and any compatible
  registry via settings/skill_hubs.json) — provider abstraction in
  services/skill/hub.py, new `deeptutor skill search/install/list/remove`
  CLI, admin-only install endpoint for multi-user (install ≠ assign).
  Every import runs a security gate: hub verdict check, zip-slip/zip-bomb
  guards, text/script suffix whitelist, `always:` frontmatter stripped,
  provenance recorded in .hub-lock.json.
- KB previews: new /knowledge/{kb}/file-preview-text/{filename} endpoint
  serving extracted plain text; KB Files tab renders real in-browser
  DOCX/XLSX previews; DOCX previewer scales pages to fit narrow panels.
- Markdown previews allow safe raster data:image URLs on <img src>
  (react-markdown strips all data: URLs by default); script-capable
  schemes stay blocked.
- All ten localized READMEs re-synced with the English README.
- Docs (deeptutor.info): `deeptutor skill` reference, hub-install notes on
  Space and multi-user pages, KB file routes in the server API table
  (en + zh).
- CLI docs contract test updated for partner/skill subcommands.

Release notes: assets/releases/ver1-4-4.md

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-13 03:58:28 +08:00
Bingxi Zhao (Frank)
ca7916bc57 fix: docs, docker deployment & official web 2026-05-22 20:19:32 +08:00