diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2020-08-18 21:26:02 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2020-08-18 21:26:02 -0400 |
commit | 4859de2850f703207b0cab2ff6e7116a3e587b65 (patch) | |
tree | 7d3c65a5b7598dbe449df8a16bd404e42b46e502 | |
parent | 624580b7187d65288767ad7dc0915af1fd2e9a8c (diff) | |
download | python-coveragepy-git-4859de2850f703207b0cab2ff6e7116a3e587b65.tar.gz |
Fix two problems with docs
-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) |