summaryrefslogtreecommitdiff
path: root/docs
Commit message (Collapse)AuthorAgeFilesLines
* use pip-compile to pin dev requirementsDavid Lord2020-05-181-4/+0
|
* remove vim syntax fileDavid Lord2020-04-191-66/+35
| | | | remove unmaintained information from integration doc
* Merge branch '2.11.x'David Lord2020-03-301-3/+4
|\
| * Add link to template designer documentationldealmei2020-02-281-3/+4
| | | | | | | | For those who were actually looking for the template design documentation putting a link directly to it might prevent them to have to google for it. When on the API page, there is no direct way to find the template design documentation. Hope this can help others.
* | Fix html tagNils K2020-03-221-2/+2
| |
* | Merge branch '2.11.x'David Lord2020-02-271-29/+30
|\ \ | |/
| * rewrite async discussionDavid Lord2020-02-081-29/+30
| |
| * Fix async docDavid Brochart2020-02-081-1/+1
| |
* | apply pyupgrade and f-stringsDavid Lord2020-02-054-10/+9
| |
* | remove Python 2 from docsDavid Lord2020-02-057-223/+92
|/
* Revert "rename imports to jinja"David Lord2020-01-2611-107/+129
| | | | This reverts commit 1167525b73863119f8bbec03ddb9d35eacff4bef.
* rename imports to jinjaDavid Lord2020-01-1011-129/+107
|
* simplify module docstringsstyleDavid Lord2020-01-101-10/+0
|
* remove old scripts and examplesDavid Lord2020-01-103-6/+117
|
* apply blackDavid Lord2020-01-101-9/+7
|
* fix(templates.rst): fix typo (`hat` => `that`)Imran Iqbal2019-12-081-1/+1
|
* use "Jinja" instead of "Jinja2"David Lord2019-10-232-5/+5
|
* use "Jinja" instead of "Jinja2"David Lord2019-10-239-116/+114
|
* clarify cycler.next() behaviorDavid Lord2019-10-201-19/+22
|
* clean up i18n documentationDavid Lord2019-10-192-114/+148
| | | | | | | | explain enabling newstyle organize newstyle advantages mention escaping percent signs for formatting mention marking format parameters as safe fix newstyle ref
* document lack of file extensionDavid Lord2019-10-181-0/+14
| | | | closes #547
* document behavior of block tag in if blockDavid Lord2019-10-181-0/+4
| | | | closes #423
* format expression docsDavid Lord2019-10-181-37/+37
|
* improve docs about string methods in templatesDavid Lord2019-10-181-12/+29
| | | | closes #273
* Don't make cond_expr_undefined configurableAdrian Moennich2019-10-131-2/+2
|
* Use separate undefined object for CondExprAdrian Moennich2019-10-131-1/+2
|
* document debug extensionDavid Lord2019-10-042-30/+65
|
* Merge branch '2.10.x'David Lord2019-07-2630-1185/+140
|\
| * Merge branch '2.9.x' into docsDavid Lord2019-07-2630-1165/+145
| |\
| | * fix linkcheck issuesdocsDavid Lord2019-07-265-19/+19
| | |
| | * modernize docs config, use pallets-sphinx-themesDavid Lord2019-07-2627-1145/+136
| | |
* | | support underscore in int and floatCleoQc2019-07-231-4/+7
| | |
* | | clean up scientific notation supportDavid Lord2019-07-231-12/+7
| | | | | | | | | | | | | | | | | | add changelog clean up docs parametrize tests
* | | support scientific notationCleoQc2019-07-221-3/+10
| | |
* | | Correct syntax highlighting of jinja block in docsJon Dufresne2019-07-201-3/+1
| | |
* | | Merge branch '2.10.x'David Lord2019-07-203-7/+29
|\ \ \ | |/ /
| * | Import abstract base classes from collections.abcFlorian Bruhin2019-06-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In Python 3.7, importing ABCs directly from the `collections` module shows a warning (and in Python 3.8 it will stop working) - see https://github.com/python/cpython/commit/c66f9f8d3909f588c251957d499599a1680e2320 This fixes various DeprecationWarnings such as those: ``` .../jinja2/utils.py:485: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working from collections import MutableMapping .../jinja2/runtime.py:318: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working from collections import Mapping ```
| * | Merge pull request #1009 from shamsimam/doc-python-methodsJoshua Bronson2019-06-051-1/+23
| |\ \ | | | | | | | | adds documentation on use of python methods in expressions
| | * | adds documentation on use of python methods in expressionsShams Imam2019-05-311-1/+23
| | | |
| * | | Merge pull request #1012 from yongbozhang/issue-423Joshua Bronson2019-06-051-1/+3
| |\ \ \ | | | | | | | | | | Remind not to put block in if statements in doc
| | * | | issue-423 remind not to put block in if statements in docyongbozhang2019-06-021-1/+3
| | |/ /
| * | | docs: Python3-ize the examplesDeepak Amin2019-05-312-4/+3
| |/ / | | | | | | | | | | | | This commit updates the examples to conform to Python 3 instead of Python 2, as Python 3 is more acceptable these days.
| * | Merge pull request #988 from tbnorth/triv_docs_linkKevin Brown2019-05-111-2/+1
| |\ \ | | | | | | | | fixes #242, deletes link to Jinja 1 docs.
| | * | fixes #242, deletes link to Jinja 1 docs.Terry N. Brown2019-05-061-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This just fixes a broken link by deleteing it. I'm assuming Jinja 1 docs. aren't readily available anymore. I looked for a git tag for version 1 as an alternative target, but didn't see that either.
* | | | Fix "duplicate object description of jinja2" warningjab2019-06-051-0/+1
| | | | | | | | | | | | | | | | Follow suggestion to use :noindex: for the instance in api."
* | | | Improve nested extends (super.super) example.jab2019-06-051-19/+24
| | | |
* | | | Write a new documentation section on nesting extends.Scott Crosby2019-06-051-0/+30
| | | |
* | | | Add ChainableUndefined allowing getattr & getitem (#997)Étienne Pelletier2019-05-081-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add ChainableUndefined allowing getattr & getitem Allows using default values with chains of items or attributes that may contain undefined values without raising a jinja2.exceptions.UndefinedError. >>> import jinja2 >>> env = jinja2.Environment(undefined=jinja2.ChainableUndefined) >>> env.from_string("{{ foo.bar['baz'] | default('val') }}").render() 'val' * Remove class decorator from ChainableUndefined
* | | | Merge remote-tracking branch 'origin/2.10.x'David Lord2019-05-061-4/+4
|\ \ \ \ | |/ / /
| * | | Fix tox docs-html buildsKevin Brown2019-05-061-4/+4
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | These have been broken for about a month now because of the upgrade to Sphinx 2. This upgrade happened automatically because we do not have the version pinned. Luckily this issue appears to only be from having Python 2 syntax in the docs script, so making that compatible with Python 3 fixes the error and allows the docs to pass.