Drop docs/schemas/ generation (#71) #76
No reviewers
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_rpc!76
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "issue-71-drop-docs-schemas"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #71.
Removes the unused per-schema docs emission from the build pipeline and the scaffolder. The OpenRPC spec already covers the API surface for every SDK target, and the OSchema source itself is the canonical reference.
Summary
docs_dirfield + builder method onOschemaBuildConfig.crates/generator/src/build/emit/docs.rsand itsmod docs;registration.docs_output_dirplumbing inOschemaBuilder::generate(incl. the reset-modedocs/schemas/{domain}cleanup branch and thegenerate_docs_indexcall).docs_base_dirparameter fromgenerate_domain.docs/schemas/or emits.docs_dir(...)in the per-cratebuild.rstemplate; updates layout/README templates.docs/schemasreferences from repo READMEs, GETTING_STARTED, generator README, build README, andexample/recipe_server/README.md.example/recipe_server/docs/andcrates/server/examples/recipe_server/docs/trees.issue-71-drop-docs-schemas-ref).Verification
cargo check -p hero_rpc_generator— cleancd example/recipe_server && cargo check -p hero_recipes— clean (only pre-existing unused-imports warning)cargo test -p hero_rpc_generator --lib build::— 31 passedhero_rpc_generator --name hero_demo --workspace-dir …(with a seed.oschema) produces nodocs/directory ✅Test plan
cargo checkon generator and recipe_servercargo teston the build moduledocs/schemas/Remove the unused per-schema docs emission from the scaffolder and build pipeline. The OpenRPC spec covers the API surface for every SDK target; the OSchema source itself is the canonical reference. - OschemaBuildConfig: drop docs_dir field + builder method, prune docs references from doc comments. - OschemaBuilder: drop docs_output_dir, the docs/schemas/{domain} reset-mode cleanup branch, and the generate_docs_index call. - emit/docs.rs deleted; emit/mod.rs no longer references it. - emit/domain.rs: drop docs_base_dir parameter and the per-domain docs dir creation. - Scaffolder: stop creating docs/schemas/, drop .docs_dir(...) from the generated build.rs template, prune layout/README references. - README.md / GETTING_STARTED.md / generator README / build README / recipe_server README: prune docs/schemas references. - example/recipe_server/build.rs and crates/server/examples/.../build.rs: drop .docs_dir(...) calls. - Delete the now-stale generated example/recipe_server/docs/ and crates/server/examples/recipe_server/docs/ trees. Verified: cargo check on the generator + recipe_server; cargo test on the build module (31 passed); fresh `hero_rpc_generator --name …` scaffold produces no docs/ directory. Closes #71 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>docs/schemas/generation — no per-schema docs needed #71