Skip to content

Commit 784372c

Browse files
committed
Adding history back
1 parent ef5e649 commit 784372c

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

docs/about.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
```{toctree}
44
:maxdepth: 1
55
6-
history
76
contributing
8-
```
7+
history
8+
```

docs/conf.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,10 @@
100100
# directories to ignore when looking for source files.
101101
exclude_patterns = ["_build", "*/tests/"]
102102

103+
# Exclude 'history.md' only in LaTeX builds
104+
if os.environ.get("SPHINX_OUTPUT_FORMAT") == "latex":
105+
exclude_patterns.append("history.md")
106+
103107
# The reST default role (used for this markup: `text`) to use for all
104108
# documents.
105109
# default_role = None
@@ -251,7 +255,6 @@
251255
)
252256
]
253257

254-
exclude_patterns = ['history.md'] # Ensures history.md is excluded
255258
# The name of an image file (relative to this directory) to place at
256259
# the top of the title page.
257260
# latex_logo = None

0 commit comments

Comments
 (0)