diff --git a/Doc/perl/python.perl b/Doc/perl/python.perl index 26fc3ce1d5e..98bbe3f93f2 100644 --- a/Doc/perl/python.perl +++ b/Doc/perl/python.perl @@ -114,6 +114,8 @@ sub do_cmd_optional{ # output files for users that read them over the network rather than # from local repositories. +# \file and \samp are at the end of this file since they screw up fontlock. + sub do_cmd_pytype{ return @_[0]; } sub do_cmd_makevar{ return @_[0]; } sub do_cmd_code{ @@ -164,6 +166,11 @@ sub do_cmd_kbd{ return use_wrappers(@_[0], '', ''); } sub do_cmd_strong{ return use_wrappers(@_[0], '', ''); } +sub do_cmd_textbf{ + return use_wrappers(@_[0], '', ''); } +sub do_cmd_textit{ + return use_wrappers(@_[0], '', ''); } + sub do_cmd_refmodule{ # Insert the right magic to jump to the module definition. @@ -195,7 +202,6 @@ sub do_cmd_envvar{ return "$aname\$$envvar" . $_; } - sub do_cmd_url{ # use the URL as both text and hyperlink local($_) = @_; @@ -248,9 +254,7 @@ sub do_cmd_versionchanged{ } # -# These function handle platform dependency tracking. The first two implement -# the \platform and \platformof macros, and the third is called at the end of -# processing to fill in references to the platform of a module. +# These function handle platform dependency tracking. # sub do_cmd_platform{ local($_) = @_; @@ -262,13 +266,6 @@ sub do_cmd_platform{ . "\n class=platform>$platform.
\n" . $_; } -sub do_cmd_platformof{ - local($_) = @_; - next_optional_argument(); - my $module = next_argument(); - return "See Also:
\n" + . "See Also:
\n" . @_[0] . '