[PR #8612] [MERGED] docs(extending): split the ruleset author guide into nine pages #8703

Closed
opened 2026-11-07 17:39:04 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

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

Base: staging ← Head: claude/project-thread-lsolsa


📝 Commits (2)

  • 3a38d06 docs(extending): split the ruleset author guide into nine pages
  • 967bff9 docs(extending): link prose pointers that the split sent to other pages

📊 Changes

14 files changed (+5750 additions, -5712 deletions)

View changed files

➕ docs/extending/ruleset-catalogs.md (+263 -0)
➕ docs/extending/ruleset-character-builder.md (+717 -0)
➕ docs/extending/ruleset-checks.md (+334 -0)
➕ docs/extending/ruleset-combat.md (+2064 -0)
➕ docs/extending/ruleset-items.md (+665 -0)
➕ docs/extending/ruleset-layers-and-translations.md (+148 -0)
➕ docs/extending/ruleset-mechanics.md (+1168 -0)
➕ docs/extending/ruleset-sheets.md (+366 -0)
📝 docs/extending/writing-rulesets.md (+13 -5708)
📝 packages/server/src/routes/docs.routes.ts (+8 -0)
📝 packages/shared/src/schemas/capability-package.schema.ts (+1 -1)
📝 scripts/regressions/game-ruleset-combat-symbol-pool.regression.ts (+1 -1)
📝 scripts/regressions/game-ruleset-symbol-pool.regression.ts (+1 -1)
📝 scripts/regressions/ruleset-symbol-dice-notation.regression.ts (+1 -1)

📄 Description

Linked issue

No issue: this is the second part of the Game Mode and SRD docs review, after #8609. Translation follow-up: #8610.

Why this change

docs/extending/writing-rulesets.md had grown to 839 KB in one file (178 KB at the start of October). Professor Mari's doc tools skip any doc over 1 MB (MAX_DOC_FILE_BYTES), and the Hindi translation already passes that. Every heading also carried a "(Capability API 1.x)" suffix, which made the table of contents hard to scan.

What changed

  • writing-rulesets.md is now the guide's overview (14 KB): what a ruleset is, the Quickstart, and a "The pages of this guide" list. The Quickstart's full-size example now points at the 5e package in Marinara-Agents instead of the trimmed test fixture.
  • Eight new pages hold the rest, moved as-is: ruleset-checks.md, ruleset-sheets.md, ruleset-catalogs.md, ruleset-mechanics.md, ruleset-character-builder.md, ruleset-items.md, ruleset-combat.md, ruleset-layers-and-translations.md. Each opens with a line back to the overview. The largest, ruleset-mechanics, is 451 KB.
  • Headings lose their "(Capability API 1.x)" suffix. The API versions stay in the body text, where they tell an author what to declare.
  • Every in-guide link points at the page its target moved to.
  • The three regressions that read the symbol-pool example now read it from ruleset-checks.md.
  • The eight pages join DOC_ORDER in docs.routes.ts, and the capability-package.schema.ts comment that pointed at the guide names the new pages.

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

  • Every relative link and anchor in docs/extending, docs/game and docs/development resolves (script check).
  • Passing locally: the three symbol-pool regressions, docs-language, command-center, the professor-mari regressions, and every regression that reads a file under docs/extending/.
  • The only code changes are the DOC_ORDER entries, one schema comment and three regression paths.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README) as needed
  • Translated docs on the docs-i18n branch updated to match, or a [docs-i18n] follow-up issue opened (see CONTRIBUTING.md § Translated documentation): #8610
  • Version/release files updated (only if this PR includes a version bump)

🔄 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/8612 **Author:** [@kolacheee](https://github.com/kolacheee) **Created:** 10/31/2026 **Status:** ✅ Merged **Merged:** 10/31/2026 **Merged by:** [@kolacheee](https://github.com/kolacheee) **Base:** `staging` ← **Head:** `claude/project-thread-lsolsa` --- ### 📝 Commits (2) - [`3a38d06`](https://github.com/Pasta-Devs/Marinara-Engine/commit/3a38d066a740785eb70396fd91c612c0b0db5c08) docs(extending): split the ruleset author guide into nine pages - [`967bff9`](https://github.com/Pasta-Devs/Marinara-Engine/commit/967bff9aa5526de84c59fba6c5958968f2bceb64) docs(extending): link prose pointers that the split sent to other pages ### 📊 Changes **14 files changed** (+5750 additions, -5712 deletions) <details> <summary>View changed files</summary> ➕ `docs/extending/ruleset-catalogs.md` (+263 -0) ➕ `docs/extending/ruleset-character-builder.md` (+717 -0) ➕ `docs/extending/ruleset-checks.md` (+334 -0) ➕ `docs/extending/ruleset-combat.md` (+2064 -0) ➕ `docs/extending/ruleset-items.md` (+665 -0) ➕ `docs/extending/ruleset-layers-and-translations.md` (+148 -0) ➕ `docs/extending/ruleset-mechanics.md` (+1168 -0) ➕ `docs/extending/ruleset-sheets.md` (+366 -0) 📝 `docs/extending/writing-rulesets.md` (+13 -5708) 📝 `packages/server/src/routes/docs.routes.ts` (+8 -0) 📝 `packages/shared/src/schemas/capability-package.schema.ts` (+1 -1) 📝 `scripts/regressions/game-ruleset-combat-symbol-pool.regression.ts` (+1 -1) 📝 `scripts/regressions/game-ruleset-symbol-pool.regression.ts` (+1 -1) 📝 `scripts/regressions/ruleset-symbol-dice-notation.regression.ts` (+1 -1) </details> ### 📄 Description ## Linked issue No issue: this is the second part of the Game Mode and SRD docs review, after #8609. Translation follow-up: #8610. ## Why this change `docs/extending/writing-rulesets.md` had grown to 839 KB in one file (178 KB at the start of October). Professor Mari's doc tools skip any doc over 1 MB (`MAX_DOC_FILE_BYTES`), and the Hindi translation already passes that. Every heading also carried a "(Capability API 1.x)" suffix, which made the table of contents hard to scan. ## What changed - `writing-rulesets.md` is now the guide's overview (14 KB): what a ruleset is, the Quickstart, and a "The pages of this guide" list. The Quickstart's full-size example now points at the 5e package in Marinara-Agents instead of the trimmed test fixture. - Eight new pages hold the rest, moved as-is: `ruleset-checks.md`, `ruleset-sheets.md`, `ruleset-catalogs.md`, `ruleset-mechanics.md`, `ruleset-character-builder.md`, `ruleset-items.md`, `ruleset-combat.md`, `ruleset-layers-and-translations.md`. Each opens with a line back to the overview. The largest, ruleset-mechanics, is 451 KB. - Headings lose their "(Capability API 1.x)" suffix. The API versions stay in the body text, where they tell an author what to declare. - Every in-guide link points at the page its target moved to. - The three regressions that read the `symbol-pool` example now read it from `ruleset-checks.md`. - The eight pages join `DOC_ORDER` in `docs.routes.ts`, and the `capability-package.schema.ts` comment that pointed at the guide names the new pages. ## 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) - [x] Read and followed `CONTRIBUTING.md` ### Manual verification notes - Every relative link and anchor in `docs/extending`, `docs/game` and `docs/development` resolves (script check). - Passing locally: the three symbol-pool regressions, `docs-language`, `command-center`, the professor-mari regressions, and every regression that reads a file under `docs/extending/`. - The only code changes are the `DOC_ORDER` entries, one schema comment and three regression paths. ## Docs and release impact - [ ] No docs changes needed - [x] Updated docs (README / CONTRIBUTING / android/README) as needed - [x] Translated docs on the `docs-i18n` branch updated to match, or a `[docs-i18n]` follow-up issue opened (see CONTRIBUTING.md § Translated documentation): #8610 - [ ] Version/release files updated (only if this PR includes a version bump) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 17:39:04 +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#8703
No description provided.