octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #44198] [generate_html] Class methods missing


From: Oliver Heimlich
Subject: [Octave-bug-tracker] [bug #44198] [generate_html] Class methods missing in function index
Date: Sat, 07 Feb 2015 00:26:03 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 Iceweasel/31.4.0

URL:
  <http://savannah.gnu.org/bugs/?44198>

                 Summary: [generate_html] Class methods missing in function
index
                 Project: GNU Octave
            Submitted by: oheim
            Submitted on: Sa 07 Feb 2015 00:26:02 GMT
                Category: Documentation
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Feature Request
                  Status: None
             Assigned to: None
         Originator Name: Oliver Heimlich
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.8.2
        Operating System: Any

    _______________________________________________________

Details:

The following patch adds methods from @class folders to the index files and
makes them available on the following pages:

http://octave.sourceforge.net/functions_by_package.php
http://octave.sourceforge.net/functions_by_alpha.php

Currently, all class methods are missing, which hides most of the interval or
symbolic packages for example.

For the functions_by_alpha page, we should additionally consider the following
consequences:
(1) the order of functions probably could be improved (otherwise, any @class
methods would come first, sorted by class name)
(2) overridden standard function, e. g. size, probably occur in many packages
and could be aggregated or displayed in a compact way



--- a/inst/generate_package_html.m      Thu Jan 22 15:25:45 2015 +0100
+++ b/inst/generate_package_html.m      Sat Feb 07 01:05:44 2015 +0100
@@ -228,7 +228,9 @@
         F = desc.provides {k}.functions;
         for l = 1:length (F)
           fun = F {l};
-          if (implemented {k}{l} && lower (fun (1)) == letter)
+          if (implemented {k}{l} && ...
+              ## class members and private functions are located in
subfolders
+              lower (strsplit (fun, "/") {end} (1)) == letter)
             fs = first_sentences {k}{l};
 
             fprintf (name_fid, "%sn", fun);





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?44198>

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.gnu.org/




reply via email to

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