mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
Define \seeurl in the seealso environment. Two parameters: url, why.
This commit is contained in:
parent
ef4d111b2a
commit
51313f164c
1 changed files with 9 additions and 0 deletions
|
|
@ -922,12 +922,21 @@
|
|||
#3
|
||||
\end{fulllineitems}
|
||||
}
|
||||
% \seeurl{url}{why it's interesting}
|
||||
\newcommand{\py@seeurl}[2]{%
|
||||
\par%
|
||||
\begin{fulllineitems}
|
||||
\item[\url{#1}]
|
||||
#2
|
||||
\end{fulllineitems}
|
||||
}
|
||||
\newenvironment{seealso}[0]{
|
||||
\par
|
||||
\strong{See Also:}\par
|
||||
\def\seetext##1{\par{##1}}
|
||||
\let\seemodule=\py@seemodule
|
||||
\let\seerfc=\py@seerfc
|
||||
\let\seeurl=\py@seeurl
|
||||
}{\par}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue