diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index d99696ef..1f0b62d7 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -28,7 +28,7 @@ jobs: - run: doc8 $(git ls-files '*.rst') - run: rstcheck --ignore-directives automodule $(git ls-files '*.rst') - run: yamllint --strict $(git ls-files '*.yaml' '*.yml') - - run: python setup.py build_sphinx + - run: make -C docs html - name: Check for broken links in documentation run: make -C docs linkcheck diff --git a/docs/Makefile b/docs/Makefile index 8223a7d0..0426d425 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -2,7 +2,7 @@ # # You can set these variables from the command line. -SPHINXOPTS = +SPHINXOPTS = -W SPHINXBUILD = sphinx-build PAPER = BUILDDIR = _build diff --git a/setup.cfg b/setup.cfg index a14f0f70..501fc04a 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,12 +3,6 @@ import-order-style = pep8 application-import-names = yamllint ignore = W503,W504 -[build_sphinx] -all-files = 1 -source-dir = docs -build-dir = docs/_build -warning-is-error = 1 - [metadata] keywords = yaml