Add a new environment in the Python docs markup: seealso*. This is similar

to seealso, but does not add the "See also:" header or put the content in a
box in the HTML version.

Updated the description of \seeurl to better indicate when it should be used;
the old description was written before we had \seetitle.
This commit is contained in:
Fred Drake 2001-11-30 18:09:54 +00:00
parent 89d63cc450
commit 5ed35fd149
3 changed files with 41 additions and 11 deletions

View file

@ -1096,9 +1096,20 @@
#2
\end{fulllineitems}
}
\newenvironment{seealso}[0]{
\newenvironment{seealso*}{
\par
\def\seetext##1{\par{##1}}
\let\seemodule=\py@seemodule
\let\seepep=\py@seepep
\let\seerfc=\py@seerfc
\let\seetitle=\py@seetitle
\let\seeurl=\py@seeurl
}{\par}
\newenvironment{seealso}{
\par
\strong{See Also:}
\par
\strong{See Also:}\par
\def\seetext##1{\par{##1}}
\let\seemodule=\py@seemodule
\let\seepep=\py@seepep
@ -1106,7 +1117,6 @@
\let\seetitle=\py@seetitle
\let\seeurl=\py@seeurl
}{\par}
% Allow the Python release number to be specified independently of the
% \date{}. This allows the date to reflect the document's date and