Skip to content

Commit

Permalink
docs: add sitemap
Browse files Browse the repository at this point in the history
  • Loading branch information
lepture committed Jan 1, 2024
1 parent 27b58eb commit d13aca4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,17 @@
"sphinx.ext.autodoc",
"sphinx.ext.intersphinx",
"sphinx.ext.extlinks",
"sphinx_sitemap",
]

intersphinx_mapping = {
"python": ("https://docs.python.org/3", None),
"sphinx": ("https://www.sphinx-doc.org/en/master", None),
}

html_baseurl = "https://otp.authlib.org/"
sitemap_url_scheme = "{link}"

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']

Expand All @@ -45,7 +49,7 @@
#
html_theme = 'shibuya'
html_theme_options = {
"dark_code": True,
"accent_color": "blue",
"light_logo": "_static/light-logo.svg",
"dark_logo": "_static/dark-logo.svg",
'twitter_site': 'authlib',
Expand Down
1 change: 1 addition & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
sphinx
sphinx-sitemap
shibuya

0 comments on commit d13aca4

Please sign in to comment.