Browse Source

Update autohelp template for Config Reference

To eliminate the strings "`` ``" displayed at generated HTML.

Change-Id: Idc8c22c9a81ebbe328abef97b309ec8843470915
Implements: blueprint config-ref-rst
changes/25/251225/1
KATO Tomoyuki 6 years ago
parent
commit
66acf4f037
  1. 6
      autogenerate_config_docs/templates/autohelp.rst.j2

6
autogenerate_config_docs/templates/autohelp.rst.j2

@ -20,7 +20,11 @@
* - **[{{ group }}]**
-
{% for item in items[loop.index0] %}
* - ``{{ item[0] }}`` = ``{{ item[1]|default(' ', true) }}``
{% if item[1] is equalto '' %}
* - ``{{ item[0] }}`` =
{% else %}
* - ``{{ item[0] }}`` = ``{{ item[1] }}``
{% endif %}
- {{ item[2] }}
{% endfor %}
{% endfor %}
Loading…
Cancel
Save