Allowing to hide navigation bar button for pydoc
|Reported by:||nextime@…||Owned by:||athomas|
Disabling tracpydoc.tracpydoc.pydoc will disable the navigation button for pydoc, that isn't event wanted if your pydoc need are only to documentate some modules on wiki. Anyway, this way don't work great, cause if you call pydoc macro from the wiki, when you watch the page with this macro the PyDoc class is loades, and when you change page in the trac navigation bar, the PyDoc button appears.
So, attached there is a little and ugly patch that add a "button = [yes|no]" configuration option in [pydoc] section of trac.ini to permit to totally disabling of the navigation bar "pydoc" button, even if all tracpydoc modules are loaded.