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 94be349
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
20 changes: 10 additions & 10 deletions hypothesis-python/docs/conf.py
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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 94be349

Please sign in to comment.