summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernát Gábor <bgabor8@bloomberg.net>2022-11-10 06:31:25 -0800
committerBernát Gábor <bgabor8@bloomberg.net>2022-11-10 06:31:25 -0800
commitc13db75469d6d39778049930431f3496c1e2c4ac (patch)
treed5a52286d0eeed4883be61cabe42fb2f69b747ed
parent2224abb367286cd2d6b888b0e22ee4d108ec6b74 (diff)
downloadvirtualenv-c13db75469d6d39778049930431f3496c1e2c4ac.tar.gz
Fix documentation build
Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
-rw-r--r--.pre-commit-config.yaml2
-rw-r--r--docs/changelog.rst2
-rw-r--r--docs/conf.py8
-rw-r--r--tox.ini2
4 files changed, 7 insertions, 7 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index cb7fe89..53340d6 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -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"]
diff --git a/docs/changelog.rst b/docs/changelog.rst
index a800866..aecd560 100644
--- a/docs/changelog.rst
+++ b/docs/changelog.rst
@@ -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>`_)
diff --git a/docs/conf.py b/docs/conf.py
index 455dc1c..0f39331 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -50,10 +50,10 @@ autodoc_member_order = "bysource"
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"),
}
diff --git a/tox.ini b/tox.ini
index 0bdbeaf..3d14359 100644
--- a/tox.ini
+++ b/tox.ini
@@ -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]