Mercurial > hg > octave-nkf
changeset 12681:c09ed93d1a8b stable
doc: Don't use @code{} within @deftypefn macro
* ver.m, datenum.m, data.cc, dirfns.cc: Remove @code{} macro from
@deftypefn instances.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Tue, 17 May 2011 08:05:38 -0700 |
parents | 1acead61c527 |
children | c21eb9c02c31 |
files | scripts/miscellaneous/ver.m scripts/time/datenum.m src/data.cc src/dirfns.cc |
diffstat | 4 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/miscellaneous/ver.m +++ b/scripts/miscellaneous/ver.m @@ -40,7 +40,7 @@ ## Date respecting the version/revision. ## @end table ## -## @deftypefnx {Function File} {v =} ver (@code{"Octave"}) +## @deftypefnx {Function File} {v =} ver ("Octave") ## Return version information for Octave only. ## ## @deftypefnx {Function File} {v =} ver (@var{package})
--- a/scripts/time/datenum.m +++ b/scripts/time/datenum.m @@ -21,8 +21,8 @@ ## @deftypefnx {Function File} {} datenum (@var{year}, @var{month}, @var{day}, @var{hour}) ## @deftypefnx {Function File} {} datenum (@var{year}, @var{month}, @var{day}, @var{hour}, @var{minute}) ## @deftypefnx {Function File} {} datenum (@var{year}, @var{month}, @var{day}, @var{hour}, @var{minute}, @var{second}) -## @deftypefnx {Function File} {} datenum (@code{"date"}) -## @deftypefnx {Function File} {} datenum (@code{"date"}, @var{p}) +## @deftypefnx {Function File} {} datenum ("date") +## @deftypefnx {Function File} {} datenum ("date", @var{p}) ## Return the specified local time as a day number, with Jan 1, 0000 ## being day 1. By this reckoning, Jan 1, 1970 is day number 719529. ## The fractional portion, @var{p}, corresponds to the portion of the
--- a/src/data.cc +++ b/src/data.cc @@ -5873,7 +5873,7 @@ "-*- texinfo -*-\n\ @deftypefn {Built-in Function} {} issorted (@var{a})\n\ @deftypefnx {Built-in Function} {} issorted (@var{a}, @var{mode})\n\ -@deftypefnx {Built-in Function} {} issorted (@var{a}, @code{\"rows\"}, @var{mode})\n\ +@deftypefnx {Built-in Function} {} issorted (@var{a}, \"rows\", @var{mode})\n\ Return true if the array is sorted according to @var{mode}, which\n\ may be either \"ascending\", \"descending\", or \"either\". By default,\n\ @var{mode} is \"ascending\". NaNs are treated in the same manner as\n\
--- a/src/dirfns.cc +++ b/src/dirfns.cc @@ -283,7 +283,7 @@ DEFUNX ("rmdir", Frmdir, args, , "-*- texinfo -*-\n\ @deftypefn {Built-in Function} {[@var{status}, @var{msg}, @var{msgid}] =} rmdir (@var{dir})\n\ -@deftypefnx {Built-in Function} {[@var{status}, @var{msg}, @var{msgid}] =} rmdir (@var{dir}, @code{\"s\"})\n\ +@deftypefnx {Built-in Function} {[@var{status}, @var{msg}, @var{msgid}] =} rmdir (@var{dir}, \"s\")\n\ Remove the directory named @var{dir}.\n\ \n\ If successful, @var{status} is 1, with @var{msg} and @var{msgid} empty\n\