-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Support and prefer .jinja to _t for static templates
#11165
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
Merged
AA-Turner
merged 40 commits into
sphinx-doc:master
from
jayaddison:templating/jinja2-suffix
Apr 7, 2023
Merged
Changes from all commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
3e735ee
Templating: use '.jinja2' suffix on Jinja2 template files instead of …
jayaddison 5ce9483
ruff suggestion: adopt union typing syntax (with support provided by …
jayaddison 168cb23
Merge branch 'master' into templating/jinja2-suffix
jayaddison 4a8a339
Update file extension: the 'jinja2' project has been renamed to 'jinj…
jayaddison eb9938a
Merge branch 'master' into templating/jinja2-suffix
jayaddison 43f8b2b
Fixup: ruff lint error (missing trailing comma after multi-line multi…
jayaddison b2889de
Fixup: adjust trim-length for template suffix (was: seven characters …
jayaddison a720933
Localization: undo changes to resource files
jayaddison 6f99cef
Merge branch 'master' into templating/jinja2-suffix
jayaddison d2af9b5
Logic adjustment and refactor: rename '_template_basename' utility me…
jayaddison 526fdc7
Emit a more-generic PendingDeprecationWarning instead of RemovedInSph…
jayaddison cd0d61f
CHANGES: document the deprecation of the '_t' file-copy template suffix
jayaddison 5ab2226
Code commentary / feature removal timeline: provide two years from to…
jayaddison b8570ab
Merge branch 'master' into templating/jinja2-suffix
jayaddison 59534ea
CHANGES: Add issue thread number reference
jayaddison e38e78e
Cleanup: remove unused import
jayaddison 6305f96
Documentation: update hint related to LaTeX template filenames
jayaddison dc850b7
Babel resource extraction: update latex template method mappings to i…
jayaddison 04aa946
Babel resource extraction: update javascript template method mapping …
jayaddison 8572661
Babel resource extraction: update latex template options to include r…
jayaddison 0eb993d
Revert changes to latex file rendering
jayaddison 0444616
LaTeX templating: re-migrate to preferred '.tex.jinja' template suffi…
jayaddison 29fb6f0
Fixup: migrate imgmath LaTeX template to use .jinja suffix
jayaddison 1630cc8
Test coverage: ensure that we have test coverage for the legacy LaTeX…
jayaddison d85f016
Fixup: migrate built-in preview.tex LaTeX template
jayaddison 8475023
Merge branch 'master' into templating/jinja2-suffix
AA-Turner bc43d2e
CHANGES: Update deprecation note to mention built-in templates
jayaddison 06aa004
imgmath LaTeX templating: provide backwards-compatibility in the case…
jayaddison 7b061cf
Safety in code path where a multi-item iterable is expected to be red…
jayaddison abd8af5
Fixup: add missing import
jayaddison d8e3fa7
Revert "Logic adjustment and refactor: rename '_template_basename' ut…
jayaddison 30c7318
Fixup: imgmath: fallback to template filename with .jinja suffix
jayaddison d0aa68a
Template suffix iteration: use the 'tuple' datatype instead of 'list'…
jayaddison 299dbed
Documentation: add explanatory docstring to utility '_template_basena…
jayaddison c3b5cb9
Adjust date, add helper function
AA-Turner 6600615
Add tests
AA-Turner 9327357
Update ``theming.rst``
AA-Turner cccdfaf
Update CHANGES
AA-Turner cb9ea44
left -> removed
AA-Turner 9a4410a
credits
AA-Turner File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.