Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Tweaked API Docs formatting
  • Loading branch information
latenitefilms committed Jun 9, 2023
1 parent c64097c commit 9c1aa5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/templates/module.j2.md
Expand Up @@ -47,9 +47,9 @@
{% if "returns" in item %}
| **Returns** | <ul>{% for return in item.returns %}<li>{{ return | replace(" * ","") }}</li>{% endfor %}</ul> |
{% endif %}
| **Notes** | {% if "notes" in item and item.notes|length > 0 %}<ul>{% for note in item.notes %}<li>{{ note | replace(" * ","") }}</li>{% endfor %}</ul>{% else %}<ul><li>None</li></ul>{% endif %} |
| **Notes** | {% if "notes" in item and item.notes|length > 0 %}<ul>{% for note in item.notes %}<li>{{ note | replace(" * ","") }}</li>{% endfor %}</ul>{% else %}None{% endif %} |
{% if "examples" in item %}
| **Examples** | {% if "examples" in item and item.examples|length > 0 %}<ul>{% for example in item.examples %}<li>{{ example | replace(" * ","") }}</li>{% endfor %}</ul>{% else %}<ul><li>None</li></ul>{% endif %} |
| **Examples** | {% if "examples" in item and item.examples|length > 0 %}<ul>{% for example in item.examples %}<li>{{ example | replace(" * ","") }}</li>{% endfor %}</ul>{% else %}None{% endif %} |
{% endif %}
| **Source** | [{{ item.file | replace("../CommandPost/", "") }} line {{ item.lineno }}]({{ source_url_base }}{{ item.file | replace("../CommandPost/", "") }}#L{{ item.lineno }}){target="_blank"} |

Expand Down

0 comments on commit 9c1aa5e

Please sign in to comment.