Add support for using documentation siphons in multiple ways 83/3283/5
authorChris Luke <chrisy@flirble.org>
Wed, 5 Oct 2016 19:45:19 +0000 (15:45 -0400)
committerChris Luke <chris_luke@comcast.com>
Mon, 28 Nov 2016 18:23:35 +0000 (18:23 +0000)
commitc3f92adf6be41263eb466e074e4136d29b50b59a
tree7eecad6aa039bb8a2f6ec5b068d6be9914a8815b
parent39f9973f89fe6d44ee3be5d1dd4457d20530d4aa
Add support for using documentation siphons in multiple ways

Experiental support for generating  multiple output formats from the
same siphoned data.

Adds a contrived example to generate a plain list of all CLI commands
(the "itemlist" format).

Eventually we can consider moving the tempate procesisng into the
Output class as well as a way to override how the data is traversed
(ordered).

Change-Id: I77629a74a8fa0c7e583993469dc50491f72f13e7
Signed-off-by: Chris Luke <chrisy@flirble.org>
19 files changed:
doxygen/Makefile
doxygen/siphon-process
doxygen/siphon/process.py
doxygen/siphon_templates/itemlist/clicmd/item_format.itemlist [new file with mode: 0644]
doxygen/siphon_templates/itemlist/default/index_entry.itemlist [new file with mode: 0644]
doxygen/siphon_templates/itemlist/default/index_header.itemlist [new file with mode: 0644]
doxygen/siphon_templates/itemlist/default/index_section.itemlist [new file with mode: 0644]
doxygen/siphon_templates/itemlist/default/item_format.itemlist [moved from doxygen/siphon_templates/default/item_format.md with 100% similarity]
doxygen/siphon_templates/itemlist/default/item_header.itemlist [new file with mode: 0644]
doxygen/siphon_templates/itemlist/syscfg/item_format.itemlist [new file with mode: 0644]
doxygen/siphon_templates/markdown/clicmd/index_entry.md [moved from doxygen/siphon_templates/clicmd/index_entry.md with 100% similarity]
doxygen/siphon_templates/markdown/clicmd/index_header.md [moved from doxygen/siphon_templates/clicmd/index_header.md with 100% similarity]
doxygen/siphon_templates/markdown/clicmd/item_format.md [moved from doxygen/siphon_templates/clicmd/item_format.md with 100% similarity]
doxygen/siphon_templates/markdown/default/index_entry.md [moved from doxygen/siphon_templates/default/index_entry.md with 100% similarity]
doxygen/siphon_templates/markdown/default/index_section.md [moved from doxygen/siphon_templates/default/index_section.md with 100% similarity]
doxygen/siphon_templates/markdown/default/item_format.md [new file with mode: 0644]
doxygen/siphon_templates/markdown/default/item_header.md [moved from doxygen/siphon_templates/default/item_header.md with 100% similarity]
doxygen/siphon_templates/markdown/syscfg/index_header.md [moved from doxygen/siphon_templates/syscfg/index_header.md with 100% similarity]
doxygen/siphon_templates/markdown/syscfg/item_format.md [moved from doxygen/siphon_templates/syscfg/item_format.md with 100% similarity]