Skip to content

Commit

Permalink
docs: add sitemap
Browse files Browse the repository at this point in the history
  • Loading branch information
Guts committed Feb 19, 2024
1 parent 9a593d2 commit 4bce901
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
"sphinx_design",
"sphinxcontrib.mermaid",
"sphinxext.opengraph",
"sphinx_sitemap",
]

# Add any paths that contain templates here, relative to this directory.
Expand Down Expand Up @@ -96,6 +97,11 @@

# -- Options for HTML output -------------------------------------------------

suppress_warnings = ["myst.duplicate_def"]

# final URL
html_baseurl = __about__.__uri_homepage__

# Theme
html_favicon = "static/logo_qdt.png"
html_logo = "static/logo_qdt.png"
Expand Down Expand Up @@ -191,6 +197,9 @@
f'<meta property="twitter:title" content="{project}" />',
]

# sitemap
sitemap_url_scheme = "{link}"

# -- Functions ------------------------------------------------------------------


Expand Down
1 change: 1 addition & 0 deletions requirements/documentation.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ sphinx-copybutton<1
sphinx-design>=0.5,<1
sphinxcontrib-mermaid>=0.9,<1
sphinxext-opengraph>=0.4,<1
sphinx-sitemap>=2.4,<3

# -- 'HIDDEN' dependencies, used during CI
# pip-licenses<5
Expand Down

0 comments on commit 4bce901

Please sign in to comment.