]> git.ipfire.org Git - thirdparty/jinja.git/commitdiff
unique links for filters, tests, globals 1398/head
authorDavid Lord <davidism@gmail.com>
Tue, 13 Apr 2021 17:36:11 +0000 (10:36 -0700)
committerDavid Lord <davidism@gmail.com>
Tue, 13 Apr 2021 17:36:11 +0000 (10:36 -0700)
docs/conf.py
docs/templates.rst
requirements/dev.txt
requirements/docs.in
requirements/docs.txt
requirements/tests.txt
requirements/typing.txt

index 7dd56f838075fd57556788bad72a8268a6a18b03..ca6763cbd5949695a09e70ff240349dd3e334fa8 100644 (file)
@@ -18,6 +18,7 @@ extensions = [
     "sphinxcontrib.log_cabinet",
     "sphinx_issues",
 ]
+autodoc_typehints = "description"
 intersphinx_mapping = {"python": ("https://docs.python.org/3/", None)}
 issues_github_path = "pallets/jinja"
 
index 00d998ead3665d802ea4506b84868ae8db28443f..0762e4d87c30e6ded054a429b5892e3771881a0c 100644 (file)
@@ -1,8 +1,9 @@
+.. py:currentmodule:: jinja2
+.. highlight:: html+jinja
+
 Template Designer Documentation
 ===============================
 
-.. highlight:: html+jinja
-
 This document describes the syntax and semantics of the template engine and
 will be most useful as reference to those creating Jinja templates.  As the
 template engine is very flexible, the configuration from the application can
@@ -1484,6 +1485,8 @@ is a bit contrived in the context of rendering a template):
 List of Builtin Filters
 -----------------------
 
+.. py:currentmodule:: jinja-filters
+
 .. jinja:filters:: jinja2.defaults.DEFAULT_FILTERS
 
 
@@ -1492,6 +1495,8 @@ List of Builtin Filters
 List of Builtin Tests
 ---------------------
 
+.. py:currentmodule:: jinja-tests
+
 .. jinja:tests:: jinja2.defaults.DEFAULT_TESTS
 
 
@@ -1502,6 +1507,8 @@ List of Global Functions
 
 The following functions are available in the global scope by default:
 
+.. py:currentmodule:: jinja-globals
+
 .. function:: range([start,] stop[, step])
 
     Return a list containing an arithmetic progression of integers.
@@ -1625,6 +1632,8 @@ The following functions are available in the global scope by default:
 Extensions
 ----------
 
+.. py:currentmodule:: jinja2
+
 The following sections cover the built-in Jinja extensions that may be
 enabled by an application.  An application could also provide further
 extensions not covered by this documentation; in which case there should
index 4bc39d737ef6d9e3c3514b45376b7f82fd5cd912..e47b869fbdb010d74efc77b0ea011febd137cbe0 100644 (file)
@@ -2,7 +2,7 @@
 # This file is autogenerated by pip-compile
 # To update, run:
 #
-#    pip-compile requirements/dev.in
+#    pip-compile ../requirements/dev.in
 #
 alabaster==0.7.12
     # via sphinx
@@ -28,7 +28,7 @@ filelock==3.0.12
     # via
     #   tox
     #   virtualenv
-identify==1.5.13
+identify==2.2.3
     # via pre-commit
 idna==2.10
     # via requests
@@ -42,9 +42,9 @@ markupsafe==1.1.1
     # via jinja2
 mypy-extensions==0.4.3
     # via mypy
-mypy==0.800
-    # via -r requirements/typing.in
-nodeenv==1.5.0
+mypy==0.812
+    # via -r ../requirements/typing.in
+nodeenv==1.6.0
     # via pre-commit
 packaging==20.9
     # via
@@ -53,25 +53,27 @@ packaging==20.9
     #   sphinx
     #   tox
 pallets-sphinx-themes==1.2.3
-    # via -r requirements/docs.in
-pip-tools==5.5.0
-    # via -r requirements/dev.in
+    # via -r ../requirements/docs.in
+pep517==0.10.0
+    # via pip-tools
+pip-tools==6.0.1
+    # via -r ../requirements/dev.in
 pluggy==0.13.1
     # via
     #   pytest
     #   tox
-pre-commit==2.10.1
-    # via -r requirements/dev.in
+pre-commit==2.12.0
+    # via -r ../requirements/dev.in
 py==1.10.0
     # via
     #   pytest
     #   tox
-pygments==2.7.4
+pygments==2.8.1
     # via sphinx
 pyparsing==2.4.7
     # via packaging
-pytest==6.2.2
-    # via -r requirements/tests.in
+pytest==6.2.3
+    # via -r ../requirements/tests.in
 pytz==2021.1
     # via babel
 pyyaml==5.4.1
@@ -85,10 +87,10 @@ six==1.15.0
 snowballstemmer==2.1.0
     # via sphinx
 sphinx-issues==1.2.0
-    # via -r requirements/docs.in
-sphinx==2.4.4
+    # via -r ../requirements/docs.in
+sphinx==3.5.4
     # via
-    #   -r requirements/docs.in
+    #   -r ../requirements/docs.in
     #   pallets-sphinx-themes
     #   sphinx-issues
     #   sphinxcontrib-log-cabinet
@@ -101,25 +103,26 @@ sphinxcontrib-htmlhelp==1.0.3
 sphinxcontrib-jsmath==1.0.1
     # via sphinx
 sphinxcontrib-log-cabinet==1.0.1
-    # via -r requirements/docs.in
+    # via -r ../requirements/docs.in
 sphinxcontrib-qthelp==1.0.3
     # via sphinx
 sphinxcontrib-serializinghtml==1.1.4
     # via sphinx
 toml==0.10.2
     # via
+    #   pep517
     #   pre-commit
     #   pytest
     #   tox
-tox==3.21.4
-    # via -r requirements/dev.in
-typed-ast==1.4.2
+tox==3.23.0
+    # via -r ../requirements/dev.in
+typed-ast==1.4.3
     # via mypy
 typing-extensions==3.7.4.3
     # via mypy
 urllib3==1.26.4
     # via requests
-virtualenv==20.4.2
+virtualenv==20.4.3
     # via
     #   pre-commit
     #   tox
index 42f16511752ecda0cc0159d9063095a694d557a3..7ec501b6d611ffd123e1caf993d1a3489419856d 100644 (file)
@@ -1,4 +1,4 @@
 Pallets-Sphinx-Themes
-Sphinx<3
+Sphinx
 sphinx-issues
 sphinxcontrib-log-cabinet
index 2465b61404f353a8321b989914bb8123627d9388..604c1751398ee771589cc2565a0686cbf0b4913a 100644 (file)
@@ -2,7 +2,7 @@
 # This file is autogenerated by pip-compile
 # To update, run:
 #
-#    pip-compile requirements/docs.in
+#    pip-compile ../requirements/docs.in
 #
 alabaster==0.7.12
     # via sphinx
@@ -27,8 +27,8 @@ packaging==20.9
     #   pallets-sphinx-themes
     #   sphinx
 pallets-sphinx-themes==1.2.3
-    # via -r requirements/docs.in
-pygments==2.7.4
+    # via -r ../requirements/docs.in
+pygments==2.8.1
     # via sphinx
 pyparsing==2.4.7
     # via packaging
@@ -39,10 +39,10 @@ requests==2.25.1
 snowballstemmer==2.1.0
     # via sphinx
 sphinx-issues==1.2.0
-    # via -r requirements/docs.in
-sphinx==2.4.4
+    # via -r ../requirements/docs.in
+sphinx==3.5.4
     # via
-    #   -r requirements/docs.in
+    #   -r ../requirements/docs.in
     #   pallets-sphinx-themes
     #   sphinx-issues
     #   sphinxcontrib-log-cabinet
@@ -55,7 +55,7 @@ sphinxcontrib-htmlhelp==1.0.3
 sphinxcontrib-jsmath==1.0.1
     # via sphinx
 sphinxcontrib-log-cabinet==1.0.1
-    # via -r requirements/docs.in
+    # via -r ../requirements/docs.in
 sphinxcontrib-qthelp==1.0.3
     # via sphinx
 sphinxcontrib-serializinghtml==1.1.4
index 43d6aba60564345038e35efd340f8db3ff4b08cc..fbf52fef16a5de10ee2a2d0b70cd9719f2fb6754 100644 (file)
@@ -2,7 +2,7 @@
 # This file is autogenerated by pip-compile
 # To update, run:
 #
-#    pip-compile requirements/tests.in
+#    pip-compile ../requirements/tests.in
 #
 attrs==20.3.0
     # via pytest
@@ -16,7 +16,7 @@ py==1.10.0
     # via pytest
 pyparsing==2.4.7
     # via packaging
-pytest==6.2.2
-    # via -r requirements/tests.in
+pytest==6.2.3
+    # via -r ../requirements/tests.in
 toml==0.10.2
     # via pytest
index 2530301a5336a341c6d02635107ea01c8339daa8..383fc8f4f6ccafa6a8aded0ca52a602b31ad5dbe 100644 (file)
@@ -2,13 +2,13 @@
 # This file is autogenerated by pip-compile
 # To update, run:
 #
-#    pip-compile requirements/typing.in
+#    pip-compile ../requirements/typing.in
 #
 mypy-extensions==0.4.3
     # via mypy
-mypy==0.800
-    # via -r requirements/typing.in
-typed-ast==1.4.2
+mypy==0.812
+    # via -r ../requirements/typing.in
+typed-ast==1.4.3
     # via mypy
 typing-extensions==3.7.4.3
     # via mypy