Commit Graph

17 Commits

Author SHA1 Message Date
Bingxi Zhao (Frank)
0df704075d docs: sync generated HTTP route index with latest dev 2026-12-01 07:50:43 -05:00
Gavin.Guohao.Wu
53dc370f53 docs: restructure quickstart and add model setup guide (#3041)
* Add repository code owner

* ci(maintainers): add maintainer-only Issue/PR slash command workflow

* chore(maintainers): add initial 6 maintainers to allowlist

* ci(labeler): add restrained top-2 PR module auto-labeler

* ci(labeler): enforce v1.7.0 PR ownership and reviewer routing rule

* docs: restructure quickstart and add model setup guide

* ci(labeler): mirror requested reviewers into assignees on PRs

* docs: add screenshots and replace placeholders in getting started and models documentation

---------

Co-authored-by: Bingxi Zhao <150592536+pancacake@users.noreply.github.com>
Co-authored-by: Bingxi Zhao (Frank) <13051345080@163.com>
Co-authored-by: Gavin <Gavin.Guohao.Wu_sa@kingland.com>
2026-12-01 07:46:28 -05:00
eva123abroad-bit
1cc41fccd0 docs: clarify desktop quickstart model setup in English and Chinese
Explain API-key and account sign-in routes, provider-to-model setup,
applying defaults, and a first English-writing learning exchange.
2026-11-27 19:28:39 +08:00
AleFlyX
61e1be8d2f fix: two reference defects the contract tests surfaced
Both are in the rewritten HTTP reference and both are the kind of thing a
reader trusts because the page looks authoritative.

**A path that is not served.** The Partners Manager block lists
`GET /api/channels/schema/schema`; the router mounts `/api/partners/channels/schema`.
Anyone following that table got a 404.

**A heading for a router that serves nothing over HTTP.** `question:router` is
mounted at `/api/question` and owns no HTTP endpoints — its module's endpoints
live on `question_notebook:router`, and the socket half is on `/ws/questions`.
The generator emitted a section with an empty table anyway, so the page
advertised a prefix that answers nothing. Skip routers with no patterns and
regenerate; the heading disappears from both locales.
2026-11-26 21:39:05 +08:00
Gavin
ab7271b250 fix(docs): remove unbalanced braces and dead rules in landing.css 2026-11-26 15:23:09 +08:00
Gavin
c8c751365a docs: port remaining PR #2923 fixes and provider descriptions after rebase 2026-11-26 15:17:05 +08:00
Gavin
947b374eb6 refactor: remove unused landing page components and social links 2026-11-26 15:11:14 +08:00
Gavin
bba2f9d7a3 ci: add automated github pages deployment for PR documentation previews 2026-11-26 15:11:14 +08:00
Gavin
0bd4eaa5c3 docs: refine tutorial content for clarity and consistency across multiple learning materials 2026-11-26 15:11:14 +08:00
Gavin
c16af712f8 docs: replace TODO comments with corresponding screenshots in learning materials 2026-11-26 15:11:14 +08:00
Gavin
9891b3855f docs: add GIFs update script and enhance documentation with new tutorials for visual learning 2026-11-26 15:11:14 +08:00
Gavin
c9e6133377 docs: enhance learning materials and workspace documentation with new tutorials and improved structure 2026-11-26 15:11:14 +08:00
Gavin
2524de09ac docs: update documentation links and add CI workflow for building and checking the docs site 2026-11-26 15:11:14 +08:00
Gavin
74f29f83a0 docs: refactor documentation structure and content for clarity and organization 2026-11-26 15:09:15 +08:00
AleFlyX
91aa26873b docs: align install, provider and troubleshooting text with 1.7.4
Second batch of accuracy fixes. These are places the docs described
something that is no longer true, rather than examples that fail
outright.

Version. Every page said 1.7.0; the current release is 1.7.4, and
`deeptutor/__version__.py` agrees. The module layout was introduced in
1.7.0 and hasn't changed since (1.7.1-1.7.3 were README and translation
work, 1.7.4 was the desktop signing-key release), so prose now says
"1.7.x family" and the copy-paste pins say 1.7.4. Checked the whole
family is on PyPI at 1.7.4 and that `deeptutor` 1.7.4 still carries the
`full` extra. 1.6.15 stays as the migration source everywhere.

Settings page claimed a `/settings/mcp` redirect that doesn't exist in
`web/next.config.js`, so readers got "This settings page is
unavailable." Points at `/space/mcp` instead, which is where the store
actually lives.

Theme count said four. `AppearanceSettingsSection.tsx` renders five
tiles: System, Default, Cream, Dark, Glass.

Node floor said "20+". `next` in `web/package-lock.json` wants
`>=20.9.0`.

Provider tables were missing whole entries users can configure:
xAI (`provider_registry.py:632`) from the LLM table, Mistral from
embeddings, You.com and Google Browser Scraper from search.

Troubleshooting quoted four error strings that don't exist in the code:
"Address already in use", "Embedding dimension mismatch", "Failed to
fetch /models", and "Cannot decode JWT". Replaced with the real
user-visible wording or the actual symptom, and corrected the
"Re-index now" button label to "Re-index".

All changes applied to English and the zh-cn mirror. Build passes
(117 pages), locale pairing intact, every provider icon reference
resolves to a file on disk.
2026-11-24 23:33:02 +08:00
AleFlyX
7320433b9c docs: fix four accuracy bugs in the public docs site
Four things the docs told users that the code does not do.

`cli/server-api.md`: the WebSocket `start_turn` example was missing
`protocol_version`, so a client copied from it is rejected before the turn
ever starts. Every client frame on `/ws` needs `"2.0"`. The same paragraph
also said `skills` was ignored — it narrows the turn against the workspace
allowlist, so `read_skill` sees the selection, not every visible skill.

Four `/api/v1/...` paths did not exist. DeepTutor mounts no `/api/v1` prefix,
so these 404:

  /api/v1/multi-user/admin/skills/install  ->  /api/multi-user/...
  /api/v1/memory/runs/start                ->  /api/memory/...
  /api/v1/partners/channels/schema         ->  /api/partners/...  (x2 pages)

The third-party URLs in `get-started/providers.md` (OpenRouter, Lemonade)
are left alone — those are other people's `/api/v1`.

`cli/commands.md` and `cli/chat-repl.md`: notebook examples passed the
notebook name where the CLI takes the 8-character id. `add-md` skips the
write on an unknown id and still prints a green success line, so the
example looked like it worked. Now uses an id placeholder and explains
that only `create` takes a name, while `replace-md`, `remove-record` and
`show` exit non-zero.

All four fixes are applied to the English pages and the zh-cn mirror.

Verified with `astro build` (117 pages, clean) and the EN/ZH pairing check
(no orphan files on either side).
2026-11-24 22:45:05 +08:00
Bingxi Zhao (Frank)
9194dbdd53 docs: add public Astro/Starlight documentation site 2026-11-23 23:57:39 -07:00