mirror of https://github.com/python/cpython
Document directories are not always named with three characters any more;
reported by Detlef Lannert <lannert@uni-duesseldorf.de>.
This commit is contained in:
parent
fffe5dbc47
commit
02997491c1
|
@ -21,7 +21,7 @@
|
||||||
|
|
||||||
\begin{abstract}
|
\begin{abstract}
|
||||||
\noindent
|
\noindent
|
||||||
The Python language documentation has a substantial body of
|
The Python language has a substantial body of
|
||||||
documentation, much of it contributed by various authors. The markup
|
documentation, much of it contributed by various authors. The markup
|
||||||
used for the Python documentation is based on \LaTeX{} and requires a
|
used for the Python documentation is based on \LaTeX{} and requires a
|
||||||
significant set of macros written specifically for documenting Python.
|
significant set of macros written specifically for documenting Python.
|
||||||
|
@ -93,8 +93,8 @@ distribution, to create or maintain whole documents or sections.
|
||||||
\begin{definitions}
|
\begin{definitions}
|
||||||
\term{Document Sources}
|
\term{Document Sources}
|
||||||
The \LaTeX{} sources for each document are placed in a
|
The \LaTeX{} sources for each document are placed in a
|
||||||
separate directory. These directories are given short,
|
separate directory. These directories are given short
|
||||||
three-character names:
|
names which vaguely indicate the document in each:
|
||||||
|
|
||||||
\begin{tableii}{p{.75in}|p{3in}}{filenq}{Directory}{Document Title}
|
\begin{tableii}{p{.75in}|p{3in}}{filenq}{Directory}{Document Title}
|
||||||
\lineii{api/}
|
\lineii{api/}
|
||||||
|
@ -160,7 +160,7 @@ distribution, to create or maintain whole documents or sections.
|
||||||
productively without having to become ``\TeX{}nicians.''
|
productively without having to become ``\TeX{}nicians.''
|
||||||
|
|
||||||
Perhaps the most important concept to keep in mind while marking up
|
Perhaps the most important concept to keep in mind while marking up
|
||||||
Python documentation is the while \TeX{} is unstructured, \LaTeX{} was
|
Python documentation is that while \TeX{} is unstructured, \LaTeX{} was
|
||||||
designed as a layer on top of \TeX{} which specifically supports
|
designed as a layer on top of \TeX{} which specifically supports
|
||||||
structured markup. The Python-specific markup is intended to extend
|
structured markup. The Python-specific markup is intended to extend
|
||||||
the structure provided by standard \LaTeX{} document classes to
|
the structure provided by standard \LaTeX{} document classes to
|
||||||
|
@ -219,7 +219,7 @@ distribution, to create or maintain whole documents or sections.
|
||||||
originally using the LinuxDoc software. The original intent for the
|
originally using the LinuxDoc software. The original intent for the
|
||||||
document class was that it serve a similar role as the LDP's HOWTO
|
document class was that it serve a similar role as the LDP's HOWTO
|
||||||
series, but the applicability of the class turns out to be somewhat
|
series, but the applicability of the class turns out to be somewhat
|
||||||
more broad. This class is used for ``how-to'' documents (this
|
broader. This class is used for ``how-to'' documents (this
|
||||||
document is an example) and for shorter reference manuals for small,
|
document is an example) and for shorter reference manuals for small,
|
||||||
fairly cohesive module libraries. Examples of the later use include
|
fairly cohesive module libraries. Examples of the later use include
|
||||||
the standard \citetitle[../mac/mac.html]{Macintosh Library Modules}
|
the standard \citetitle[../mac/mac.html]{Macintosh Library Modules}
|
||||||
|
@ -298,7 +298,7 @@ distribution, to create or maintain whole documents or sections.
|
||||||
Environment used to described a C function. The \var{type}
|
Environment used to described a C function. The \var{type}
|
||||||
should be specified as a \keyword{typedef} name, \code{struct
|
should be specified as a \keyword{typedef} name, \code{struct
|
||||||
\var{tag}}, or the name of a primitive type. If it is a pointer
|
\var{tag}}, or the name of a primitive type. If it is a pointer
|
||||||
type, the trailing asterisk should not be preceeded by a space.
|
type, the trailing asterisk should not be preceded by a space.
|
||||||
\var{name} should be the name of the function (or function-like
|
\var{name} should be the name of the function (or function-like
|
||||||
pre-processor macro), and \var{args} should give the types and
|
pre-processor macro), and \var{args} should give the types and
|
||||||
names of the parameters. The names need to be given so they may
|
names of the parameters. The names need to be given so they may
|
||||||
|
@ -319,7 +319,7 @@ distribution, to create or maintain whole documents or sections.
|
||||||
Description of a global C variable. \var{type} should be the
|
Description of a global C variable. \var{type} should be the
|
||||||
\keyword{typedef} name, \code{struct \var{tag}}, or the name of
|
\keyword{typedef} name, \code{struct \var{tag}}, or the name of
|
||||||
a primitive type. If variable has a pointer type, the trailing
|
a primitive type. If variable has a pointer type, the trailing
|
||||||
asterisk should \emph{not} be preceeded by a space.
|
asterisk should \emph{not} be preceded by a space.
|
||||||
\end{envdesc}
|
\end{envdesc}
|
||||||
|
|
||||||
\begin{envdesc}{datadesc}{\p{name}}
|
\begin{envdesc}{datadesc}{\p{name}}
|
||||||
|
|
Loading…
Reference in New Issue