From 8297c819e985ba0d46752971b274b174098afceb Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 18 Nov 2011 23:14:24 +0100 Subject: vty: Add xsd and a command that can generate the documentation. When building the doxygen documentation do not remove the other VTY documentation files in the doc/vty folder. Create a command that can be installed to dump all nodes and commands as XML on the given VTY. Create a schema for the XML file and a XSL-T script that can merge the generated file with additional information. --- doc/vty/example.xml | 22 ++++++++++++++++++++++ doc/vty/merge_doc.xsl | 37 +++++++++++++++++++++++++++++++++++++ doc/vty/vtydoc.xsd | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 105 insertions(+) create mode 100644 doc/vty/example.xml create mode 100644 doc/vty/merge_doc.xsl create mode 100644 doc/vty/vtydoc.xsd (limited to 'doc') diff --git a/doc/vty/example.xml b/doc/vty/example.xml new file mode 100644 index 00000000..400c6340 --- /dev/null +++ b/doc/vty/example.xml @@ -0,0 +1,22 @@ + + + + + + + General docs + + + + + + + General docs + + + + + + + + diff --git a/doc/vty/merge_doc.xsl b/doc/vty/merge_doc.xsl new file mode 100644 index 00000000..6e1bab1d --- /dev/null +++ b/doc/vty/merge_doc.xsl @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/vty/vtydoc.xsd b/doc/vty/vtydoc.xsd new file mode 100644 index 00000000..53a67a36 --- /dev/null +++ b/doc/vty/vtydoc.xsd @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3