[interchange-docs] xmldocs - racke modified 3 files

docs at icdevgroup.org docs at icdevgroup.org
Wed Feb 14 08:41:45 EST 2007


User:      racke
Date:      2007-02-14 13:41:45 GMT
Modified:  .        Makefile
Modified:  bin      refs-autogen stattree
Log:
generate widgets documentation as well

Revision  Changes    Path
1.87      +1 -1      xmldocs/Makefile


rev 1.87, prev_rev 1.86
Index: Makefile
===================================================================
RCS file: /var/cvs/xmldocs/Makefile,v
retrieving revision 1.86
retrieving revision 1.87
diff -u -r1.86 -r1.87
--- Makefile	3 Sep 2006 10:03:23 -0000	1.86
+++ Makefile	14 Feb 2007 13:41:44 -0000	1.87
@@ -12,7 +12,7 @@
 
 #############################################################
 # Base definitions
-SYMBOL_TYPES= pragmas vars tags confs filters orderchecks
+SYMBOL_TYPES= pragmas vars tags confs filters orderchecks widgets
 GUIDES      = iccattut programming-style upgrade faq index optimization search xmldocs WHATSNEW install
 HOWTOS      = howtos
 GLOSSARY    = glossary



1.115     +4 -0      xmldocs/bin/refs-autogen


rev 1.115, prev_rev 1.114
Index: refs-autogen
===================================================================
RCS file: /var/cvs/xmldocs/bin/refs-autogen,v
retrieving revision 1.114
retrieving revision 1.115
diff -u -r1.114 -r1.115
--- refs-autogen	29 Nov 2006 23:07:46 -0000	1.114
+++ refs-autogen	14 Feb 2007 13:41:44 -0000	1.115
@@ -94,6 +94,7 @@
 	catconf => "Catalog Configuration Directive",
 	filter => "Filter",
 	ordercheck => "Check",
+	widget => "Widget",
 	# Summarized / compounds:
 	tag => "Tag",
 	conf => "Configuration directive",
@@ -112,6 +113,7 @@
 	globconf => "option",
 	catconf => "option",
 	filter => "filter",
+	widget => "widget",
 	# Summarized:
 	tag => "tag",
 	conf => "option",
@@ -910,6 +912,8 @@
 				$tag = 'option';
 			} elsif ( $g =~ /filter$/ ) {
 				$tag = 'filter';
+			} elsif ( $g =~ /widget$/ ) {
+				$tag = 'widget';
 			} elsif ( $g =~ /ordercheck$/ ) {
 				$tag = 'check';
 			} else {



1.55      +19 -0     xmldocs/bin/stattree


rev 1.55, prev_rev 1.54
Index: stattree
===================================================================
RCS file: /var/cvs/xmldocs/bin/stattree,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -r1.54 -r1.55
--- stattree	13 Dec 2006 22:48:11 -0000	1.54
+++ stattree	14 Feb 2007 13:41:44 -0000	1.55
@@ -513,6 +513,25 @@
 
 			$hash{total}{$fsubtype . "s"}++;
 			last;
+		##########################################################
+		# Found a widget
+		} elsif ( $c{fsubtype} =~ /^widget$/ )  {
+			( my $fn = $file ) =~ s#.+/##;
+			$fn =~ s/\.widget$//;
+
+			push @{ $hash{symbols}{$c{fsubtype}}{$fn} }, {
+				%c,
+				file => "$i{ver}/$c{file}",
+				lnum => scalar @filedata,
+				ctx_p => $ctx_p,
+				ctx_n => $ctx_n,
+				ctxs => 1,
+				ctxe => scalar @filedata,
+				ctx => [ format_ctx(@filedata) ]
+			};
+
+			$hash{total}{$fsubtype . "s"}++;
+			last;
 
 		##########################################################
 		# Found an ordercheck 








More information about the docs mailing list