Browse Source

autohelp: workaround for empty values in RST literals

sphinx doesn't appreciated empty literal values between ``. Workaround
the problem by replacing empty values with a space.

Change-Id: Ic963371c988547d0d7d405c687cbf3320cf26881
changes/66/246766/1
Gauvain Pocentek 6 years ago
parent
commit
43ee2e967a
  1. 2
      autogenerate_config_docs/templates/autohelp.rst.j2

2
autogenerate_config_docs/templates/autohelp.rst.j2

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