Skip to content

Fill out the remaining missing docs and configure denying of missing docs from now on #648

Fill out the remaining missing docs and configure denying of missing docs from now on

Fill out the remaining missing docs and configure denying of missing docs from now on #648

Workflow file for this run

name: docs
on:
push:
branches: [main]
pull_request:
jobs:
docs:
name: docs
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install stable toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly
- uses: Swatinem/rust-cache@v2
- name: Build docs
run: cargo doc --no-deps -Zrustdoc-map
env:
RUSTDOCFLAGS: "--enable-index-page -Zunstable-options --cfg docsrs"
- name: Deploy docs
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./target/doc/
force_orphan: true