Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2116d98

Browse files
committed
Make \versionadded and \versionchanged less prominant -- neither bold
nor a separate paragraph.
1 parent d0bceee commit 2116d98

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

Doc/perl/python.perl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,14 +219,14 @@ sub do_cmd_versionadded{
219219
# one parameter: \versionadded{version}
220220
local($_) = @_;
221221
my $release = next_argument();
222-
return "<b>New in version $release.</b><p>" . $_;
222+
return "\nNew in version $release.\n" . $_;
223223
}
224224

225225
sub do_cmd_versionchanged{
226226
# one parameter: \versionchanged{version}
227227
local($_) = @_;
228228
my $release = next_argument();
229-
return "<b>Changed in version $release.</b><p>" . $_;
229+
return "\nChanged in version $release.\n" . $_;
230230
}
231231

232232
# file and samp are at the end of this file since they screw up fontlock.

Doc/texinputs/python.sty

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -746,15 +746,15 @@
746746
% This should be used to mark things which have been added to the
747747
% development tree but that aren't in the release, but are documented.
748748
% This allows release of documentation that already includes updated
749-
% descriptions.
749+
% descriptions. Place at end of descriptor environment.
750750
%
751751
% Example:
752752
% \versionadded{1.5.2}
753753
%
754754
\newcommand{\versionadded}[1]{%
755-
\strong{New in version #1.}\par}
755+
{ New in version #1. }}
756756
\newcommand{\versionchanged}[1]{%
757-
\strong{Changed in version #1.}\par}
757+
{ Changed in version #1. }}
758758

759759

760760
% Tables.

0 commit comments

Comments
 (0)