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 4b93cba commit 3f784bb
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,6 +20,7 @@
"sphinx.ext.autodoc",
"sphinx.ext.intersphinx",
"sphinx.ext.extlinks",
"sphinx_sitemap",
]

extlinks = {
Expand All @@ -31,6 +32,9 @@
"python": ("https://docs.python.org/3", None),
}

html_baseurl = "https://captcha.lepture.com/"
sitemap_url_scheme = "{link}"

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

Expand All @@ -49,7 +53,7 @@
#
html_theme = 'shibuya'
html_theme_options = {
"dark_code": True,
"accent_color": "green",
"light_logo": "_static/light-logo.svg",
"dark_logo": "_static/dark-logo.svg",
"twitter_site": 'lepture',
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 3f784bb

Please sign in to comment.