Skip to content

Remove redundant if statement. #5

Remove redundant if statement.

Remove redundant if statement. #5

Workflow file for this run

name: Check for Sphinx Warnings
on:
pull_request:
paths:
- "doc/**"
- "**/*.rst"
- ".github/workflows/docs_check.yaml"
- "setup.py"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out the repository
uses: actions/checkout@v4
with:

Check failure on line 15 in .github/workflows/docs_check.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/docs_check.yaml

Invalid workflow file

You have an error in your yaml syntax on line 15
submodules: true
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y pandoc
python -m pip install -e .[development]
- name: Check for Sphinx warnings
run: |
sphinx-build -M html ./doc/source ./doc/_build --fail-on-warning