Skip to content

Commit

Permalink
docs: update Jinja2 docs URL to v3.1.x
Browse files Browse the repository at this point in the history
  • Loading branch information
sisp authored and yajo committed Aug 28, 2022
1 parent 29bc69a commit 5a6d930
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions docs/configuring.md
Expand Up @@ -519,7 +519,7 @@ possible. The only exception at the moment is that
end of a template file. If you want to remove those, either remove them from the
template or set `keep_trailing_newline` to `false`.
See [upstream docs](https://jinja.palletsprojects.com/en/2.11.x/api/#jinja2.Environment)
See [upstream docs](https://jinja.palletsprojects.com/en/3.1.x/api/#jinja2.Environment)
to know available options.
!!! warning
Expand Down Expand Up @@ -679,12 +679,12 @@ on them, so they are always installed when Copier is installed.
Examples of extensions you can use:
- [Native Jinja2 extensions](https://jinja.palletsprojects.com/en/3.0.x/extensions/):
- [expression statement](https://jinja.palletsprojects.com/en/3.0.x/templates/#expression-statement),
- [Native Jinja2 extensions](https://jinja.palletsprojects.com/en/3.1.x/extensions/):
- [expression statement](https://jinja.palletsprojects.com/en/3.1.x/templates/#expression-statement),
which can be used to alter the Jinja context (answers, filters, etc.) or execute other operations, without outputting anything.
- [loop controls](https://jinja.palletsprojects.com/en/3.0.x/extensions/#loop-controls), which adds the `break` and `continue`
- [loop controls](https://jinja.palletsprojects.com/en/3.1.x/extensions/#loop-controls), which adds the `break` and `continue`
keywords for Jinja loops.
- [debug extension](https://jinja.palletsprojects.com/en/3.0.x/extensions/#debug-extension), which can dump the current context
- [debug extension](https://jinja.palletsprojects.com/en/3.1.x/extensions/#debug-extension), which can dump the current context
thanks to the added `{% debug %}` tag.
- From [cookiecutter](https://cookiecutter.readthedocs.io/en/1.7.2/):
Expand Down
2 changes: 1 addition & 1 deletion docs/creating.md
Expand Up @@ -74,7 +74,7 @@ their usage.
## Template helpers

In addition to
[all the features Jinja supports](https://jinja.palletsprojects.com/en/2.11.x/templates/),
[all the features Jinja supports](https://jinja.palletsprojects.com/en/3.1.x/templates/),
Copier includes:

- All functions and filters from
Expand Down

0 comments on commit 5a6d930

Please sign in to comment.