Merge pull request #492 from zecakeh/fix-docs

fix(doc): Build nightly docs with correct features
This commit is contained in:
Benjamin Kampmann
2022-02-14 12:03:21 +01:00
committed by GitHub
+2 -2
View File
@@ -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' }}