Skip to content

Commit

Permalink
Force errors when building docs to return non-0 exit code
Browse files Browse the repository at this point in the history
  • Loading branch information
willkg committed Jan 29, 2024
1 parent 725ce82 commit 9e6670a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

# You can set these variables from the command line, and also
# from the environment for the first two.
SPHINXOPTS ?=
SPHINXOPTS ?= -W --keep-going
SPHINXBUILD ?= sphinx-build
SOURCEDIR = .
BUILDDIR = _build
Expand Down
9 changes: 8 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,14 @@
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This patterns also effect to html_static_path and html_extra_path
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]
exclude_patterns = [
"_build",
"Thumbs.db",
".DS_Store",
# We want to include images in drawio directory, but not the documentation for
# updating those images.
"drawio/**",
]

# The reST default role (used for this markup: `text`) to use for all
# documents.
Expand Down

0 comments on commit 9e6670a

Please sign in to comment.