Mercurial > octave-nkf
comparison scripts/help/__makeinfo__.m @ 17425:cc7815488981
__makeinfo__.m: Add documentation note to code about use of 3rd argument.
* scripts/help/__makeinfo__.m: Add note that code for processing 3rd argument
can not be deleted until generate_package_html function in Octave-Forge is
updated.
author | Rik <rik@octave.org> |
---|---|
date | Mon, 16 Sep 2013 08:20:16 -0700 |
parents | 8c22a8d42833 |
children | d63878346099 |
comparison
equal
deleted
inserted
replaced
17424:8c22a8d42833 | 17425:cc7815488981 |
---|---|
70 | 70 |
71 if (! ischar (output_type)) | 71 if (! ischar (output_type)) |
72 error ("__makeinfo__: second input argument must be a string"); | 72 error ("__makeinfo__: second input argument must be a string"); |
73 endif | 73 endif |
74 | 74 |
75 ## NOTE: The 3rd argument is used by Octave-Forge function | |
76 ## generate_package_html, not by core Octave. This functionality | |
77 ## can only be removed when that function has been updated. | |
75 if (nargin < 3) | 78 if (nargin < 3) |
76 if (strcmpi (output_type, "plain text")) | 79 if (strcmpi (output_type, "plain text")) |
77 fsee_also = @(T) strcat ... | 80 fsee_also = @(T) strcat ... |
78 ("\nSee also:", sprintf (" %s,", T{:})(1:end-1), "\n"); | 81 ("\nSee also:", sprintf (" %s,", T{:})(1:end-1), "\n"); |
79 else | 82 else |