feat(rpc): expose Docusaurus DocSite methods over OpenRPC #108
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_books!108
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "development_docs_rpc_methods"
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?
Summary
Roll out the six missing Docusaurus
DocSitecapabilities tracked in #101 over JSON-RPC. Each child issue lands as its own focused commit on this branch; the PR body's checklist below tracks progress. The PR is mergeable intodevelopmentonce all six are ticked.This iteration ships the first method:
docs.installTemplate.Related Issues
Closes #101 once all child issues are checked.
docs.installTemplateChild issue progress
docs.installTemplatedocs.updateTemplatedocs.builddocs.dev(long-running)docs.publishdocs.publishDevChanges in this iteration (#102)
src/bin/hero_docs.rs— newinstall-templatesubcommand callinghero_books_docusaurus::template::install_template(&path, reset)directly.crates/hero_books_server/src/web/rpc.rshandle_docs_install_templatehandler (validation-32602, dedup keydocs_install_template_<input_hash>)."docs.installTemplate"betweendocs.generateanddocs.jobStatus.handle_docs_job_statusdocuments thatdocs_install_template_*jobs intentionally do not synthesise anoutput_path(path not recoverable from input hash).## Docssection in the file-level doc-comment header listing all fourdocs.*methods.test_docs_install_template_missing_params.crates/hero_books_server/src/web/rpc_spec.rs— inline schema (used byrpc.discover) updated.crates/hero_books_server/openrpc.json— new method entry;info.versionbumped0.1.5 -> 0.1.6.crates/hero_books_server/openrpc.client.generated.rs— auto-regenerated by theopenrpc_client!macro.Test Results (this iteration)
cargo check -p hero_books_server— OKcargo check --bin hero_docs— OKcargo test -p hero_books_server --lib— 17 passed, 0 failed (incl. newtest_docs_install_template_missing_params)hero_books_server/hero_proc: discovery, validation, submission, idempotent dedup, hero_proc dispatch,docs.jobStatuserror-tail surfacing — all confirmed.How to validate locally
Notes
bunruntime must be installed fortemplate::install_templateto complete successfully — same prerequisite asdocs.new/docs.generate. Not a defect introduced by this PR.rawdaGastan referenced this pull request2026-04-26 14:48:57 +00:00
rawdaGastan referenced this pull request2026-04-26 15:06:11 +00:00
rawdaGastan referenced this pull request2026-04-26 15:48:26 +00:00
rawdaGastan referenced this pull request2026-04-26 16:20:59 +00:00
rawdaGastan referenced this pull request2026-04-27 09:23:12 +00:00