Skip to content

Commit

Permalink
changes the conf.py file so the links from the links_and_refs.rst fil…
Browse files Browse the repository at this point in the history
…e can be used
  • Loading branch information
luisaFelixSalles committed Dec 19, 2024
1 parent b3be655 commit 627c2de
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,14 @@
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This pattern also affects html_static_path and html_extra_path.
exclude_patterns = []
exclude_patterns = ["links_and_refs.rst"]

# make rst_epilog a variable, so you can add other epilog parts to it
rst_epilog = ""

# Read links and targets from file
with open("links_and_refs.rst") as f:
rst_epilog += f.read()

# The name of the Pygments (syntax highlighting) style to use.
pygments_style = None
Expand Down

0 comments on commit 627c2de

Please sign in to comment.