diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 71513bbb..146090f5 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -13,7 +13,6 @@ build: python: "3.11" python: - system_packages: False install: - method: pip path: . diff --git a/docs/markdown.rst b/docs/markdown.rst index a81fbbcc..7c07aa5e 100644 --- a/docs/markdown.rst +++ b/docs/markdown.rst @@ -21,7 +21,6 @@ Put the following into your ``pyproject.toml`` or ``towncrier.toml``: filename = "CHANGELOG.md" start_string = "\n" underlines = ["", "", ""] - template = "changelog.d/changelog_template.jinja" title_format = "## [{version}](https://github.com/twisted/my-project/tree/{version}) - {project_date}" issue_format = "[#{issue}](https://github.com/twisted/my-project/issues/{issue})" @@ -57,33 +56,12 @@ Put the following into your ``pyproject.toml`` or ``towncrier.toml``: -Next create the news fragment directory and the news file template: +Next create the news fragment directory: .. code-block:: console $ mkdir changelog.d -And put the following into ``changelog.d/changelog_template.jinja``: - -.. code-block:: jinja - - {% if sections[""] %} - {% for category, val in definitions.items() if category in sections[""] %} - - ### {{ definitions[category]['name'] }} - - {% for text, values in sections[""][category].items() %} - - {{ text }} {{ values|join(', ') }} - {% endfor %} - - {% endfor %} - {% else %} - No significant changes. - - - {% endif %} - - Next, create the news file with an explanatory header:: $ cat >CHANGELOG.md <