From pretty much the beginning [1], pbr has defaulted to building both
man page and html output, but has failed to document it anywhere. People
tend to copy-paste their 'setup.py' and 'conf.py', or rely on the
'cookiecutter' project, with very little understanding of what's going
on under the hood (and why would you care - it's docs :)). This means
that the vast majority of folks using 'pbr' (basically everyone in
OpenStack) have been unwittingly building "man pages" as part of their
doc builds for no good reason, which has also led to a lot of confusion
when this magic behavior is the cause of bugs [2][3].
There's no good reason that pbr should default to building both man
pages and html output. For folks that want this functionality, we should
document it so they can use it. For everyone else though, let's do the
sane thing and output html like the standard 'build_sphinx' plugin.
Reviewed: https:/ /review. openstack. org/456156 /git.openstack. org/cgit/ openstack- dev/pbr/ commit/ ?id=d4e4efd7796 3ef95906cfbac73 468f80cd8e3330
Committed: https:/
Submitter: Jenkins
Branch: master
commit d4e4efd77963ef9 5906cfbac73468f 80cd8e3330
Author: Stephen Finucane <email address hidden>
Date: Wed Apr 12 10:38:31 2017 +0100
Stop building man pages by default
From pretty much the beginning [1], pbr has defaulted to building both
man page and html output, but has failed to document it anywhere. People
tend to copy-paste their 'setup.py' and 'conf.py', or rely on the
'cookiecutter' project, with very little understanding of what's going
on under the hood (and why would you care - it's docs :)). This means
that the vast majority of folks using 'pbr' (basically everyone in
OpenStack) have been unwittingly building "man pages" as part of their
doc builds for no good reason, which has also led to a lot of confusion
when this magic behavior is the cause of bugs [2][3].
There's no good reason that pbr should default to building both man
pages and html output. For folks that want this functionality, we should
document it so they can use it. For everyone else though, let's do the
sane thing and output html like the standard 'build_sphinx' plugin.
[1] https:/ /github. com/openstack- dev/pbr/ commit/ 5b8b7f1d /bugs.launchpad .net/pbr/ +bug/1681983 /bugs.launchpad .net/oslotest/ +bug/1379998
[2] https:/
[3] https:/
Change-Id: I579134a2b79806 69180c1666503b8 48835cc2957
Closes-Bug: #1681983