Bump library version to 2024.6 #55
This file contains 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: docs | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
docs: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Build Tools | |
run: | | |
curl -sSL https://install.python-poetry.org | python | |
echo $HOME/.poetry/bin >> $GITHUB_PATH | |
- uses: actions/[email protected] | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.7" | |
- name: Install Python Requirements | |
run: | | |
poetry install | |
- name: Build Docs | |
run: | | |
poetry run sphinx-apidoc -H "API Reference" -o docs/api_reference recline | |
poetry run sphinx-build -b html docs build/html | |
- name: Publish Docs | |
uses: JamesIves/github-pages-deploy-action@releases/v3 | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
BRANCH: gh-pages | |
FOLDER: build/html |