Use sphinx_sitemap

This commit is contained in:
Heiko Schaefer 2023-12-24 13:01:44 +01:00
parent 2b879ce908
commit 4c40c10799
No known key found for this signature in database
GPG Key ID: DAE9A9050FCCF1EB
1 changed files with 4 additions and 0 deletions

View File

@ -28,6 +28,7 @@ description = 'The essential OpenPGP guide for application developers. Learn the
extensions = [
'myst_parser',
'sphinxext.opengraph',
'sphinx_sitemap',
]
source_suffix = ['.md', '.rst']
@ -82,6 +83,7 @@ html_css_files = [
('html/css/custom.css', {'priority': 1000})
]
html_baseurl = 'https://openpgp.dev/book/'
html_favicon = '_static/html/img/favicon.ico'
html_logo = '_static/html/img/logo.svg'
html_show_sphinx = False
@ -108,3 +110,5 @@ ogp_custom_meta_tags = [
f'<meta property="og:description" content="{description}" />',
]
# sphinx sitemap https://sphinx-sitemap.readthedocs.io/en/latest/advanced-configuration.html
sitemap_url_scheme = "{link}"