We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef5e649 commit 784372cCopy full SHA for 784372c
2 files changed
docs/about.md
@@ -3,6 +3,6 @@
3
```{toctree}
4
:maxdepth: 1
5
6
-history
7
contributing
8
-```
+history
+```
docs/conf.py
@@ -100,6 +100,10 @@
100
# directories to ignore when looking for source files.
101
exclude_patterns = ["_build", "*/tests/"]
102
103
+# Exclude 'history.md' only in LaTeX builds
104
+if os.environ.get("SPHINX_OUTPUT_FORMAT") == "latex":
105
+ exclude_patterns.append("history.md")
106
+
107
# The reST default role (used for this markup: `text`) to use for all
108
# documents.
109
# default_role = None
@@ -251,7 +255,6 @@
251
255
)
252
256
]
253
257
254
-exclude_patterns = ['history.md'] # Ensures history.md is excluded
258
# The name of an image file (relative to this directory) to place at
259
# the top of the title page.
260
# latex_logo = None
0 commit comments