Added support for JAX-style paths #11
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: Deploy MkDocs | |
| on: | |
| push: | |
| branches: [main] | |
| permissions: | |
| contents: write | |
| jobs: | |
| build-deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.11' | |
| - name: Install dependencies | |
| run: | | |
| pip install mkdocs mkdocs-material mkdocstrings[python] mkdocs-macros-plugin | |
| pip install -e ".[docs]" | |
| - name: Deploy to GitHub Pages | |
| run: | | |
| # This single command builds the static site and pushes it to the gh-pages branch | |
| mkdocs gh-deploy --force |