docs/conf.py: add sphinx_sitemap

This commit is contained in:
Anna “CyberTailor” 2022-11-13 19:48:43 +05:00
parent cd484a637c
commit 9854723ee4
Signed by: CyberTaIlor
GPG Key ID: E7B76EDC50864BB1
2 changed files with 12 additions and 1 deletions

View File

@ -19,7 +19,8 @@ release = '1.0.0'
extensions = [
'notfound.extension',
'sphinx-prompt'
'sphinx-prompt',
'sphinx_sitemap'
]
root_doc = 'toc'
@ -34,3 +35,9 @@ html_theme = 'insipid'
html_static_path = ['_static']
html_title = f'{project} {release}'
html_show_sourcelink = False
html_baseurl = 'https://nimbus.sysrq.in/'
sitemap_locales = [None]
sitemap_url_scheme = '{link}'
notfound_no_urls_prefix = True

View File

@ -1,3 +1,7 @@
.. SPDX-FileCopyrightText: 2022 Anna <cyber@sysrq.in>
..
.. SPDX-License-Identifier: BSD-3-Clause
Table of Contents
=================