diff --git a/docs/python/documentation.rst b/docs/python/documentation.rst
index 3763a5d..9bc7276 100644
--- a/docs/python/documentation.rst
+++ b/docs/python/documentation.rst
@@ -59,7 +59,7 @@ Check docstring style
Use `Ruff `__ in new :doc:`packages`.
.. literalinclude:: ../../cookiecutter-pypackage/{{cookiecutter.repository_name}}/pyproject.toml
- :language: toml
+ :language: jinja
:caption: pyproject.toml
These error codes are ignored:
diff --git a/docs/python/linting.rst b/docs/python/linting.rst
index aaa93c6..22b41ca 100644
--- a/docs/python/linting.rst
+++ b/docs/python/linting.rst
@@ -25,13 +25,13 @@ New projects should use the `Ruff `__ formatter an
.. tab-item:: Package
.. literalinclude:: ../../cookiecutter-pypackage/{{cookiecutter.repository_name}}/pyproject.toml
- :language: yaml
+ :language: jinja
:caption: pyproject.toml
.. tab-item:: Django
.. literalinclude:: ../../cookiecutter-django/{{cookiecutter.project_slug}}/pyproject.toml
- :language: yaml
+ :language: jinja
:caption: pyproject.toml
Do not use ``setup.cfg``, ``setup.py``, ``.editorconfig`` or tool-specific files like ``.coveragerc``.