We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1aa326a commit a06addaCopy full SHA for a06adda
docs/conf.py
@@ -97,6 +97,12 @@ def setup(app):
97
sitemap_filename = "sitemap.xml"
98
sitemap_locales = [None]
99
100
+ if language == "zh":
101
+ nav_links = html_theme_options["nav_links"]
102
+ nav_links[0]["title"] = "项目"
103
+ nav_links[1]["title"] = "赞助我们"
104
+ nav_links[1]["url"] = "/zh/sponsors"
105
+
106
html_baseurl = f"https://jose.authlib.org/{language}/"
107
html_context["languages"] = [
108
("English", "https://jose.authlib.org/en/%s/", "en"),
0 commit comments