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
Copy file name to clipboardexpand all lines: docs/configuration.rst
+5-3
Original file line number
Diff line number
Diff line change
@@ -130,10 +130,12 @@ Top level keys
130
130
131
131
``true`` by default.
132
132
133
-
``build_ignore_filenames``
134
-
A list of filenames in the news fragments directory to ignore when building the news file.
133
+
``ignore``
134
+
A list of filenames in the news fragments directory to ignore.
135
135
136
-
If this is configured, it turns on the ``--strict`` build mode which will fail if there are any news fragment files not in this list that have invalid filenames. Note that if a template is used, it should also be included here.
136
+
``towncrier check`` will fail if there are any news fragment files that have invalid filenames, except for those in the list. ``towncrier build`` will likewise fail, but only if this list has been configured (set to an empty list if there are no files to ignore).
137
+
138
+
Note that if a custom template is stored in the news fragment directory, you should add it to this list.
``towncrier check`` will now fail if any news fragments have invalid filenames.
2
2
3
-
Added a new configuration option called ``build_ignore_filenames`` that allows you to specify a list of filenames that should be ignored. If this is set, ``towncrier build`` will also fail if any filenames are invalid, except for those in the list.
3
+
Added a new configuration option called ``ignore`` that allows you to specify a list of filenames that should be ignored. If this is set, ``towncrier build`` will also fail if any filenames are invalid, except for those in the list.
0 commit comments