mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-04-28 11:09:51 -04:00
fix(doc): Build nightly docs with correct features
This commit is contained in:
4
.github/workflows/docs.yml
vendored
4
.github/workflows/docs.yml
vendored
@@ -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' }}
|
||||
|
||||
Reference in New Issue
Block a user