Skip to content

Commit

Permalink
Merge pull request #8001 from tk0miya/5090_distutils_version
Browse files Browse the repository at this point in the history
BuildDoc: link verbosity to distutils'
  • Loading branch information
tk0miya committed Jul 24, 2020
2 parents 3d0818f + 0b57727 commit 95067c0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
3 changes: 2 additions & 1 deletion sphinx/setup_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@ def initialize_options(self):
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
Expand Down

0 comments on commit 95067c0

Please sign in to comment.