From: Fred Drake Date: Wed, 20 May 1998 21:32:09 +0000 (+0000) Subject: Added support for AMK's {definitions} environment; thanks for the reminder! X-Git-Tag: v1.5.2a1~576 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=885215c3da9b70f535acbea2c15ccebe1705da04;p=python Added support for AMK's {definitions} environment; thanks for the reminder! --- diff --git a/Doc/perl/python.perl b/Doc/perl/python.perl index 72674977b0..3f345398b0 100644 --- a/Doc/perl/python.perl +++ b/Doc/perl/python.perl @@ -837,4 +837,24 @@ sub do_cmd_maketitle { } +# +# Definition list support. +# + +sub do_env_definitions{ + local($_) = @_; + swallow_newline(); + "
$_
\n"; +} + +sub do_cmd_term{ + local($_) = @_; + my($term, $id) = next_argument_id(); + my($name,$aname,$ahref) = link_info($id); + swallow_newline(); + # could easily add an index entry here... + "
$aname" . $term . "\n
" . $_; +} + + 1; # This must be the last line