From 4859de2850f703207b0cab2ff6e7116a3e587b65 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Tue, 18 Aug 2020 21:26:02 -0400 Subject: Fix two problems with docs --- doc/cmd.rst | 4 ++-- 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 -`_ configuration setting. To silence "No data was +Individual warnings can be disabled with the :ref:`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) -- cgit v1.2.1