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 cc571c5 commit 6cf946b
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions conf.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import os

project = 'ASGARD Inventory Analyzer Manual'
version="1.0"
copyright = '2023, Nextron Systems GmbH'
author = 'Nextron Systems'
extensions = [
'sphinx.ext.autosectionlabel',
'sphinx_rtd_theme',
]
templates_path = ['_templates']
source_suffix = '.rst'
Expand All @@ -16,16 +17,21 @@
'prev_next_buttons_location': 'both',
'style_external_links': True
}

html_logo = "images/html/inventory-logo.png"
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}
smartquotes = False
autosectionlabel_prefix_document = True
autosectionlabel_maxdepth = 3
# disable epub mimetype warnings
suppress_warnings = ["epub.unknown_project_files"]
suppress_warnings = ["epub.unknown_project_files"]

0 comments on commit 6cf946b

Please sign in to comment.