From af405f77c74d8b41523d4e7f39a91c7aec2fd93c Mon Sep 17 00:00:00 2001 From: Chris Luke Date: Mon, 26 Sep 2016 15:51:56 -0700 Subject: Fix missing output in generated CLI/config The templates were looking for the name of the CLI_COMMAND and CONFIG_FUNCTION structures in the srong place. Change-Id: I709d6716216173ba6a7ed41a260728238f96d2db Signed-off-by: Chris Luke --- doxygen/siphon_templates/clicmd/item_format.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'doxygen/siphon_templates/clicmd/item_format.md') diff --git a/doxygen/siphon_templates/clicmd/item_format.md b/doxygen/siphon_templates/clicmd/item_format.md index 77d0484bfb7..288dae40f24 100644 --- a/doxygen/siphon_templates/clicmd/item_format.md +++ b/doxygen/siphon_templates/clicmd/item_format.md @@ -31,7 +31,7 @@ ### Long help {{ v['long_help'] }} -{%- endif %} +{% endif %} {% if 'siphon_block' in item['meta'] %} {% set sb = item["meta"]["siphon_block"] %} {% if sb %} @@ -42,14 +42,14 @@ {{ sb }} {% endif %} {% endif %} -{% if "item" in meta or "function" in v %} +{% if 'name' in meta or 'function' in v %} {# Gives some developer-useful linking #} ### Declaration and implementation -{% if "item" in meta %} +{% if "name" in meta %} {{ "Declaration: @ref %s (@ref %s line %d)" % - (meta['item'], meta["file"], item["meta"]["line_start"]) }} + (meta['name'], meta["file"], item["meta"]["line_start"]) }} {% endif %} {% if "function" in v %} -- cgit 1.2.3-korg