Skip to content

Commit

Permalink
Merge pull request #7794 from tk0miya/7792_setuptools_verbosity
Browse files Browse the repository at this point in the history
Close #7792: setuptools: Support ``--verbosity`` option
  • Loading branch information
tk0miya committed Jun 6, 2020
2 parents 588e5bd + 6ccab6c commit bf89b1d
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 @@ -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.
Expand Down
3 changes: 2 additions & 1 deletion sphinx/setup_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
]
Expand Down Expand Up @@ -189,7 +190,7 @@ def run(self):
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(
Expand Down

0 comments on commit bf89b1d

Please sign in to comment.