We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e06b1cf commit 033c31cCopy full SHA for 033c31c
docs/html/conf.py
@@ -13,14 +13,14 @@
13
14
# -- General configuration ------------------------------------------------------------
15
extensions = [
16
- # extensions common to 'man' and 'html' builds
+ # extensions common to all builds
17
"pip_sphinxext",
18
]
19
20
-# 'tags' is a special object handled by sphinx
+# 'tags' is a injected by sphinx
21
# 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
+if "man" not in tags: # type: ignore[name-defined] # noqa: F821
+ # extensions not needed for building man pages
24
extensions.extend(
25
(
26
# first-party extensions
0 commit comments