docs: add support for zh

This commit is contained in:
csunny 2023-06-11 20:27:30 +08:00
parent 7a06007efd
commit e44384fc33
20 changed files with 6 additions and 0 deletions

View File

@ -47,6 +47,12 @@ templates_path = ["_templates"]
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]
# multi language config
language = "en"
locals_dirs = ['./locales/']
gettext_compact = False
gettext_uuid = True
# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output