From d4c95960da8e8d90b401a9865bc9becea4e6056d Mon Sep 17 00:00:00 2001 From: GeorgeHu Date: Mon, 24 Jun 2024 18:49:23 +0800 Subject: [PATCH] Docs: Add some general configuration about translation --- docs/conf.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/conf.py b/docs/conf.py index b812ee4c..7dbdd124 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -19,6 +19,9 @@ with open("../pyproject.toml", "rb") as f: # -- General configuration ---------------------------------------------------- templates_path = ["_templates"] +locale_dirs = ['locale/'] +gettext_compact = False +gettext_uuid = True extensions = [ "sphinx.ext.autodoc", "sphinx.ext.extlinks",