diff options
-rw-r--r-- | .github/workflows/document.yml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/.github/workflows/document.yml b/.github/workflows/document.yml index b67a62ab..5a8cb252 100644 --- a/.github/workflows/document.yml +++ b/.github/workflows/document.yml @@ -10,10 +10,13 @@ jobs: group: ${{ github.workflow }}-${{ github.ref }} steps: - uses: hecrj/setup-rust-action@v1 + with: + rust-version: nightly - uses: actions/checkout@v2 - name: Generate documentation run: | - cargo doc --no-deps --all-features \ + RUSTDOCFLAGS="--cfg docsrs" \ + cargo doc --no-deps --all-features \ -p iced_core \ -p iced_style \ -p iced_futures \ |