octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "hidden" public package functions


From: Julien Bect
Subject: Re: "hidden" public package functions
Date: Sun, 18 Jun 2017 22:36:16 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

Le 18/06/2017 à 18:43, Olaf Till a écrit :
currently the developers page at the OF website says:

   If the package contains functions which for some reason should not
   be advertised, they can be listed under the category ‘Internal’ in
   the INDEX file. In the future, this category will be handled
   specially in generating the online documentation.

I'm not sure anymore about the last sentence. Arguments (Julien) for
such non-private but not advertised functions were:

- experimental functions,

- helper functions which may also be directly used, but normally are
   not.

But treating a category 'Internal' in a special way would mean some
complications to the code of generate_html and of the website. And the
only thing we could achieve by this would be not exposing the helptext
of such functions (the function name must still be listed to enable
checking for defined symbols).

Is this really worth the effort? Would it not be equivalent, or even
better, to expose the help text, but to state the special status of
the function in it -- i.e. 'This function should be considered
experimental ... (help text follows)' or 'undocumented internal
function' (with help only as a comment in the source)?

Isn't it ok if the package manager simply omits these functions from the INDEX ?

(In the stk package I put them in comments.)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]