On Mon, Feb 8, 2010 at 6:43 PM, Søren Hauberg <[email protected]> wrote: > 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 >
Absolutely wonderful, thanks. I uploaded the 1.2.0 release of general. -- RNDr. Jaroslav Hajek, PhD computing expert & GNU Octave developer Aeronautical Research and Test Institute (VZLU) Prague, Czech Republic url: www.highegg.matfyz.cz ------------------------------------------------------------------------------ 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 [email protected] https://lists.sourceforge.net/lists/listinfo/octave-dev
