Implement DEP 12, string literals supporting Rectangle Rule #9
Workflow file for this run
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
# | |
# Build HTML documentation and upload it to GitHub Pages | |
# | |
name: Build and deploy documentation | |
on: | |
push: | |
paths: | |
- 'documentation/**/*.rst' | |
- 'documentation/**/conf.py' | |
# This enables the Run Workflow button on the Actions tab. | |
workflow_dispatch: | |
jobs: | |
build-documentation: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
# | |
# Build documentation installing first 'furo' theme dependencies | |
# | |
- uses: ammaraskar/sphinx-action@master | |
with: | |
pre-build-command: "echo furo >> documentation/website/requirements.txt" | |
docs-folder: "documentation/website" | |
- name: Deploy documents to GH pages | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
folder: documentation/website/build/html | |