Skip to content

docs: document full API on docs.rs and guard the build in CI#236

Merged
AlfioEmanueleFresta merged 1 commit into
masterfrom
docs-ci
May 30, 2026
Merged

docs: document full API on docs.rs and guard the build in CI#236
AlfioEmanueleFresta merged 1 commit into
masterfrom
docs-ci

Conversation

@AlfioEmanueleFresta
Copy link
Copy Markdown
Member

docs.rs builds a crate with its default features only, which left the NFC transport out of the published documentation. This adds docs.rs metadata so the NFC transport is documented through the pcsc backend. libnfc is not available in the docs.rs build environment, so the libnfc backend is intentionally left out to keep the build green.

It also adds a CI job that builds the documentation the same way docs.rs does, inside the same container image. A broken docs build now fails a pull request instead of only showing up as a red badge after release.

@AlfioEmanueleFresta AlfioEmanueleFresta marked this pull request as ready for review May 30, 2026 15:55
@AlfioEmanueleFresta AlfioEmanueleFresta merged commit e062e5b into master May 30, 2026
6 checks passed
@AlfioEmanueleFresta AlfioEmanueleFresta deleted the docs-ci branch May 30, 2026 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant