mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Add 3.0 to the silly list in license.rst too, and update the Doc README.
This commit is contained in:
parent
f4780d03d5
commit
716c3ac40c
2 changed files with 72 additions and 63 deletions
|
@ -14,12 +14,12 @@ those familiar with the previous docs written in LaTeX.
|
|||
Building the docs
|
||||
=================
|
||||
|
||||
You need to install Python 2.5 or higher; the toolset used to build the docs are
|
||||
written in Python. The toolset used to build the documentation is called
|
||||
*Sphinx*, it is not included in this tree, but maintained separately in the
|
||||
Python Subversion repository. Also needed are Jinja, a templating engine
|
||||
(included in Sphinx as a Subversion external), and optionally Pygments, a code
|
||||
highlighter.
|
||||
You need to install Python 2.5.1 or higher (but Python 3.0 is not supported yet);
|
||||
the toolset used to build the docs are written in Python. The toolset used
|
||||
to build the documentation is called *Sphinx*, it is not included in this
|
||||
tree, but maintained separately in the Python Subversion repository. Also
|
||||
needed are Jinja, a templating engine (included in Sphinx as a Subversion
|
||||
external), and optionally Pygments, a code highlighter.
|
||||
|
||||
|
||||
Using make
|
||||
|
@ -34,6 +34,11 @@ to check out the necessary toolset in the `tools/` subdirectory and build the
|
|||
HTML output files. To view the generated HTML, point your favorite browser at
|
||||
the top-level index `build/html/index.html` after running "make".
|
||||
|
||||
To use a Python interpreter that's not called ``python``, use the standard
|
||||
way to set Makefile variables, using e.g. ::
|
||||
|
||||
make html PYTHON=/usr/bin/python2.5
|
||||
|
||||
Available make targets are:
|
||||
|
||||
* "html", which builds standalone HTML files for offline viewing.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue