fix(doc): Build nightly docs with correct features
@@ -35,10 +35,10 @@ jobs:
- name: Build docs
uses: actions-rs/cargo@v1
env:
- RUSTDOCFLAGS: "--enable-index-page -Zunstable-options"
+ RUSTDOCFLAGS: "--enable-index-page -Zunstable-options --cfg docsrs"
with:
command: doc
- args: --no-deps --workspace --features docs -Zrustdoc-map
+ args: --no-deps --workspace --features docsrs -Zrustdoc-map
- name: Deploy docs
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
