chore: align hero_books with hero_compute (structure, scripts, docs) #109
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!109
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "development_docs_docusaurus_and_architecture"
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
Aligns hero_books with the hero_compute repo structure so the two repos look the same. Two commits:
docs: add docusaurus.md, consolidate architecture.md— full reference forhero_docsCLI and the 9docs.*RPC methods; root +crates/architecture.mdconsolidated into one file underdocs/.chore: align repo structure with hero_compute— workspace layout, scripts, and docs reshape.Workspace layout
src/bin/hero_books.rscrates/hero_books/src/main.rs(own crate)src/bin/hero_docs.rscrates/hero_docs/src/main.rs(own crate)src/lib.rs(4-line re-export)Cargo.tomlis a[package]with[[bin]]entries[workspace.package]shared metadata;resolver = "3"Binary names are unchanged, so
target/release/hero_books/target/release/hero_docspaths stay the same —service_books install, CI publish, anddeploy/single-vmkeep working without touch-ups. Verified withcargo build --workspaceandcargo build --bin hero_books --bin hero_docs.Scripts
buildenv.sh→scripts/buildenv.sh(build_lib.shalready prefers this location).scripts/configure.sh,install.sh,uninstall.shmodeled on hero_compute's equivalents.make configureandmake uninstalltargets.Docs
docs/manual/*→docs/*(no moremanual/subdirectory; matches hero_compute's flat layout).docs/manual/README.md; the root README is the single index.docs/architecture.mdto the flat paths.bunline for users who runhero_docs/docs.*.install.sh, matching hero_compute's onboarding pattern.Intentionally not touched
LICENSE,rust-toolchain.toml,SKILL.md— kept at root.Cargo.tomlfiles retain their explicit version/edition/license fields; migrating those to workspace inheritance is a separate, mechanical follow-up.deploy/,tests/,specs/— only the twosrc/bin/*references inspecs/architecture.mdwere fixed; broader specs cleanup is a separate task.Test plan
cargo check --workspace— passescargo build --bin hero_books --bin hero_docs— producestarget/debug/hero_booksandtarget/debug/hero_docsat the expected pathsservice_books installfromhero_skillsstill produces working binaries (no changes expected, but worth a sanity run)🤖 Generated with Claude Code
docs: add docusaurus.md and consolidate architecture into docs/manualto chore: align hero_books with hero_compute (structure, scripts, docs)