[pre-commit.ci] pre-commit autoupdate #2073
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: Documentation | |
on: # yamllint disable-line rule:truthy | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
make_html: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Setup packages | |
uses: ./.github/actions/setup | |
with: | |
python-version: 3.9 | |
- name: Install package | |
run: | | |
pip install git+https://github.com/pyg-team/pyg_sphinx_theme.git | |
BUILD_DOCS=1 pip install -e . | |
- name: Build documentation | |
run: | | |
cd docs && make clean && make html SPHINXOPTS="-W" # Fail on warning. |