Skip to content

Commit

Permalink
Fix docs links
Browse files Browse the repository at this point in the history
  • Loading branch information
Zac-HD committed Apr 16, 2023
1 parent f4b29fc commit 87435cc
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion hypothesis-python/docs/changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9708,7 +9708,7 @@ minor warts ranging from indirect imports to typos in comments.
3.38.0 - 2017-11-18
-------------------

This release overhauls :doc:`the health check system <healthchecks>`
This release overhauls :ref:`the health check system <healthchecks>`
in a variety of small ways.
It adds no new features, but is nevertheless a minor release because it changes
which tests are likely to fail health checks.
Expand Down
2 changes: 1 addition & 1 deletion hypothesis-python/docs/django.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Because Hypothesis runs this in a loop, the performance problems it normally has
are significantly exacerbated and your tests will be really slow.
If you are using :class:`~hypothesis.extra.django.TransactionTestCase`,
you may need to use ``@settings(suppress_health_check=[HealthCheck.too_slow])``
to avoid :doc:`errors due to slow example generation </healthchecks>`.
to avoid :ref:`errors due to slow example generation <healthchecks>`.

Having set up a test class, you can now pass :func:`@given <hypothesis.given>`
a strategy for Django models:
Expand Down
1 change: 0 additions & 1 deletion hypothesis-python/docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ check out some of the
ghostwriter
django
numpy
healthchecks
database
stateful
supported
Expand Down
2 changes: 2 additions & 0 deletions hypothesis-python/docs/settings.rst
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,8 @@ by your conftest you can load one with the command line option ``--hypothesis-pr
$ pytest tests --hypothesis-profile <profile-name>
.. _healthchecks:

-------------
Health checks
-------------
Expand Down

0 comments on commit 87435cc

Please sign in to comment.