summaryrefslogtreecommitdiffstats
path: root/doxygen/siphon_templates/syscfg/item_format.md
diff options
context:
space:
mode:
authorChris Luke <chrisy@flirble.org>2016-09-26 15:51:56 -0700
committerDamjan Marion <dmarion.lists@gmail.com>2016-09-27 18:15:58 +0000
commitaf405f77c74d8b41523d4e7f39a91c7aec2fd93c (patch)
tree503790bbfaf0a6aee1956c1f4e8e0efc81fb586c /doxygen/siphon_templates/syscfg/item_format.md
parent822af5c95d080a58cda504228df4b5f3896e72b6 (diff)
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 <chrisy@flirble.org>
Diffstat (limited to 'doxygen/siphon_templates/syscfg/item_format.md')
-rw-r--r--doxygen/siphon_templates/syscfg/item_format.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/doxygen/siphon_templates/syscfg/item_format.md b/doxygen/siphon_templates/syscfg/item_format.md
index 5d3bb5c83fb..53136115bbc 100644
--- a/doxygen/siphon_templates/syscfg/item_format.md
+++ b/doxygen/siphon_templates/syscfg/item_format.md
@@ -25,14 +25,14 @@
{{ sb }}
{% endif %}
{% endif %}
-{% if "item" in meta or "function" in item %}
+{% if "name" in meta or "function" in item %}
{# 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 item %}