Skip to content

Commit 033c31c

Browse files
fixup! Use tags in docs building to split up requirements
1 parent e06b1cf commit 033c31c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/html/conf.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@
1313

1414
# -- General configuration ------------------------------------------------------------
1515
extensions = [
16-
# extensions common to 'man' and 'html' builds
16+
# extensions common to all builds
1717
"pip_sphinxext",
1818
]
1919

20-
# 'tags' is a special object handled by sphinx
20+
# 'tags' is a injected by sphinx
2121
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-tags
22-
if "html" in tags or "READTHEDOCS" in os.environ: # type: ignore[name-defined] # noqa: F821
23-
# html specific deps
22+
if "man" not in tags: # type: ignore[name-defined] # noqa: F821
23+
# extensions not needed for building man pages
2424
extensions.extend(
2525
(
2626
# first-party extensions

0 commit comments

Comments
 (0)