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
Towncrier uses the directory newsfragments by default. However, if directory is not defined in the towncrier config, this plugin will fail with the following error:
Extension error (sphinxcontrib.towncrier.ext):
Handler <bound method TowncrierDraftEntriesEnvironmentCollector.get_outdated_docs of <sphinxcontrib.towncrier.ext.TowncrierDraftEntriesEnvironmentCollector object at 0x107773750>> for event 'env-get-outdated' threw an exception (exception: unsupported operand type(s) for /: 'PosixPath' and 'NoneType')
Adding directory = "newsfragments" to the config works around the error.
This extension should support the same defaults as towncrier.
The text was updated successfully, but these errors were encountered:
Towncrier uses the directory
newsfragments
by default. However, ifdirectory
is not defined in the towncrier config, this plugin will fail with the following error:Adding
directory = "newsfragments"
to the config works around the error.This extension should support the same defaults as towncrier.
The text was updated successfully, but these errors were encountered: