Merge pull request #7794 from tk0miya/7792_setuptools_verbosity

Close #7792: setuptools: Support ``--verbosity`` option
This commit is contained in:
Takeshi KOMIYA
2020-06-07 02:19:30 +09:00
committed by GitHub
2 changed files with 3 additions and 1 deletions

View File

@@ -90,6 +90,7 @@ Features added
* #7734: napoleon: overescaped trailing underscore on attribute
* #7247: linkcheck: Add :confval:`linkcheck_request_headers` to send custom HTTP
headers for specific host
* #7792: setuptools: Support ``--verbosity`` option
* #7683: Add ``allowed_exceptions`` parameter to ``Sphinx.emit()`` to allow
handlers to raise specified exceptions
* #7295: C++, parse (trailing) requires clauses.

View File

@@ -84,6 +84,7 @@ class BuildDoc(Command):
('link-index', 'i', 'Link index.html to the master doc'),
('copyright', None, 'The copyright string'),
('pdb', None, 'Start pdb on exception'),
('verbosity', 'v', 'increase verbosity (can be repeated)'),
('nitpicky', 'n', 'nit-picky mode, warn about all missing references'),
('keep-going', None, 'With -W, keep going when getting warnings'),
]
@@ -189,7 +190,7 @@ class BuildDoc(Command):
builder, confoverrides, status_stream,
freshenv=self.fresh_env,
warningiserror=self.warning_is_error,
keep_going=self.keep_going)
verbosity=self.verbosity, keep_going=self.keep_going)
app.build(force_all=self.all_files)
if app.statuscode:
raise DistutilsExecError(