Publish the host crates to code.selu.dev and add a docs site #5
Loading…
Reference in a new issue
No description provided.
Delete branch "crates-and-docs"
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
irbt-proto,irbt,irbt-cliandirbt-build-info(renamed frombuild-info, sinceirbt-clineeds it and the name is taken on crates.io) to the Cargo registry on code.selu.dev.publish = ["selu"]keeps them off crates.io.cratesjob publishes onv*tags and skips versions that are already in the index. The release now waits for it.build-info: published packages take the commit from.cargo_vcs_info.jsonand the lockfile from the package root, so an installedirbt --versionshows the commit instead ofunknown.MIT OR Apache-2.0.book/, and.forgejo/workflows/docs.yml, which builds it together with the crates' rustdoc on every push and PR. On tags or manual runs it also pushes the site to thepagesbranch, served by git-pages at https://selu.pages.selu.dev/ir-bt-bridge/ (selu-dev/system-setup, branchgit-pages).Before merging / releasing
CARGO_REGISTRY_TOKEN(a token withwrite:package).pagespush webhook tohttps://selu.pages.selu.dev/ir-bt-bridge/.Testing
cargo test --workspace, clippy and fmt pass. The firmware release build passes.cargo publish --workspace --registry selu --dry-runpasses. The packaged CLI reportsirbt-cli 0.2.1 (16e4ae9).cargo docpasses with-D warnings, and the guide's library example compiles. The mdBook has not been built locally; this PR's docs workflow run is its first build.🤖 Generated with Claude Code