diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index ad0900d1f..3b7de74c4 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -7,6 +7,7 @@ on: workflow_dispatch: push: branches: [master] + pull_request: jobs: sphinx: diff --git a/docs/Makefile b/docs/Makefile index d3517447a..fc177fe52 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -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 diff --git a/pyproject.toml b/pyproject.toml index 87c727d39..9d2fbf263 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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", ] @@ -51,7 +54,6 @@ 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'", @@ -59,11 +61,8 @@ docs = [ test = [ "click", - "cssutils", - "diskcache>=5.0", "pytest", "pytest-cov", - "pyyaml>=6.0", "requests-mock", ] @@ -71,14 +70,8 @@ cli = [ "click", ] -decl = [ - "pyyaml>=6.0", -] - -httpfiles = [ - "diskcache>=5.0", - "requests>=2.25.0", -] +decl = [] +httpfiles = [] png = [ "cairosvg>=2.5.2",