Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: emit a warning when no content is rendered (pypa#231)
* fix: emit a warning when no content is rendered Fixes pypa#149 Signed-off-by: Mike Fiedler <[email protected]> * feat: emit empty warning only if no warnings exist This is a bit more gymnastics than I think is warranted, but wanted to play out the example. Needing to inspect the stream proved more complex than originally expected, as each version confroms to a slightly different interface. - Updated the outpout string to be clearer - Added test for empty RST file Signed-off-by: Mike Fiedler <[email protected]> * refactor: simplify now that distutils is gone Signed-off-by: Mike Fiedler <[email protected]>
- Loading branch information