Skip to content
Myr

Merge pull request #1398 from pallets/docs-filter-anchor

Before adoption: this commit came in with the history the project adopted, so no landing records it.

unique links for filters, tests, globals

authored by David Lord · committed by GitHub · parents 414a8c4, f61cc84 · Browse files · 7 files+51 added−38 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

7 files+51 added−38 removed

  • other:+51 added−38 removed

7 files+51 added−38 removed

modified:docs/conf.py+1 added
16 unmodified lines
17 "pallets_sphinx_themes",18 "sphinxcontrib.log_cabinet",19 "sphinx_issues",20]21autodoc_typehints = "description"22intersphinx_mapping = {"python": ("https://docs.python.org/3/", None)}23issues_github_path = "pallets/jinja"2425# HTML -----------------------------------------------------------------
28 unmodified lines
modified:docs/templates.rst+11 added-2 removed
1.. py:currentmodule:: jinja22.. highlight:: html+jinja34Template Designer Documentation5===============================64.. highlight:: html+jinja57This document describes the syntax and semantics of the template engine and8will be most useful as reference to those creating Jinja templates. As the9template engine is very flexible, the configuration from the application can10be slightly different from the code presented here in terms of delimiters and
1473 unmodified lines
14841485List of Builtin Filters1486-----------------------14871488.. py:currentmodule:: jinja-filters14891490.. jinja:filters:: jinja2.defaults.DEFAULT_FILTERS149114921493.. _builtin-tests:14941495List of Builtin Tests1496---------------------14971498.. py:currentmodule:: jinja-tests14991500.. jinja:tests:: jinja2.defaults.DEFAULT_TESTS150115021503.. _builtin-globals:
2 unmodified lines
1506------------------------15071508The following functions are available in the global scope by default:15091510.. py:currentmodule:: jinja-globals15111512.. function:: range([start,] stop[, step])15131514 Return a list containing an arithmetic progression of integers.1515 ``range(i, j)`` returns ``[i, i+1, i+2, ..., j-1]``;
115 unmodified lines
16311632Extensions1633----------16341635.. py:currentmodule:: jinja216361637The following sections cover the built-in Jinja extensions that may be1638enabled by an application. An application could also provide further1639extensions not covered by this documentation; in which case there should1640be a separate document explaining said :ref:`extensions
248 unmodified lines
modified:requirements/dev.txt+24 added-21 removed
1#2# This file is autogenerated by pip-compile3# To update, run:4#5# pip-compile requirements/dev.in5# pip-compile ../requirements/dev.in6#7alabaster==0.7.128 # via sphinx9appdirs==1.4.4
17 unmodified lines
27filelock==3.0.1228 # via29 # tox30 # virtualenv31identify==1.5.1331identify==2.2.332 # via pre-commit33idna==2.1034 # via requests35imagesize==1.2.0
5 unmodified lines
41markupsafe==1.1.142 # via jinja243mypy-extensions==0.4.344 # via mypy45mypy==0.80046 # via -r requirements/typing.in47nodeenv==1.5.045mypy==0.81246 # via -r ../requirements/typing.in47nodeenv==1.6.048 # via pre-commit49packaging==20.950 # via51 # pallets-sphinx-themes52 # pytest53 # sphinx54 # tox55pallets-sphinx-themes==1.2.356 # via -r requirements/docs.in57pip-tools==5.5.058 # via -r requirements/dev.in56 # via -r ../requirements/docs.in57pep517==0.10.058 # via pip-tools59pip-tools==6.0.160 # via -r ../requirements/dev.in61pluggy==0.13.162 # via63 # pytest64 # tox63pre-commit==2.10.164 # via -r requirements/dev.in65pre-commit==2.12.066 # via -r ../requirements/dev.in67py==1.10.068 # via69 # pytest70 # tox69pygments==2.7.471pygments==2.8.172 # via sphinx73pyparsing==2.4.774 # via packaging73pytest==6.2.274 # via -r requirements/tests.in75pytest==6.2.376 # via -r ../requirements/tests.in77pytz==2021.178 # via babel79pyyaml==5.4.180 # via pre-commit
5 unmodified lines
86 # virtualenv87snowballstemmer==2.1.088 # via sphinx89sphinx-issues==1.2.088 # via -r requirements/docs.in89sphinx==2.4.490 # via -r ../requirements/docs.in91sphinx==3.5.492 # via91 # -r requirements/docs.in93 # -r ../requirements/docs.in94 # pallets-sphinx-themes95 # sphinx-issues96 # sphinxcontrib-log-cabinet97sphinxcontrib-applehelp==1.0.2
4 unmodified lines
102 # via sphinx103sphinxcontrib-jsmath==1.0.1104 # via sphinx105sphinxcontrib-log-cabinet==1.0.1104 # via -r requirements/docs.in106 # via -r ../requirements/docs.in107sphinxcontrib-qthelp==1.0.3108 # via sphinx109sphinxcontrib-serializinghtml==1.1.4110 # via sphinx111toml==0.10.2112 # via113 # pep517114 # pre-commit115 # pytest116 # tox114tox==3.21.4115 # via -r requirements/dev.in116typed-ast==1.4.2117tox==3.23.0118 # via -r ../requirements/dev.in119typed-ast==1.4.3120 # via mypy121typing-extensions==3.7.4.3122 # via mypy123urllib3==1.26.4124 # via requests122virtualenv==20.4.2125virtualenv==20.4.3126 # via127 # pre-commit128 # tox129
3 unmodified lines
modified:requirements/docs.in+1 added-1 removed
1Pallets-Sphinx-Themes2Sphinx<32Sphinx3sphinx-issues4sphinxcontrib-log-cabinet
modified:requirements/docs.txt+7 added-7 removed
1#2# This file is autogenerated by pip-compile3# To update, run:4#5# pip-compile requirements/docs.in5# pip-compile ../requirements/docs.in6#7alabaster==0.7.128 # via sphinx9babel==2.9.0
16 unmodified lines
26 # via27 # pallets-sphinx-themes28 # sphinx29pallets-sphinx-themes==1.2.330 # via -r requirements/docs.in31pygments==2.7.430 # via -r ../requirements/docs.in31pygments==2.8.132 # via sphinx33pyparsing==2.4.734 # via packaging35pytz==2021.1
2 unmodified lines
38 # via sphinx39snowballstemmer==2.1.040 # via sphinx41sphinx-issues==1.2.042 # via -r requirements/docs.in43sphinx==2.4.442 # via -r ../requirements/docs.in43sphinx==3.5.444 # via45 # -r requirements/docs.in45 # -r ../requirements/docs.in46 # pallets-sphinx-themes47 # sphinx-issues48 # sphinxcontrib-log-cabinet49sphinxcontrib-applehelp==1.0.2
4 unmodified lines
54 # via sphinx55sphinxcontrib-jsmath==1.0.156 # via sphinx57sphinxcontrib-log-cabinet==1.0.158 # via -r requirements/docs.in58 # via -r ../requirements/docs.in59sphinxcontrib-qthelp==1.0.360 # via sphinx61sphinxcontrib-serializinghtml==1.1.462 # via sphinx
5 unmodified lines
modified:requirements/tests.txt+3 added-3 removed
1#2# This file is autogenerated by pip-compile3# To update, run:4#5# pip-compile requirements/tests.in5# pip-compile ../requirements/tests.in6#7attrs==20.3.08 # via pytest9iniconfig==1.1.1
5 unmodified lines
15py==1.10.016 # via pytest17pyparsing==2.4.718 # via packaging19pytest==6.2.220 # via -r requirements/tests.in19pytest==6.2.320 # via -r ../requirements/tests.in21toml==0.10.222 # via pytest
modified:requirements/typing.txt+4 added-4 removed
1#2# This file is autogenerated by pip-compile3# To update, run:4#5# pip-compile requirements/typing.in5# pip-compile ../requirements/typing.in6#7mypy-extensions==0.4.38 # via mypy9mypy==0.80010 # via -r requirements/typing.in11typed-ast==1.4.29mypy==0.81210 # via -r ../requirements/typing.in11typed-ast==1.4.312 # via mypy13typing-extensions==3.7.4.314 # via mypy