Skip to content

Commit

Permalink
Merge pull request #4195 from tybug/reorder-docs
Browse files Browse the repository at this point in the history
Reorder docs pages
  • Loading branch information
tybug authored Dec 3, 2024
2 parents 5065f13 + 9a8eb54 commit 4a48ce1
Show file tree
Hide file tree
Showing 10 changed files with 50 additions and 43 deletions.
6 changes: 3 additions & 3 deletions hypothesis-python/docs/data.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
=============================
What you can generate and how
=============================
==========
Strategies
==========

*Most things should be easy to generate and everything should be possible.*

Expand Down
6 changes: 3 additions & 3 deletions hypothesis-python/docs/database.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
===============================
The Hypothesis example database
===============================
========
Database
========

When Hypothesis finds a bug it stores enough information in its database to reproduce it. This
enables you to have a classic testing workflow of find a bug, fix a bug, and be confident that
Expand Down
6 changes: 3 additions & 3 deletions hypothesis-python/docs/development.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
==============================
Ongoing Hypothesis development
==============================
======================
Hypothesis development
======================

Hypothesis development is managed by `David R. MacIver <https://www.drmaciver.com>`_
and `Zac Hatfield-Dodds <https://zhd.dev>`_, respectively the first author and lead
Expand Down
6 changes: 3 additions & 3 deletions hypothesis-python/docs/django.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
.. _hypothesis-django:

===========================
Hypothesis for Django users
===========================
=====================
Hypothesis for Django
=====================

Hypothesis offers a number of features specific for Django testing, available
in the ``hypothesis[django]`` :doc:`extra </extras>`. This is tested
Expand Down
6 changes: 3 additions & 3 deletions hypothesis-python/docs/examples.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
==================
Some more examples
==================
========================
Some Hypothesis examples
========================

This is a collection of examples of how to use Hypothesis in interesting ways.
It's small for now but will grow over time.
Expand Down
6 changes: 3 additions & 3 deletions hypothesis-python/docs/ghostwriter.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
==========================
Ghostwriting tests for you
==========================
===========
Ghostwriter
===========

.. automodule:: hypothesis.extra.ghostwriter
:members:
Expand Down
31 changes: 19 additions & 12 deletions hypothesis-python/docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -57,27 +57,34 @@ check out some of the
.. toctree::
:maxdepth: 1
:hidden:
:caption: Hypothesis

quickstart
details
settings
data
extras
settings
database
stateful
reproducing
ghostwriter
examples
extras
django
numpy
database
stateful
observability
supported
examples
community
changes

.. toctree::
:maxdepth: 1
:hidden:
:caption: Community

development
manifesto
endorsements
usage
strategies
changes
development
support
packaging
reproducing
observability
community
support
endorsements
6 changes: 3 additions & 3 deletions hypothesis-python/docs/numpy.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
===================================
Hypothesis for the scientific stack
===================================
===========================
Hypothesis for data science
===========================

.. _hypothesis-numpy:

Expand Down
6 changes: 3 additions & 3 deletions hypothesis-python/docs/quickstart.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
=================
Quick start guide
=================
==========
Quickstart
==========

This document should talk you through everything you need to get started with
Hypothesis.
Expand Down
14 changes: 7 additions & 7 deletions hypothesis-python/docs/usage.rst
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
=====================================
Open source projects using Hypothesis
=====================================
=========================
Projects using Hypothesis
=========================

The following is a non-exhaustive list of open source projects I know are
using Hypothesis. If you're aware of any others please add them to the list!
The only inclusion criterion right now is that if it's a Python library
then it should be available on PyPI.

You can find hundreds more from `the Hypothesis page at libraries.io
<https://libraries.io/pypi/hypothesis>`_, and :gh-file:`thousands on GitHub <network/dependents>`.
Hypothesis has `over 100,000 downloads per week <https://pypistats.org/packages/hypothesis>`__,
and was used by `more than 4% of Python users surveyed by the PSF in 2020
<https://www.jetbrains.com/lp/python-developers-survey-2020/>`__.
<https://libraries.io/pypi/hypothesis>`_, and `thousands on GitHub <https://github.com/HypothesisWorks/hypothesis/network/dependents>`__.
Hypothesis has `over 8 million downloads per week <https://pypistats.org/packages/hypothesis>`__,
and was used by `more than 5% of Python users surveyed by the PSF in 2023
<https://lp.jetbrains.com/python-developers-survey-2023/>`__.

* `aur <https://github.com/cdown/aur>`_
* `argon2_cffi <https://github.com/hynek/argon2-cffi>`_
Expand Down

0 comments on commit 4a48ce1

Please sign in to comment.