3eadf6c1c1
All of the features moved into the public mkdocs. --------- Co-authored-by: Claude <noreply@anthropic.com>
32 lines
983 B
YAML
32 lines
983 B
YAML
on:
|
|
workflow_call:
|
|
|
|
permissions: {}
|
|
|
|
jobs:
|
|
docs:
|
|
timeout-minutes: 10
|
|
name: "mkdocs"
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
|
with:
|
|
fetch-depth: 0
|
|
persist-credentials: false
|
|
- uses: astral-sh/setup-uv@681c641aba71e4a1c380be3ab5e12ad51f415867 # v7.1.6
|
|
with:
|
|
version: "0.9.24"
|
|
|
|
- uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
|
|
- uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2.8.2
|
|
with:
|
|
save-if: ${{ github.ref == 'refs/heads/main' }}
|
|
- name: "Generate reference documentation"
|
|
run: |
|
|
cargo dev generate-options-reference
|
|
cargo dev generate-cli-reference
|
|
cargo dev generate-env-vars-reference
|
|
|
|
- name: "Build docs"
|
|
run: uvx --with-requirements docs/requirements.txt mkdocs build --strict -f mkdocs.yml
|