Skip to content

Commit

Permalink
Update sphinx config
Browse files Browse the repository at this point in the history
  • Loading branch information
Zac-HD committed Jun 12, 2022
1 parent 1c153d8 commit 60a94cd
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion hypothesis-python/docs/changes.rst
Expand Up @@ -2637,7 +2637,7 @@ Thanks to Zac Hatfield-Dodds and Nikita Sobolev for this feature!

This patch adds two new :doc:`ghostwriters <ghostwriter>` to test
:wikipedia:`binary operations <Binary_operation>`, like :func:`python:operator.add`,
and Numpy :doc:`ufuncs <reference/ufuncs>` and :doc:`gufuncs
and Numpy :doc:`ufuncs <numpy:reference/ufuncs>` and :doc:`gufuncs
<numpy:reference/c-api/generalized-ufuncs>` like :data:`np.matmul() <numpy:numpy.matmul>`.

.. _v5.26.1:
Expand Down
20 changes: 10 additions & 10 deletions hypothesis-python/docs/conf.py
Expand Up @@ -65,7 +65,7 @@ def setup(app):
sys.modules["xps"] = mod


language = None
language = "en"

exclude_patterns = ["_build"]

Expand Down Expand Up @@ -103,15 +103,15 @@ def setup(app):
# See http://sphinx-doc.org/ext/extlinks.html
_repo = "https://github.com/HypothesisWorks/hypothesis/"
extlinks = {
"commit": (_repo + "commit/%s", "commit "),
"gh-file": (_repo + "blob/master/%s", ""),
"gh-link": (_repo + "%s", ""),
"issue": (_repo + "issues/%s", "issue #"),
"pull": (_repo + "pull/%s", "pull request #"),
"pypi": ("https://pypi.org/project/%s/", ""),
"bpo": ("https://bugs.python.org/issue%s", "bpo-"),
"xp-ref": ("https://data-apis.org/array-api/latest/API_specification/%s", ""),
"wikipedia": ("https://en.wikipedia.org/wiki/%s", ""),
"commit": (_repo + "commit/%s", "commit %s"),
"gh-file": (_repo + "blob/master/%s", "%s"),
"gh-link": (_repo + "%s", "%s"),
"issue": (_repo + "issues/%s", "issue #%s"),
"pull": (_repo + "pull/%s", "pull request #%s"),
"pypi": ("https://pypi.org/project/%s/", "%s"),
"bpo": ("https://bugs.python.org/issue%s", "bpo-%s"),
"xp-ref": ("https://data-apis.org/array-api/latest/API_specification/%s", "%s"),
"wikipedia": ("https://en.wikipedia.org/wiki/%s", "%s"),
}

# -- Options for HTML output ----------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion requirements/tools.txt
Expand Up @@ -236,7 +236,7 @@ pygments==2.12.0
# sphinx
pyparsing==3.0.9
# via packaging
pyright==1.1.254
pyright==1.1.249
# via -r requirements/tools.in
pytest==7.1.2
# via -r requirements/tools.in
Expand Down

0 comments on commit 60a94cd

Please sign in to comment.