summaryrefslogtreecommitdiffstats
path: root/Doc/README.rst
diff options
context:
space:
mode:
authorƁukasz Langa <lukasz@langa.pl>2021-08-06 18:13:59 (GMT)
committerGitHub <noreply@github.com>2021-08-06 18:13:59 (GMT)
commit55fa87b1ef46bbb9db7612b2dc2dd7fb039d9bc3 (patch)
tree162cc2cf3e7933551e93c3f9157f37480314e71b /Doc/README.rst
parent8bdf12e99a3dc7ada5f85bba79c2a9eb9931f5b0 (diff)
downloadcpython-55fa87b1ef46bbb9db7612b2dc2dd7fb039d9bc3.zip
cpython-55fa87b1ef46bbb9db7612b2dc2dd7fb039d9bc3.tar.gz
cpython-55fa87b1ef46bbb9db7612b2dc2dd7fb039d9bc3.tar.bz2
bpo-44756: [docs] revert automated virtual environment creation on `make html` (GH-27635)
It turned out to be disruptive for downstream distributors.
Diffstat (limited to 'Doc/README.rst')
-rw-r--r--Doc/README.rst13
1 files changed, 10 insertions, 3 deletions
diff --git a/Doc/README.rst b/Doc/README.rst
index 20c0432..7e8a27b 100644
--- a/Doc/README.rst
+++ b/Doc/README.rst
@@ -29,13 +29,20 @@ Using make
----------
To get started on UNIX, you can create a virtual environment and build
-documentation with the command::
+documentation with the commands::
+ make venv
make html
The virtual environment in the ``venv`` directory will contain all the tools
-necessary to build the documentation. You can also configure where the virtual
-environment directory will be with the ``VENVDIR`` variable.
+necessary to build the documentation downloaded and installed from PyPI.
+If you'd like to create the virtual environment in a different location,
+you can specify it using the ``VENVDIR`` variable.
+
+You can also skip creating the virtual environment altogether, in which case
+the Makefile will look for instances of ``sphinxbuild`` and ``blurb``
+installed on your process ``PATH`` (configurable with the ``SPHINXBUILD`` and
+``BLURB`` variables).
On Windows, we try to emulate the Makefile as closely as possible with a
``make.bat`` file. If you need to specify the Python interpreter to use,