Skip to content

Commit

Permalink
chore: add changes for new rtd build process
Browse files Browse the repository at this point in the history
  • Loading branch information
redteampanda-ng committed Jul 18, 2024
1 parent 7f09a92 commit 428bcf9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions conf.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import os

project = 'THOR Util Manual'
copyright = '2024, Nextron Systems GmbH'
author = 'Nextron Systems GmbH'
Expand All @@ -20,6 +22,12 @@
html_favicon = "images/html/favicon.ico"
html_static_path = ['_static']
html_css_files = ['css/custom.css',]
html_baseurl = os.environ.get("READTHEDOCS_CANONICAL_URL", "")
if os.environ.get("READTHEDOCS", "") == "True":
if "html_context" not in globals():
html_context = {}
html_context["READTHEDOCS"] = True

epub_title = project
epub_exclude_files = ['search.html']
intersphinx_mapping = {'https://docs.python.org/': None}
Expand Down

0 comments on commit 428bcf9

Please sign in to comment.