Merge pull request #8001 from tk0miya/5090_distutils_version

BuildDoc: link verbosity to distutils'
This commit is contained in:
Takeshi KOMIYA
2020-07-24 14:01:10 +09:00
committed by GitHub
2 changed files with 3 additions and 1 deletions

View File

@@ -30,6 +30,7 @@ Features added
the behavior of globaltoc in sidebar
* #7840: i18n: Optimize the dependencies check on bootstrap
* #5208: linkcheck: Support checks for local links
* #5090: setuptools: Link verbosity to distutils' -v and -q option
* #7052: add ``:noindexentry:`` to the Python, C, C++, and Javascript domains.
Update the documentation to better reflect the relationship between this option
and the ``:noindex:`` option.

View File

@@ -105,7 +105,8 @@ class BuildDoc(Command):
self.config_dir = None # type: str
self.link_index = False
self.copyright = ''
self.verbosity = 0
# Link verbosity to distutils' (which uses 1 by default).
self.verbosity = self.distribution.verbose - 1 # type: ignore
self.traceback = False
self.nitpicky = False
self.keep_going = False