Mercurial > octave
changeset 29514:ec768b0f7dcd stable
doc: Use Texinfo commands to improve transpose() docstring rendering.
* data.cc (Ftranspose): Use '@:' syntax to remove excess spacing after a
non-sentence ending period.
* data.cc (Fuplus): Remove "minus" from @seealso link to make docstring
consistent with Fuminus.
author | Rik <rik@octave.org> |
---|---|
date | Thu, 08 Apr 2021 16:04:13 -0700 |
parents | 4f555ba551e5 |
children | 3ff059ddc7fe 6dfc06f55cd2 |
files | libinterp/corefcn/data.cc |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/corefcn/data.cc Thu Apr 08 15:34:33 2021 -0700 +++ b/libinterp/corefcn/data.cc Thu Apr 08 16:04:13 2021 -0700 @@ -5950,7 +5950,7 @@ doc: /* -*- texinfo -*- @deftypefn {} {} uplus (@var{x}) This function and @w{@tcode{+ @var{x}}} are equivalent. -@seealso{uminus, plus, minus} +@seealso{uminus, plus} @end deftypefn */) { return unary_op_defun_body (octave_value::op_uplus, args); @@ -5971,7 +5971,7 @@ @deftypefn {} {} transpose (@var{x}) Return the transpose of @var{x}. -This function and @tcode{@var{x}.'} are equivalent. +This function and @tcode{@var{x}.'@:} are equivalent. @seealso{ctranspose} @end deftypefn */) {