You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR resolves the broken or misleading badges in the template README.
**Coverage (dropped):**
The badge pointed at `coverage.yml`, a workflow that did not exist (the
real one was `coverage-pr.yml`), so it rendered as a broken image.
Pointing it at the correct `coverage-pr.yml` would have rendered
correctly, however it would have been misleading, as it would only
indicate whether the CI run succeeded (already shown by the CI flag) and
not the coverage percentage (or whether it had regressed, given how the
CI is structured). After considering how to show the percentage, either
through persisting it in the Pages deploy or on a dedicated badges
branch, both seemed awkward enough not to enforce as a default, and
hence the removal of the badge.
**Docs:**
Docs in the repo can be published two ways (GitHub Pages via `docs.yml`,
or docs.rs on a crates.io publish). Offering both badges caused issues,
as they are effectively mutually exclusive: there should be only one
canonical place for the docs, not two competing links. Pages is the
default doc mode the template configures (with `docs.yml` running on
push to main); if you publish to crates.io instead, delete `docs.yml`
and swap in the docs.rs badge, kept as a commented snippet beside it.
---------
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
-[ ] Update the description of the repo at the repo's page, add tag topics
35
41
-[ ] Introduce necessary sections at the repo's page (releases, deployments etc)
36
-
-[ ]Add a website url (if applicable) or a docs page (see [docs](./.github/workflows/docs.yml) flow for public repos)
42
+
-[ ]Docs: this template publishes rustdoc to GitHub Pages on push to main ([`docs.yml`](./.github/workflows/docs.yml)). Enable Pages (Settings -> Pages -> Source: GitHub Actions) so the deploy succeeds and the Docs badge turns green, and set the Pages URL as the repo website (About -> Website). If you publish to crates.io instead, delete `docs.yml` and use the docs.rs badge in the README
-[ ] Import protection rulesets (see below) in the repo settings (Settings -> Rules -> Rulesets -> Import a ruleset)
39
45
-[ ] For binary crates with specific requirements to Rust features consider also [pinning](https://rust-lang.github.io/rustup/overrides.html#the-toolchain-file) the rust toolchain version
0 commit comments