Skip to content

refactor!: flatten crate organization to use workspace properly (#321) #213

refactor!: flatten crate organization to use workspace properly (#321)

refactor!: flatten crate organization to use workspace properly (#321) #213

Workflow file for this run

name: Documentation
on:
push:
branches: [ master ]
env:
CARGO_TERM_COLOR: always
CARGO_INCREMENTAL: 0
CARGO_NET_RETRY: 10
RUSTFLAGS: "-D warnings"
RUSTUP_MAX_RETRIES: 10
RUST_BACKTRACE: 1
BINDGEN_EXTRA_CLANG_ARGS: "-I/usr/include/scotch" # ubuntu package use <scotch/scotch.h>
jobs:
rustdoc:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v6
with:
submodules: recursive
- uses: dtolnay/rust-toolchain@nightly
- name: Install dependencies
run: sudo apt-get -y install libclang-dev libmetis-dev libscotch-dev scdoc mandoc
- name: Generate rustdoc
run: cargo +nightly doc --all --no-deps --all-features
- name: Aggregate files
run: sh ./docs/build.sh
- name: Deploy Docs
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages
publish_dir: ./target/doc
force_orphan: true