Skip to content

Commit 60a94cd

Browse files
committed
Update sphinx config
1 parent 1c153d8 commit 60a94cd

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

hypothesis-python/docs/changes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2637,7 +2637,7 @@ Thanks to Zac Hatfield-Dodds and Nikita Sobolev for this feature!
26372637

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

26432643
.. _v5.26.1:

hypothesis-python/docs/conf.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def setup(app):
6565
sys.modules["xps"] = mod
6666

6767

68-
language = None
68+
language = "en"
6969

7070
exclude_patterns = ["_build"]
7171

@@ -103,15 +103,15 @@ def setup(app):
103103
# See http://sphinx-doc.org/ext/extlinks.html
104104
_repo = "https://github.com/HypothesisWorks/hypothesis/"
105105
extlinks = {
106-
"commit": (_repo + "commit/%s", "commit "),
107-
"gh-file": (_repo + "blob/master/%s", ""),
108-
"gh-link": (_repo + "%s", ""),
109-
"issue": (_repo + "issues/%s", "issue #"),
110-
"pull": (_repo + "pull/%s", "pull request #"),
111-
"pypi": ("https://pypi.org/project/%s/", ""),
112-
"bpo": ("https://bugs.python.org/issue%s", "bpo-"),
113-
"xp-ref": ("https://data-apis.org/array-api/latest/API_specification/%s", ""),
114-
"wikipedia": ("https://en.wikipedia.org/wiki/%s", ""),
106+
"commit": (_repo + "commit/%s", "commit %s"),
107+
"gh-file": (_repo + "blob/master/%s", "%s"),
108+
"gh-link": (_repo + "%s", "%s"),
109+
"issue": (_repo + "issues/%s", "issue #%s"),
110+
"pull": (_repo + "pull/%s", "pull request #%s"),
111+
"pypi": ("https://pypi.org/project/%s/", "%s"),
112+
"bpo": ("https://bugs.python.org/issue%s", "bpo-%s"),
113+
"xp-ref": ("https://data-apis.org/array-api/latest/API_specification/%s", "%s"),
114+
"wikipedia": ("https://en.wikipedia.org/wiki/%s", "%s"),
115115
}
116116

117117
# -- Options for HTML output ----------------------------------------------

requirements/tools.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ pygments==2.12.0
236236
# sphinx
237237
pyparsing==3.0.9
238238
# via packaging
239-
pyright==1.1.254
239+
pyright==1.1.249
240240
# via -r requirements/tools.in
241241
pytest==7.1.2
242242
# via -r requirements/tools.in

0 commit comments

Comments
 (0)