Skip to content

Commit

Permalink
docs: add examples and index page (#537)
Browse files Browse the repository at this point in the history
  • Loading branch information
panekj authored Aug 6, 2024
1 parent 6e0eb6c commit 1589f5a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,13 @@ jobs:
uses: actions/configure-pages@v4

- name: Update toolchain
run: rustup update
run: rustup install nightly

- name: Build docs
env:
RUSTDOCFLAGS: "-Z unstable-options --enable-index-page"
run: |
cargo doc --no-deps --workspace --lib --release
cargo +nightly doc --no-deps --workspace --lib --release -Z unstable-options -Z rustdoc-scrape-examples
chmod -c -R +rX "target/doc" | while read line; do
echo "::warning title=Invalid file permissions automatically fixed::$line"
done
Expand Down

0 comments on commit 1589f5a

Please sign in to comment.