Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixup! Use tags in docs building to split up requirements
Browse files Browse the repository at this point in the history
matthewhughes934 committed Jan 16, 2025
1 parent e06b1cf commit 033c31c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/html/conf.py
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 033c31c

Please sign in to comment.