diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 11:31:33 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 11:31:33 +0000 |
commit | e863fd965dd6253243c3342bd6f0adc4fc8aec4d (patch) | |
tree | a4c1b6491a82593950043c3f8b2530e80664d768 /babel.cfg | |
parent | Initial commit. (diff) | |
download | sphinx-upstream.tar.xz sphinx-upstream.zip |
Adding upstream version 5.3.0.upstream/5.3.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | babel.cfg | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/babel.cfg b/babel.cfg new file mode 100644 index 0000000..b1816e8 --- /dev/null +++ b/babel.cfg @@ -0,0 +1,35 @@ +# How to setup this file +# https://babel.pocoo.org/en/latest/installation.html +# this file description: +# https://babel.pocoo.org/en/latest/messages.html + +# Extraction from Python source files +[python: **.py] +encoding = utf-8 + +# Extraction from Jinja2 template files +[jinja2: **/templates/latex/**.tex_t] +variable_start_string = <%= +variable_end_string = %> +block_start_string = <% +block_end_string = %> + +# Extraction from Jinja2 template files +[jinja2: **/templates/latex/**.sty_t] +variable_start_string = <%= +variable_end_string = %> +block_start_string = <% +block_end_string = %> + +# Extraction from Jinja2 HTML templates +[jinja2: **/themes/**.html] +encoding = utf-8 +ignore_tags = script,style +include_attrs = alt title summary + +# Extraction from Jinja2 XML templates +[jinja2: **/themes/**.xml] + +# Extraction from JavaScript files +[javascript: **.js] +[javascript: **.js_t] |