diff --git a/docs/conf.py b/docs/conf.py index 2498a8b..569f9cf 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -20,6 +20,7 @@ "sphinx.ext.autodoc", "sphinx.ext.intersphinx", "sphinx.ext.extlinks", + "sphinx_sitemap", ] extlinks = { @@ -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'] @@ -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', diff --git a/docs/requirements.txt b/docs/requirements.txt index 76fa319..a0e574f 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,2 +1,3 @@ sphinx +sphinx-sitemap shibuya