New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support and prefer .jinja
to _t
for static templates
#11165
Support and prefer .jinja
to _t
for static templates
#11165
Commits on Feb 3, 2023
-
Templating: use '.jinja2' suffix on Jinja2 template files instead of …
…generic/ambiguous '_t' suffix
-
ruff suggestion: adopt union typing syntax (with support provided by …
…PEP0563 for pre-py310)
Commits on Feb 13, 2023
Commits on Feb 19, 2023
-
Update file extension: the 'jinja2' project has been renamed to 'jinj…
…a', so let's simplify the filename extension accordingly
-
-
Fixup: ruff lint error (missing trailing comma after multi-line multi…
…-argument method call parameter list)
-
Fixup: adjust trim-length for template suffix (was: seven characters …
…for '.jinja2', is now: six characters for '.jinja') Note: cannot yet simplify this code by using str.removesuffix, since that was introduced in py39 and we are maintaining py38 support
Commits on Mar 21, 2023
Commits on Apr 6, 2023
-
Logic adjustment and refactor: rename '_template_basename' utility me…
…thod to '_asset_destination', and always return a string result from it
-
Emit a more-generic PendingDeprecationWarning instead of RemovedInSph…
…inx80Warning when legacy template suffixes are in use
-
Code commentary / feature removal timeline: provide two years from to…
…day before removing support for the '_t' suffix on Sphinx copy-file templates
-
-
-
Babel resource extraction: update latex template method mappings to i…
…nclude recommended .jinja file suffix
-
Babel resource extraction: update javascript template method mapping …
…to include .jinja file suffix
-
Babel resource extraction: update latex template options to include r…
…ecommended .jinja file suffix
-
-
LaTeX templating: re-migrate to preferred '.tex.jinja' template suffi…
…x, while providing backwards-compatibility for locally-deployed project '.tex_t' template file suffixes
-
-
Test coverage: ensure that we have test coverage for the legacy LaTeX…
… template suffix
-
-
-
imgmath LaTeX templating: provide backwards-compatibility in the case…
… of locally-deployed project '.tex_t'-suffixed template files
-
Safety in code path where a multi-item iterable is expected to be red…
…uced to a single element in future: use list literal instead of tuple literal representation
-
-
Revert "Logic adjustment and refactor: rename '_template_basename' ut…
…ility method to '_asset_destination', and always return a string result from it" This reverts commit d2af9b5.
Commits on Apr 7, 2023
-
Template suffix iteration: use the 'tuple' datatype instead of 'list'…
… to hold the suffix string elements Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
-
-
-
-