Skip to content

Commit

Permalink
merge: Treat Sphinx warnings as errors (#383)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wuestengecko committed Feb 22, 2024
2 parents c20586b + 28a86a1 commit ac1892c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 13 deletions.
1 change: 1 addition & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
workflow_dispatch:
push:
branches: [master]
pull_request:

jobs:
sphinx:
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 @@

# You can set these variables from the command line, and also
# from the environment for the first two.
SPHINXOPTS ?=
SPHINXOPTS ?= -W
SPHINXBUILD ?= sphinx-build
SOURCEDIR = source
BUILDDIR = build
Expand Down
17 changes: 5 additions & 12 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,13 @@ classifiers = [
"Typing :: Typed",
]
dependencies = [
"diskcache>=5.0",
"lxml>=4.5.0",
"markupsafe>=1.1",
"Pillow>=7.0.0",
"platformdirs>=1.4.1",
"pyyaml>=6.0",
"requests>=2.25.0",
"svgwrite>=1.3.1",
"typing_extensions >=4.0.0, <5",
]
Expand All @@ -51,34 +54,24 @@ docs = [
"ipython",
"jinja2",
"nbsphinx",
"pyyaml>=6.0",
"sphinx!=7.2.0,!=7.2.1,!=7.2.2",
"sphinx-argparse-cli",
"tomli; python_version<'3.11'",
]

test = [
"click",
"cssutils",
"diskcache>=5.0",
"pytest",
"pytest-cov",
"pyyaml>=6.0",
"requests-mock",
]

cli = [
"click",
]

decl = [
"pyyaml>=6.0",
]

httpfiles = [
"diskcache>=5.0",
"requests>=2.25.0",
]
decl = []
httpfiles = []

png = [
"cairosvg>=2.5.2",
Expand Down

0 comments on commit ac1892c

Please sign in to comment.