Merge pull request #8 from fastmachinelearning/tutorials #34
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: Documentaion | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| jobs: | |
| docs: | |
| name: Docs (Sphinx) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.11" | |
| cache: pip | |
| - name: Install system deps | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y --no-install-recommends libopenblas-dev pkg-config | |
| - name: Install package + docs deps | |
| env: | |
| KERAS_BACKEND: tensorflow | |
| run: | | |
| python -m pip install -U pip | |
| pip install . | |
| pip install -U sphinx sphinx-rtd-theme myst-parser sphinx-autodoc-typehints myst-nb | |
| - name: Build docs | |
| env: | |
| KERAS_BACKEND: tensorflow | |
| run: | | |
| sphinx-build -b html docs/source docs/build/html |