Skip to content

Commit

Permalink
CI: always build docs from scratch
Browse files Browse the repository at this point in the history
  • Loading branch information
theOehrly committed May 11, 2024
1 parent 730d84d commit d1bd415
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,9 @@ jobs:
- name: Build docs
run: |
mkdir test_cache # not really need but pytest setup relies on it
sphinx-build ./docs ./docs/_build/html -a -E -W -n --keep-going
cd ./docs
make clean
make html
- name: Publish docs
if: (github.event_name == 'release') || inputs.publish
Expand Down
2 changes: 1 addition & 1 deletion docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
SPHINXOPTS ?=
SPHINXBUILD ?= sphinx-build
SOURCEDIR = .
BUILDDIR = ../../docs/
BUILDDIR = _build

# Put it first so that "make" without argument is like "make help".
help:
Expand Down

0 comments on commit d1bd415

Please sign in to comment.