summaryrefslogtreecommitdiffstats
path: root/Doc/perl/python.perl
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-11-30 18:09:54 (GMT)
committerFred Drake <fdrake@acm.org>2001-11-30 18:09:54 (GMT)
commit5ed35fd1494f660745aa53968506d7e190908a30 (patch)
treee75fae57fcfda7937c1f2613cd66f9aecbd0a3b7 /Doc/perl/python.perl
parent89d63cc450c2805a05c2016eb1011fc0b31d800e (diff)
downloadcpython-5ed35fd1494f660745aa53968506d7e190908a30.zip
cpython-5ed35fd1494f660745aa53968506d7e190908a30.tar.gz
cpython-5ed35fd1494f660745aa53968506d7e190908a30.tar.bz2
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.
Diffstat (limited to 'Doc/perl/python.perl')
-rw-r--r--Doc/perl/python.perl6
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/perl/python.perl b/Doc/perl/python.perl
index 54a92c5..88f2aa5 100644
--- a/Doc/perl/python.perl
+++ b/Doc/perl/python.perl
@@ -1725,6 +1725,12 @@ sub do_env_seealso{
. '</div>');
}
+sub do_env_seealsostar{
+ return ("<div class=\"seealso-simple\">\n "
+ . @_[0]
+ . '</div>');
+}
+
sub do_cmd_seemodule{
# Insert the right magic to jump to the module definition. This should
# work most of the time, at least for repeat builds....