~ubuntu-branches/ubuntu/natty/python2.6/natty-security

« back to all changes in this revision

Viewing changes to Doc/README.txt

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman
  • Date: 2010-06-24 00:31:14 UTC
  • mfrom: (10.1.18 sid)
  • Revision ID: james.westby@ubuntu.com-20100624003114-jmwmbudlpucl6ip3
Tags: 2.6.5+20100616-1ubuntu1
* Merge from Debian Unstable.  Remaining Ubuntu changes:
  - Add new symbols to libpython.symbols.in
  - Re-enable the profiled build on all architectures
  - Priority for python2.6-minimal is required instead of optional
  - python2.6-minimal and python2.6 Conflict python-central
    (<< 0.6.11ubuntu6)

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
Building the docs
15
15
=================
16
16
 
17
 
You need to install Python 2.4 or higher; the toolset used to build the docs are
18
 
written in Python.  The toolset used to build the documentation is called
19
 
*Sphinx*, it is not included in this tree, but maintained separately in the
20
 
Python Subversion repository.  Also needed are Jinja, a templating engine
21
 
(included in Sphinx as a Subversion external), and optionally Pygments, a code
22
 
highlighter.
 
17
You need to have Python 2.4 or higher installed; the toolset used to build the
 
18
docs is written in Python.  It is called *Sphinx*, it is not included in this
 
19
tree, but maintained separately.  Also needed are the docutils, supplying the
 
20
base markup that Sphinx uses, Jinja, a templating engine, and optionally
 
21
Pygments, a code highlighter.
23
22
 
24
23
 
25
24
Using make
42
41
   convert them into a single Compiled HTML (.chm) file -- these are popular
43
42
   under Microsoft Windows, but very handy on every platform.
44
43
 
45
 
   To create the CHM file, you need to run the Microsoft HTML Help Workshop
46
 
   over the generated project (.hhp) file.
 
44
   To create the CHM file, you need to run the Microsoft HTML Help Workshop over
 
45
   the generated project (.hhp) file.
47
46
 
48
 
 * "latex", which builds LaTeX source files that can be run with "pdflatex"
49
 
   to produce PDF documents.
 
47
 * "latex", which builds LaTeX source files as input to "pdflatex" to produce
 
48
   PDF documents.
50
49
 
51
50
 * "text", which builds a plain text file for each source file.
52
51
 
53
52
 * "linkcheck", which checks all external references to see whether they are
54
 
   broken, redirected or malformed, and outputs this information to stdout
55
 
   as well as a plain-text (.txt) file.
 
53
   broken, redirected or malformed, and outputs this information to stdout as
 
54
   well as a plain-text (.txt) file.
56
55
 
57
56
 * "changes", which builds an overview over all versionadded/versionchanged/
58
57
   deprecated items in the current version. This is meant as a help for the
59
58
   writer of the "What's New" document.
60
59
 
61
 
 * "coverage", which builds a coverage overview for standard library modules
62
 
   and C API.
 
60
 * "coverage", which builds a coverage overview for standard library modules and
 
61
   C API.
63
62
 
64
 
 * "pydoc-topics", which builds a Python module containing a dictionary
65
 
   with plain text documentation for the labels defined in
66
 
   `tools/sphinxext/pyspecific.py` -- pydoc needs these to show topic
67
 
   and keyword help.
 
63
 * "pydoc-topics", which builds a Python module containing a dictionary with
 
64
   plain text documentation for the labels defined in
 
65
   `tools/sphinxext/pyspecific.py` -- pydoc needs these to show topic and
 
66
   keyword help.
68
67
 
69
68
A "make update" updates the Subversion checkouts in `tools/`.
70
69
 
90
89
 
91
90
or by installing it from PyPI.
92
91
 
93
 
You can optionally also install Pygments, either as a checkout via :: 
 
92
You can optionally also install Pygments, either as a checkout via ::
94
93
 
95
94
   svn co http://svn.python.org/projects/external/Pygments-1.3.1/pygments tools/pygments
96
95