diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 023ec1e17..1aad29a31 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -21,9 +21,21 @@ jobs: - name: Checkout sources uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + - name: Install rust + uses: actions-rs/toolchain@v1 + with: + toolchain: stable + override: true + + - name: Build docs + run: cargo doc -p statime --lib --no-deps + - name: Build site run: utils/mkdocs.sh --no-bind-port build + - name: Copy API docs + run: cp -R target/doc target/docs/site/api + - name: Upload artifact uses: actions/upload-pages-artifact@a753861a5debcf57bf8b404356158c8e1e33150c with: diff --git a/mkdocs.yml b/mkdocs.yml index 8bf9d728a..ee4506294 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -32,3 +32,4 @@ nav: - guide/getting-started.md - Man Pages: - statime(8): man/statime.8.md + - statime.toml(5): man/statime.toml.5.md