mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-23 16:01:04 +01:00
enable doc_auto_cfg for docs.rs (#3113)
* enable doc_auto_cfg for docs.rs This should expose more feature labels in the generated documentation and removes the needs for the manually labeling the features for a type, function or enum variants. * enable docsrs cfg when building docs for master
This commit is contained in:
1 parent
49415fe971
commit
d81cb46be0
8 files changed
+22
-5
No files matched your search
@@ -30,6 +30,7 @@ jobs:
|
||||
- name: Build the docs (nightly)
|
||||
run: |
|
||||
cargo +nightly doc --no-deps --lib
|
||||
env: RUSTDOCFLAGS="--cfg docsrs"
|
||||
|
||||
- name: Build the docs (stable)
|
||||
run: cargo +stable doc --no-deps --lib
|
||||
|
||||
Reference in new issue
Block a user