man, 08 02 2010 kl. 10:37 +0100, skrev Jaroslav Hajek:
> I tried to follow the procedure and make a release of the "general"
> package but noticed that classes and class methods are ignored by
> generate_html. What is the markup to be used in the INDEX file for
> class methods?

The 'generate_html' package uses the help system in Octave to get the
texinfo help strings (this was my motivation for rewriting the help
system as m-files), so you should be able to use any format in the INDEX
file that the 'help' command understands. Two bugs are preventing this
from working though.

     1. 'generate_html' doesn't handle function names with file
        separators in them (it doesn't create the necessary
        sub-directories). I've fixed this and released version 0.1.2 of
        the package. Try using this package.
     2. The package manager in Octave creates a list of functions in all
        packages. When no INDEX file is available in a package,
        'generate_html' uses this list. The package manager, however,
        doesn't find class directories when generating this list. You
        can work around this by supplying an INDEX (I've attached the
        one I used for testing the 'general' package).

For now, I think you should just upgrade to 'generate_html' 0.1.2 and
use an INDEX file. I'll see if I can find the time to fix the package
manager bug (unless somebody else beats me to it :-) ).

Søren
general_html >> General purpose functions
Parallel Computing
 pararrayfun
 parcellfun
Various Functions
 adresamp2
 safeprod
 unresamp2
 unvech
 ztvals
 SHA1
 fload
 fsave
 mark_for_deletion
 packfields
 unpackfields
Dictionaries
 @dict/dict
 @dict/display
 @dict/end
 @dict/get
 @dict/has
 @dict/isempty
 @dict/join
 @dict/length
 @dict/struct
 @dict/subsasgn
 @dict/subsref

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to