Skip to content

Commit

Permalink
Fix documentation build
Browse files Browse the repository at this point in the history
Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
  • Loading branch information
gaborbernat committed Nov 10, 2022
1 parent 2224abb commit c13db75
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Expand Up @@ -12,7 +12,7 @@ repos:
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/asottile/pyupgrade
rev: v3.1.0
rev: v3.2.1
hooks:
- id: pyupgrade
args: ["--py36-plus"]
Expand Down
2 changes: 1 addition & 1 deletion docs/changelog.rst
Expand Up @@ -122,7 +122,7 @@ Bugfixes - 20.14.0
v20.13.4 (2022-03-18)
---------------------

Bugfixes - 20.14.0
Bugfixes - 20.13.4
~~~~~~~~~~~~~~~~~~
- Improve performance of python startup inside created virtualenvs - by :user:`asottile`. (`#2317 <https://github.com/pypa/virtualenv/issues/2317>`_)
- Upgrade embedded setuptools to ``60.10.0`` from ``60.9.3`` - by :user:`gaborbernat`. (`#2320 <https://github.com/pypa/virtualenv/issues/2320>`_)
Expand Down
8 changes: 4 additions & 4 deletions docs/conf.py
Expand Up @@ -50,10 +50,10 @@
autosectionlabel_prefix_document = True

extlinks = {
"issue": ("https://github.com/pypa/virtualenv/issues/%s", "#"),
"pull": ("https://github.com/pypa/virtualenv/pull/%s", "PR #"),
"user": ("https://github.com/%s", "@"),
"pypi": ("https://pypi.org/project/%s", ""),
"issue": ("https://github.com/pypa/virtualenv/issues/%s", "#%s"),
"pull": ("https://github.com/pypa/virtualenv/pull/%s", "PR #%s"),
"user": ("https://github.com/%s", "@%s"),
"pypi": ("https://pypi.org/project/%s", "%s"),
}


Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Expand Up @@ -104,7 +104,7 @@ extras =
docs
commands =
python -c 'import glob; import subprocess; subprocess.call(["proselint"] + glob.glob("docs/*.rst") + glob.glob("docs/**/*.rst"))'
sphinx-build -d "{envtmpdir}/doctree" docs "{toxworkdir}/docs_out" --color -b html {posargs}
sphinx-build -d "{envtmpdir}/doctree" docs "{toxworkdir}/docs_out" --color -b html {posargs:-W}
python -c 'import pathlib; print("documentation available under file://\{0\}".format(pathlib.Path(r"{toxworkdir}") / "docs_out" / "index.html"))'

[testenv:upgrade]
Expand Down

0 comments on commit c13db75

Please sign in to comment.