You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Always content for orphans, since they don't have a concept of tickets
* Add tests for orphans in non showcontent categories
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Add newsfragment
* Add a note in the configuration docs about the change to orphan fragments in non-showcontent categories
* Use rst admonitions for the showcontent notes
* Refactor rendering of title via `config.title_format` (#610)
* Refactor rendering of title via config.title_format
* Add newsfragment
* Config docs
* Fix restructuredtext formatting error
* Refactor issue_key function to sort issues in a human-friendly way (#608)
* Refactor issue_key function to sort issues in a human-friendly way
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Rename newsfragment
* Small improvement to test to show how text with numeric issues are sorted
* Update src/towncrier/_builder.py docstring grammar
Co-authored-by: Adi Roiban <[email protected]>
* clarify new behaviour in newsfragment
* Add some docstrings/comments to tests
* linelength fix
* Clarify news fragments vs tickets
Co-authored-by: Adi Roiban <[email protected]>
* Consistent use of "issue" rather than "ticket"
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* typo
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Adi Roiban <[email protected]>
* variable now called issue instead of ticket
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Adi Roiban <[email protected]>
Copy file name to clipboardExpand all lines: docs/configuration.rst
+10
Original file line number
Diff line number
Diff line change
@@ -216,6 +216,11 @@ These may include the following optional keys:
216
216
217
217
``true`` by default.
218
218
219
+
.. note::
220
+
221
+
Orphan fragments (those without an issue number) always have their content included.
222
+
If a fragment was created, it means that information is important for end users.
223
+
219
224
For example, if you want your custom fragment types to be ``["feat", "fix", "chore",]`` and you want all of them to use the default configuration except ``"chore"`` you can do it as follows:
220
225
221
226
.. code-block:: toml
@@ -257,6 +262,11 @@ Each table within this array has the following mandatory keys:
257
262
258
263
``true`` by default.
259
264
265
+
.. note::
266
+
267
+
Orphan fragments (those without an issue number) always have their content included.
268
+
If a fragment was created, it means that information is important for end users.
Orphan news fragments, fragments not associated with an issue, will now still show in categories that are marked to not show content, since they do not have an issue number to show.
0 commit comments