Docs: Add some general configuration about translation

This commit is contained in:
GeorgeHu 2024-06-24 18:49:23 +08:00
commit d4c95960da

View file

@ -19,6 +19,9 @@ with open("../pyproject.toml", "rb") as f:
# -- General configuration ---------------------------------------------------- # -- General configuration ----------------------------------------------------
templates_path = ["_templates"] templates_path = ["_templates"]
locale_dirs = ['locale/']
gettext_compact = False
gettext_uuid = True
extensions = [ extensions = [
"sphinx.ext.autodoc", "sphinx.ext.autodoc",
"sphinx.ext.extlinks", "sphinx.ext.extlinks",