diff options
-rw-r--r-- | doc/cmd.rst | 4 | ||||
-rw-r--r-- | doc/conf.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/cmd.rst b/doc/cmd.rst index b294ee8d..f6087fec 100644 --- a/doc/cmd.rst +++ b/doc/cmd.rst @@ -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] diff --git a/doc/conf.py b/doc/conf.py index a5365bf0..9ca2d887 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -243,6 +243,6 @@ prerelease = bool(max(release).isalpha()) 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) |