[asterisk-commits] mvanbaak: branch group/appdocsxml r137294 - /team/group/appdocsxml/contrib/sc...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Aug 12 11:49:10 CDT 2008


Author: mvanbaak
Date: Tue Aug 12 11:49:10 2008
New Revision: 137294

URL: http://svn.digium.com/view/asterisk?view=rev&rev=137294
Log:
progress.
It's not much (actually, almost nothing) but this laptop is going to be formatted tomorrow.

Maybe I'll have time and motivation after that to finish this script

Modified:
    team/group/appdocsxml/contrib/scripts/xmldoc.php

Modified: team/group/appdocsxml/contrib/scripts/xmldoc.php
URL: http://svn.digium.com/view/asterisk/team/group/appdocsxml/contrib/scripts/xmldoc.php?view=diff&rev=137294&r1=137293&r2=137294
==============================================================================
--- team/group/appdocsxml/contrib/scripts/xmldoc.php (original)
+++ team/group/appdocsxml/contrib/scripts/xmldoc.php Tue Aug 12 11:49:10 2008
@@ -6,7 +6,7 @@
 
 // Set the full path to the documentation.xml here
 // XXX: should be put here by the autoconf/make cycle
-$xmlfile = "/home/michiel/dev/personal/asterisk/appdocsxml/documentation.xml";
+$xmlfile = "/home/michiel/dev/personal/asterisk/appdocsxml/doc/core-en_US.xml";
 
 /**
  * Logic, no changes needed for end users
@@ -74,6 +74,11 @@
 			$buffer[$v->name][$lang][$v->attributes["name"]]["synopsis"] = $child->content;
 		}
 		if ($child->name == "description") {
+			// every description tag should only have stuff in <para> tags
+			if (is_array($child->children) {
+				do_some_magic();
+				//XXX: I dont feel like programming, so suspend it for now
+			}
 			$buffer[$v->name][$lang][$v->attributes["name"]]["description"] = $child->content;
 		}
 		if ($child->name == "variable") {




More information about the asterisk-commits mailing list