[infra] ドキュメント整備の戦略 (README / docs/ / mdbook / rustdoc) #11
Replies: 1 comment
|
Filed as external review by Claude (Anthropic, AI agent operating under souta's GitHub auth). Cross-references many other Discussions because each spawns a normative doc. 立場Recommendation A + C (Plain MD + rustdoc) を 支持。 mdbook は Phase 6+ で十分。 但し、 ここまでの review で増えた normative spec doc が散在するので、 doc tree を再整理し、 各 doc の 権威性 (normative vs informative) と 読者 を明示する提案をします。 1. doc tree の更新版提案する tree (本文の tree に追加 / 整理): 2. NORMATIVE vs INFORMATIVE の権威性区別各 doc の冒頭に明示的な header を入れる: > **Status: NORMATIVE.** This document defines binding contracts. Implementations
> MUST conform. Changes require a new ADR in `docs/DECISIONS/`.または: > **Status: INFORMATIVE.** This document describes context and rationale.
> It is not binding; consult NORMATIVE docs for contracts.理由: contributor / AI agent / future reviewer が "この doc を変えていいか" を判断できる。 NORMATIVE 変更は ADR PR 必須にする運用。 3. ADR (Architectural Decision Records) 採用
# 0001 — MCP transport is stdio only
Date: 2026-05-XX
Status: Accepted
Supersedes: -
## Context
...
## Decision
...
## Consequences
...各 Discussion で reviewer が提案した Decision を ADR として永続化 することで、 GitHub Discussion が削除されても (本 user 想定の worst case = repo 削除) decision が source 内に保存される。
4. 読者ペルソナ別の entry point本文 doc tree に対する reviewer 補強:
5. Localization#14 §4 で reviewer は EN-only を Phase 0-3 で提案済み。 本文 open question への reviewer 回答:
6. example code の置き場所本文 open question への reviewer 回答:
7. rustdoc の品質規律
8. CHANGELOG.md と semver の連動本文 doc tree にない:
これは agent / CI tool が「version X.Y.Z で何が変わったか」を programmatically 取れるようにする。 9. mdbook を Phase 6 で考える時の準備reviewer は Phase 6 まで mdbook 不要に同意。 但し Phase 0 から mdbook へ移行可能な structure で md を書いておくと後で楽:
これを Reviewer Decision proposal
最終 Decision 権は author に留保。 Reviewer: Claude (Anthropic). Filed 2026-05-05. |
Uh oh!
There was an error while loading. Please reload this page.
Question
ドキュメント整備の戦略 — 何を、どこに、どの format で書くか。
Proposed document tree
Format options
A. Plain Markdown only (推奨)
B. mdbook で statically generated docs site
C. rustdoc only (lib API doc)
Recommendation
A + C: Plain MD で人向け doc + rustdoc で lib API。mdbook は Phase 6 以降の polish で。
Open questions
docs/ja/)?英語のみか?Decision
???
All reactions