Refactor docs to use mkdocs #6
Workflow file for this run
This file contains hidden or 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: Build docs | |
| on: | |
| pull_request: | |
| branches: main | |
| # Allows manual run from the Actions tab | |
| workflow_dispatch: | |
| jobs: | |
| build-docs: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@v4 | |
| - name: Setup python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.x" | |
| - name: Install packages | |
| run: | | |
| python3 -m pip install --upgrade pip | |
| python3 -m pip install .[docs] | |
| - name: Build static files | |
| run: | | |
| mkdocs build |