From 033c31c9ff4d95695594bfaf2d59d7f34ce5134b Mon Sep 17 00:00:00 2001 From: Matthew Hughes Date: Thu, 16 Jan 2025 19:15:57 +0000 Subject: [PATCH] fixup! Use tags in docs building to split up requirements --- docs/html/conf.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/html/conf.py b/docs/html/conf.py index be6f2fb1524..9d70e458205 100644 --- a/docs/html/conf.py +++ b/docs/html/conf.py @@ -13,14 +13,14 @@ # -- General configuration ------------------------------------------------------------ extensions = [ - # extensions common to 'man' and 'html' builds + # extensions common to all builds "pip_sphinxext", ] -# 'tags' is a special object handled by sphinx +# 'tags' is a injected by sphinx # https://www.sphinx-doc.org/en/master/usage/configuration.html#project-tags -if "html" in tags or "READTHEDOCS" in os.environ: # type: ignore[name-defined] # noqa: F821 - # html specific deps +if "man" not in tags: # type: ignore[name-defined] # noqa: F821 + # extensions not needed for building man pages extensions.extend( ( # first-party extensions