sphinx-contrib / sphinxcontrib-towncrier

An RST directive for injecting a Towncrier-generated changelog draft containing fragments for the unreleased (next) project version. Demo: https://ansible-pylibssh.rtfd.io/changelog. Docs: https://sphinxcontrib-towncrier.rtfd.io
https://pypi.org/p/sphinxcontrib-towncrier
BSD 3-Clause "New" or "Revised" License
19 stars 18 forks source link

Suppress output from towncrier's stderr #56

Closed pradyunsg closed 2 years ago

pradyunsg commented 2 years ago

With the current pip main branch, the Sphinx build output is clobbered by the output from towncrier:

updating environment: [new config] 66 added, 0 changed, 0 removed
Loading template...[ 54%] news                                                                                                                          
Finding news fragments...
Rendering news fragments...
Draft only -- nothing has been written.
What is seen below is what would be written.

reading sources... [100%] ux_research_design      

This is sub-optimal, and it's likely safe to capture the towncrier's stderr and suppress it unless towncrier errors out.