Skip to content

Commit 4859de2

Browse files
committed
Fix two problems with docs
1 parent 624580b commit 4859de2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

doc/cmd.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -197,8 +197,8 @@ could affect the measurement process. The possible warnings include:
197197
:meth:`.Coverage.switch_context` function to change the context. Only one of
198198
these mechanisms should be in use at a time.
199199

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

204204
[run]

doc/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,6 @@
243243

244244
def setup(app):
245245
"""Configure Sphinx"""
246-
app.add_stylesheet('coverage.css')
246+
app.add_css_file('coverage.css')
247247
app.add_config_value('prerelease', False, 'env')
248248
print("** Prerelease = %r" % prerelease)

0 commit comments

Comments
 (0)