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
Even though documentation is build automatically by docs.rs on release, it uses a non-standard environment to build docs, so it would be useful to check in a CI action that docs can be built correctly.
In particular:
it uses the nightly Rust
it uses a specific configuration flag (docsrs, see package.metadata.docs.rs section in Cargo.toml), which enables doc_cfg feature and corresponding doc() attributes
it uses specific features (also set in package.metadata.docs.rs section in Cargo.toml)
Even though documentation is build automatically by docs.rs on release, it uses a non-standard environment to build docs, so it would be useful to check in a CI action that docs can be built correctly.
In particular:
docsrs
, seepackage.metadata.docs.rs
section inCargo.toml
), which enablesdoc_cfg
feature and correspondingdoc()
attributespackage.metadata.docs.rs
section inCargo.toml
)For more info see https://docs.rs/about/builds
The text was updated successfully, but these errors were encountered: