summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorJames Addison <55152140+jayaddison@users.noreply.github.com>2023-04-23 19:06:44 +0100
committerGitHub <noreply@github.com>2023-04-23 19:06:44 +0100
commit59de8d52029deca803d38b5d084a3a32c7b7f994 (patch)
treeafd2646cf550155a10a8a9444697ad892f009e90 /utils
parentaee3c0ab75974790adf359a9c5089d1d781a6b21 (diff)
downloadsphinx-git-59de8d52029deca803d38b5d084a3a32c7b7f994.tar.gz
Revert "Support and prefer ``.jinja`` to ``_t`` for static templates (#11165)" (#11329)
This reverts commit 5d13215b58f93c6be8255ef2e3e20836508c7d47.
Diffstat (limited to 'utils')
-rw-r--r--utils/babel_runner.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/utils/babel_runner.py b/utils/babel_runner.py
index 3f963c918..5e62efe86 100644
--- a/utils/babel_runner.py
+++ b/utils/babel_runner.py
@@ -42,9 +42,7 @@ METHOD_MAP = [
# Extraction from Python source files
('**.py', extract_python),
# Extraction from Jinja2 template files
- ('**/templates/latex/**.tex.jinja', extract_jinja2),
('**/templates/latex/**.tex_t', extract_jinja2),
- ('**/templates/latex/**.sty.jinja', extract_jinja2),
('**/templates/latex/**.sty_t', extract_jinja2),
# Extraction from Jinja2 HTML templates
('**/themes/**.html', extract_jinja2),
@@ -52,7 +50,6 @@ METHOD_MAP = [
('**/themes/**.xml', extract_jinja2),
# Extraction from JavaScript files
('**.js', extract_javascript),
- ('**.js.jinja', extract_javascript),
('**.js_t', extract_javascript),
]
OPTIONS_MAP = {
@@ -61,9 +58,7 @@ OPTIONS_MAP = {
'encoding': 'utf-8',
},
# Extraction from Jinja2 template files
- '**/templates/latex/**.tex.jinja': TEX_DELIMITERS.copy(),
'**/templates/latex/**.tex_t': TEX_DELIMITERS.copy(),
- '**/templates/latex/**.sty.jinja': TEX_DELIMITERS.copy(),
'**/templates/latex/**.sty_t': TEX_DELIMITERS.copy(),
# Extraction from Jinja2 HTML templates
'**/themes/**.html': {