Skip to content

Commit

Permalink
Fix two problems with docs
Browse files Browse the repository at this point in the history
  • Loading branch information
nedbat committed Aug 19, 2020
1 parent 624580b commit 4859de2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions doc/cmd.rst
Original file line number Diff line number Diff line change
Expand Up @@ -197,8 +197,8 @@ could affect the measurement process. The possible warnings include:
:meth:`.Coverage.switch_context` function to change the context. Only one of
these mechanisms should be in use at a time.

Individual warnings can be disabled with the `disable_warnings
<config_run_disable_warnings>`_ configuration setting. To silence "No data was
Individual warnings can be disabled with the :ref:`disable_warnings
<config_run_disable_warnings>` configuration setting. To silence "No data was
collected," add this to your .coveragerc file::

[run]
Expand Down
2 changes: 1 addition & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,6 @@

def setup(app):
"""Configure Sphinx"""
app.add_stylesheet('coverage.css')
app.add_css_file('coverage.css')
app.add_config_value('prerelease', False, 'env')
print("** Prerelease = %r" % prerelease)

0 comments on commit 4859de2

Please sign in to comment.