Drop docs/schemas/ generation — no per-schema docs needed #71
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#71
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Problem
The scaffolder generates a
docs/schemas/directory with per-schema documentation. No one consumes it; the OpenRPC spec serves that purpose for all SDK targets, and the OSchema source itself is the canonical reference.What to do
docs/schemas/generation from the scaffolder and the generator.docs_dirsetting onOschemaBuildConfig(or keep it opt-in with default disabled).hero_service_scaffold.mdto remove thedocs/schemas/reference.Acceptance
docs/schemas/directory.recipe_serverandhero_servicecontinue to build (regenerate as needed).PR up: #76
Companion change in hero_skills (removes
docs/schemas/fromhero_service_scaffold.mdlayout): lhumina_code/hero_skills#267Acceptance verified:
OschemaBuildConfig.docs_dirremoved,emit/docs.rsdeleted, nodocs/schemas/plumbing left in builder.rs / emit/domain.rs.docs/schemas/or emits.docs_dir(...).crates/server/examples/recipe_server/both continue tocargo checkcleanly with their.docs_dir(...)lines dropped; their staledocs/trees are removed.cargo test -p hero_rpc_generator --lib build::— 31 passed.hero_rpc_generator --name hero_demo …with one seed schema produces nodocs/directory.catalog/openrpc.jsonout ofsrc/to a top-level spec location #73