mirror of
https://codeberg.org/openpgp/notes.git
synced 2024-12-22 05:47:58 +01:00
Use sphinx_sitemap
This commit is contained in:
parent
2b879ce908
commit
4c40c10799
1 changed files with 4 additions and 0 deletions
|
@ -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}"
|
||||
|
|
Loading…
Reference in a new issue