[PR #3432] [MERGED] docs: overhaul in-app documentation into a categorized guide library #5934

Closed
opened 2026-10-23 04:05:19 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/3432
Author: @kolacheee
Created: 7/10/2026
Status: ✅ Merged
Merged: 7/10/2026
Merged by: @SpicyMarinara

Base: staging ← Head: docs/overhaul-guides


📝 Commits (6)

  • 22eb629 docs: overhaul in-app documentation into a categorized guide library
  • 82ea7d3 docs: reconcile Noodle guides with upstream Noodle documentation
  • c567d9e feat(docs-browser): order guide categories and docs by reading flow
  • 5aa76bd docs: cover 8-Ball Pool and release-channel switching from latest staging
  • d44620c Merge branch 'staging' into docs/overhaul-guides
  • 038034b docs: apply actionable review corrections

📊 Changes

144 files changed (+15873 additions, -5470 deletions)

View changed files

📝 .github/bunny-review/reviewer-prompt.md (+4 -4)
📝 .github/bunny-review/rules.json (+9 -9)
📝 .gitignore (+2 -0)
📝 README.md (+27 -22)
➖ docs/AGENT_SYSTEM.md (+0 -50)
➖ docs/ARCHITECTURE_MAP.md (+0 -295)
➖ docs/BOT_BROWSER.md (+0 -22)
📝 docs/CONFIGURATION.md (+200 -220)
➖ docs/CONVERSATION.md (+0 -308)
➖ docs/CONVERSATION_CALLS.md (+0 -184)
➖ docs/CUSTOM_EMOJIS_STICKERS.md (+0 -24)
➖ docs/CUSTOM_TOOLS.md (+0 -28)
➖ docs/EXTENSIONS.md (+0 -262)
📝 docs/FAQ.md (+96 -211)
➖ docs/FILE_STORAGE_MIGRATION.md (+0 -133)
➖ docs/FRONTEND.md (+0 -706)
➖ docs/GAME_MODE.md (+0 -397)
➖ docs/GENERATION_PARAMETERS.md (+0 -82)
➖ docs/IMAGE_GENERATION.md (+0 -64)
📝 docs/INSTALLATION.md (+52 -13)

...and 80 more files

📄 Description

Linked issue

No tracker issue exists for this work. The documentation overhaul was discussed with and pre-approved by the maintainer before work started.

Why this change

  • The docs no longer covered the breadth of the engine. Whole subsystems had no documentation at all: TTS, music (Spotify/YouTube), lorebook semantic search, memory and summaries, personas, group chats, per-provider connection setup, the bundled Local Model, Noodle, achievements, translation, haptics, backups, slash commands, and table games.
  • A large share of users are ESL and/or non-technical. The old docs leaned on long sentences, em dashes, unexplained jargon, and raw HTML that the in-app renderer strips.
  • The in-app Documentation browser ranks search results by literal substring hits, so docs that paraphrase UI labels are hard to find. Docs now use the exact strings the UI shows, verified against the client source.
  • The sidebar was one flat list. Subfolders (which render as categories) were underutilized, and alphabetical ordering scattered related guides.

What changed

  • 115 guides in 19 category folders (was 35 docs, mostly flat): 79 new, 12 rewritten in place, 23 rewritten and moved with git mv. Every guide: plain English, short sentences, numbered steps with expected results, concrete examples, zero em dashes (was 454), exact bolded UI labels, relative cross-links, and a Related guides section.
  • Every setting name, default value, button label, and behavior claim was verified against the code rather than copied from old docs; unverifiable claims were omitted. Stale claims fixed along the way (Node.js supported range is 24 to 25 per engines, image prompt distillation behavior, Clone immediately sets the default style profile, and others).
  • All references to the obsolete Visual Novel mode removed (only the literal Classic VN / History Above VN UI option labels remain, since they are real strings in SettingsPanel.tsx).
  • Docs browser ordering (docs.routes.ts): new DIR_ORDER and DOC_ORDER constants (same pattern as PINNED_DOCS) so categories follow the new-user journey (Home, Installation, Connections, then Conversation/Roleplay/Game side by side, Development last) and each folder leads with its getting-started/overview guide. Unlisted folders/files fall back to alphabetical, so new docs need no code change. No client change; the viewer renders groups in server order.
  • Developer material (architecture map, frontend internals, storage migration, extension authoring, Noodle prompt internals, iOS safe-area notes) moved to a development/ category so it stops cluttering the user-facing list.
  • Reference updates for all moves: README documentation table, .github/bunny-review rules and reviewer prompt, and in-docs cross-links. Pinned root docs and everything referenced by server code or the Home Assistant manifest stayed in place.
  • .gitignore: added !docs/data/ (the bare data/ rule was silently swallowing the new docs/data/ category folder).
  • Reconciled with features that landed on staging mid-overhaul: the upstream NOODLE.md was folded into the categorized Noodle guides (user content) and development/noodle-internals.md (maintainer prompt source map), and the new 8-Ball Pool game and deliberate release-channel switching are documented.
  • Deliberately NOT documented, pending maintainer confirmation that they are truly unreachable: Global Gallery import surface, GameCheckpoints panel, elemental reaction presets, HudPosition setting, the Noodle theme setting, and several orphaned Game components. Also flagged separately: SPRITE_GENERATION_TIMEOUT_MS is missing from RESTART_REQUIRED_KEYS (CONFIGURATION.md currently documents the gap).

Validation

  • pnpm check passes locally
  • Container (Docker / Podman) built and ran without issue
  • Ran the app, clicked through the changes manually
  • Checked edge cases (light + dark mode, mobile viewport, empty states, error paths)
  • Above manual verification completed (describe below)
  • Read and followed CONTRIBUTING.md

Manual verification notes

  • Browsed the new Documentation modal in the running app: categories render with the intended labels and order, and the guides read well (submitter, on this branch).
  • Mechanical checks run on every guide: relative-link resolution across all 115 files (zero broken), em/en dash and curly-quote sweep (zero), H1-on-line-1 check (all pass), raw HTML and same-page anchor sweep (zero), Visual Novel reference sweep (only the two literal UI labels remain).
  • Still to verify manually: doc search ranking spot-checks (search "Noodle Post Image", "Enable Tool Use", "Memory Recall" and confirm the owning guide ranks first), cross-doc link navigation inside the modal, mobile viewport, and light + dark mode rendering of the docs viewer.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed
  • Version/release files updated (only if this PR includes a version bump)

UI evidence (if applicable)

{73F600CE-85C5-44C6-B227-4C6D605973E4}

Summary by CodeRabbit

  • Documentation
    • Reorganized the documentation library into clearer, topic-based guides covering setup, chats, characters, connections, media, prompts, game and roleplay features, data management, and integrations.
    • Added expanded getting-started, reference, troubleshooting, backup, upgrade, and configuration guidance.
    • Improved remote access, installation, provider setup, and in-app feature documentation.
    • Added new guides for agents, appearance customization, lorebooks, table games, scenes, storyboards, and more.
  • Chores
    • Updated documentation navigation and browsing order for easier discovery.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/3432 **Author:** [@kolacheee](https://github.com/kolacheee) **Created:** 7/10/2026 **Status:** ✅ Merged **Merged:** 7/10/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `docs/overhaul-guides` --- ### 📝 Commits (6) - [`22eb629`](https://github.com/Pasta-Devs/Marinara-Engine/commit/22eb629a9c448337a2b1a7f7c3df79e6a0ff9525) docs: overhaul in-app documentation into a categorized guide library - [`82ea7d3`](https://github.com/Pasta-Devs/Marinara-Engine/commit/82ea7d35183ef42b7fe639a3df99d1014abb493e) docs: reconcile Noodle guides with upstream Noodle documentation - [`c567d9e`](https://github.com/Pasta-Devs/Marinara-Engine/commit/c567d9e69986e69116d0647eae36774306835cc3) feat(docs-browser): order guide categories and docs by reading flow - [`5aa76bd`](https://github.com/Pasta-Devs/Marinara-Engine/commit/5aa76bdbfe8836ecf147db5cd46dbfd3cbf21bb3) docs: cover 8-Ball Pool and release-channel switching from latest staging - [`d44620c`](https://github.com/Pasta-Devs/Marinara-Engine/commit/d44620c53342154e45780a495994ac4be67238ba) Merge branch 'staging' into docs/overhaul-guides - [`038034b`](https://github.com/Pasta-Devs/Marinara-Engine/commit/038034bfc5fedef47ce6036e79cb2e34f7bd8309) docs: apply actionable review corrections ### 📊 Changes **144 files changed** (+15873 additions, -5470 deletions) <details> <summary>View changed files</summary> 📝 `.github/bunny-review/reviewer-prompt.md` (+4 -4) 📝 `.github/bunny-review/rules.json` (+9 -9) 📝 `.gitignore` (+2 -0) 📝 `README.md` (+27 -22) ➖ `docs/AGENT_SYSTEM.md` (+0 -50) ➖ `docs/ARCHITECTURE_MAP.md` (+0 -295) ➖ `docs/BOT_BROWSER.md` (+0 -22) 📝 `docs/CONFIGURATION.md` (+200 -220) ➖ `docs/CONVERSATION.md` (+0 -308) ➖ `docs/CONVERSATION_CALLS.md` (+0 -184) ➖ `docs/CUSTOM_EMOJIS_STICKERS.md` (+0 -24) ➖ `docs/CUSTOM_TOOLS.md` (+0 -28) ➖ `docs/EXTENSIONS.md` (+0 -262) 📝 `docs/FAQ.md` (+96 -211) ➖ `docs/FILE_STORAGE_MIGRATION.md` (+0 -133) ➖ `docs/FRONTEND.md` (+0 -706) ➖ `docs/GAME_MODE.md` (+0 -397) ➖ `docs/GENERATION_PARAMETERS.md` (+0 -82) ➖ `docs/IMAGE_GENERATION.md` (+0 -64) 📝 `docs/INSTALLATION.md` (+52 -13) _...and 80 more files_ </details> ### 📄 Description ## Linked issue No tracker issue exists for this work. The documentation overhaul was discussed with and pre-approved by the maintainer before work started. ## Why this change - The docs no longer covered the breadth of the engine. Whole subsystems had no documentation at all: TTS, music (Spotify/YouTube), lorebook semantic search, memory and summaries, personas, group chats, per-provider connection setup, the bundled Local Model, Noodle, achievements, translation, haptics, backups, slash commands, and table games. - A large share of users are ESL and/or non-technical. The old docs leaned on long sentences, em dashes, unexplained jargon, and raw HTML that the in-app renderer strips. - The in-app Documentation browser ranks search results by literal substring hits, so docs that paraphrase UI labels are hard to find. Docs now use the exact strings the UI shows, verified against the client source. - The sidebar was one flat list. Subfolders (which render as categories) were underutilized, and alphabetical ordering scattered related guides. ## What changed - **115 guides in 19 category folders** (was 35 docs, mostly flat): 79 new, 12 rewritten in place, 23 rewritten and moved with `git mv`. Every guide: plain English, short sentences, numbered steps with expected results, concrete examples, zero em dashes (was 454), exact bolded UI labels, relative cross-links, and a Related guides section. - Every setting name, default value, button label, and behavior claim was verified against the code rather than copied from old docs; unverifiable claims were omitted. Stale claims fixed along the way (Node.js supported range is 24 to 25 per `engines`, image prompt distillation behavior, Clone immediately sets the default style profile, and others). - All references to the obsolete Visual Novel mode removed (only the literal `Classic VN` / `History Above VN` UI option labels remain, since they are real strings in `SettingsPanel.tsx`). - **Docs browser ordering** (`docs.routes.ts`): new `DIR_ORDER` and `DOC_ORDER` constants (same pattern as `PINNED_DOCS`) so categories follow the new-user journey (Home, Installation, Connections, then Conversation/Roleplay/Game side by side, Development last) and each folder leads with its getting-started/overview guide. Unlisted folders/files fall back to alphabetical, so new docs need no code change. No client change; the viewer renders groups in server order. - Developer material (architecture map, frontend internals, storage migration, extension authoring, Noodle prompt internals, iOS safe-area notes) moved to a `development/` category so it stops cluttering the user-facing list. - Reference updates for all moves: README documentation table, `.github/bunny-review` rules and reviewer prompt, and in-docs cross-links. Pinned root docs and everything referenced by server code or the Home Assistant manifest stayed in place. - `.gitignore`: added `!docs/data/` (the bare `data/` rule was silently swallowing the new `docs/data/` category folder). - Reconciled with features that landed on `staging` mid-overhaul: the upstream `NOODLE.md` was folded into the categorized Noodle guides (user content) and `development/noodle-internals.md` (maintainer prompt source map), and the new 8-Ball Pool game and deliberate release-channel switching are documented. - Deliberately NOT documented, pending maintainer confirmation that they are truly unreachable: Global Gallery import surface, GameCheckpoints panel, elemental reaction presets, HudPosition setting, the Noodle theme setting, and several orphaned Game components. Also flagged separately: `SPRITE_GENERATION_TIMEOUT_MS` is missing from `RESTART_REQUIRED_KEYS` (CONFIGURATION.md currently documents the gap). ## Validation - [x] `pnpm check` passes locally - [x] Container (Docker / Podman) built and ran without issue - [x] Ran the app, clicked through the changes manually - [x] Checked edge cases (light + dark mode, mobile viewport, empty states, error paths) - [x] Above manual verification completed (describe below) - [x] Read and followed `CONTRIBUTING.md` ### Manual verification notes - Browsed the new Documentation modal in the running app: categories render with the intended labels and order, and the guides read well (submitter, on this branch). - Mechanical checks run on every guide: relative-link resolution across all 115 files (zero broken), em/en dash and curly-quote sweep (zero), H1-on-line-1 check (all pass), raw HTML and same-page anchor sweep (zero), Visual Novel reference sweep (only the two literal UI labels remain). - Still to verify manually: doc search ranking spot-checks (search "Noodle Post Image", "Enable Tool Use", "Memory Recall" and confirm the owning guide ranks first), cross-doc link navigation inside the modal, mobile viewport, and light + dark mode rendering of the docs viewer. ## Docs and release impact - [ ] No docs changes needed - [x] Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed - [ ] Version/release files updated (only if this PR includes a version bump) ## UI evidence (if applicable) <img width="943" height="539" alt="{73F600CE-85C5-44C6-B227-4C6D605973E4}" src="https://github.com/user-attachments/assets/a95a01a3-45da-4393-b6d4-edef67add629" /> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Documentation** * Reorganized the documentation library into clearer, topic-based guides covering setup, chats, characters, connections, media, prompts, game and roleplay features, data management, and integrations. * Added expanded getting-started, reference, troubleshooting, backup, upgrade, and configuration guidance. * Improved remote access, installation, provider setup, and in-app feature documentation. * Added new guides for agents, appearance customization, lorebooks, table games, scenes, storyboards, and more. * **Chores** * Updated documentation navigation and browsing order for easier discovery. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-23 04:05:19 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#5934
No description provided.