changeset 11387:2750b04a1b5c

Update script to generate undocumented function list.
author Rik <octave@nomad.inbox5.com>
date Fri, 17 Dec 2010 21:51:52 -0800
parents fba7b5538b18
children 027fbc389898
files doc/ChangeLog doc/interpreter/doccheck/mk_undocumented_list
diffstat 2 files changed, 11 insertions(+), 35 deletions(-) [+]
line wrap: on
line diff
--- a/doc/ChangeLog	Fri Dec 17 20:25:14 2010 -0800
+++ b/doc/ChangeLog	Fri Dec 17 21:51:52 2010 -0800
@@ -1,3 +1,9 @@
+2010-12-17  Rik  <octave@nomad.inbox5.com>
+
+	* interpreter/doccheck/mk_undocumented_list: Update script to
+	automatically remove functions from the "test/" and "doc/interpreter"
+	directories.
+
 2010-12-17  Rik  <octave@nomad.inbox5.com>
 
 	* interpreter/Makefile.am: Add undocumented_list target to create list
--- a/doc/interpreter/doccheck/mk_undocumented_list	Fri Dec 17 20:25:14 2010 -0800
+++ b/doc/interpreter/doccheck/mk_undocumented_list	Fri Dec 17 21:51:52 2010 -0800
@@ -24,10 +24,13 @@
    push(@where, $1) if (/] = (\S*)$/);
 }
 
-# Remove deprecated functions from the list of features requiring a DOCSTRING  
+# Remove functions based on directory location
+# deprecated directory, doc/interpreter directory, test/ directory
 FUNC: foreach $idx (0 .. $#where)
 {
    next FUNC if ($where[$idx] =~ /deprecated/i);
+   next FUNC if ($where[$idx] =~ /interpreter/i);
+   next FUNC if ($where[$idx] =~ m#test/#i);
 
    push (@functions, $all_functions[$idx]); 
 }
@@ -39,7 +42,7 @@
 # Exception data is stored at the bottom of this script
 map { chomp, $exceptions{$_}=1; } <DATA>;
 
-# Remove exception data from the list of features requiring a DOCSTRING
+# Remove exception data from the list
 @functions = grep (! $exceptions{$_}, @functions);
 
 ################################################################################
@@ -74,7 +77,6 @@
 besseli
 besselk
 bessely
-build_bc_overloads_expected
 chdir
 comma
 debug
@@ -86,10 +88,8 @@
 F_SETFD
 F_SETFL
 gammaln
-geometryimages
 i
 inf
-interpimages
 inverse
 j
 J
@@ -106,40 +106,10 @@
 O_TRUNC
 O_WRONLY
 paren
-plotimages
 SEEK_CUR
 SEEK_END
 semicolon
 setenv
-sparseimages
-tbcover
-test_args
-test_bc_overloads
-test_classes
-test_contin
-test_diag_perm
-test_error
-test_for
-test_func
-test_global
-test_if
-test_io
-test_null_assign
-test_parser
-test_prefer
-test_range
-test_recursion
-test_return
-test_slice
-test_sparse
-test_string
-test_struct
-test_switch
-test_system
-test_transpose
-test_try
-test_unwind
-test_while
 toc
 triu
 unimplemented