mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
Make \versionadded and \versionchanged less prominant -- neither bold
nor a separate paragraph.
This commit is contained in:
parent
d0bceeeb59
commit
2116d983bf
2 changed files with 5 additions and 5 deletions
|
@ -219,14 +219,14 @@ sub do_cmd_versionadded{
|
||||||
# one parameter: \versionadded{version}
|
# one parameter: \versionadded{version}
|
||||||
local($_) = @_;
|
local($_) = @_;
|
||||||
my $release = next_argument();
|
my $release = next_argument();
|
||||||
return "<b>New in version $release.</b><p>" . $_;
|
return "\nNew in version $release.\n" . $_;
|
||||||
}
|
}
|
||||||
|
|
||||||
sub do_cmd_versionchanged{
|
sub do_cmd_versionchanged{
|
||||||
# one parameter: \versionchanged{version}
|
# one parameter: \versionchanged{version}
|
||||||
local($_) = @_;
|
local($_) = @_;
|
||||||
my $release = next_argument();
|
my $release = next_argument();
|
||||||
return "<b>Changed in version $release.</b><p>" . $_;
|
return "\nChanged in version $release.\n" . $_;
|
||||||
}
|
}
|
||||||
|
|
||||||
# file and samp are at the end of this file since they screw up fontlock.
|
# file and samp are at the end of this file since they screw up fontlock.
|
||||||
|
|
|
@ -746,15 +746,15 @@
|
||||||
% This should be used to mark things which have been added to the
|
% This should be used to mark things which have been added to the
|
||||||
% development tree but that aren't in the release, but are documented.
|
% development tree but that aren't in the release, but are documented.
|
||||||
% This allows release of documentation that already includes updated
|
% This allows release of documentation that already includes updated
|
||||||
% descriptions.
|
% descriptions. Place at end of descriptor environment.
|
||||||
%
|
%
|
||||||
% Example:
|
% Example:
|
||||||
% \versionadded{1.5.2}
|
% \versionadded{1.5.2}
|
||||||
%
|
%
|
||||||
\newcommand{\versionadded}[1]{%
|
\newcommand{\versionadded}[1]{%
|
||||||
\strong{New in version #1.}\par}
|
{ New in version #1. }}
|
||||||
\newcommand{\versionchanged}[1]{%
|
\newcommand{\versionchanged}[1]{%
|
||||||
\strong{Changed in version #1.}\par}
|
{ Changed in version #1. }}
|
||||||
|
|
||||||
|
|
||||||
% Tables.
|
% Tables.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue