don't protect r NULL
#9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Documents | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
docs: | |
name: Deploy the dev version of documents to GitHub Pages | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: nightly | |
- name: Docs | |
run: cargo doc --workspace --no-deps --document-private-items --features full-functionality | |
env: | |
RUSTDOCFLAGS: "--enable-index-page -Zunstable-options" | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./target/doc |