Skip to content

Commit

Permalink
DOCS : Tweaked docstory template.
Browse files Browse the repository at this point in the history
  • Loading branch information
crdoconnor committed Sep 20, 2023
1 parent a5da192 commit 6666044
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions hitch/docstory.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,16 @@ story: |
---
title: {{ name }}
---
# {{ name }}
{% if "status" in info %}
{{ info["status"].documentation() }}
{% endif %}
{% endif %}
{{ about }}
# Code Example
## Code Example
{% for name, property in given.items() %}
{{ property.documentation() }}
Expand Down Expand Up @@ -62,9 +64,13 @@ given:
html: |
With HTML:
{% for filename, contents in html.items() %}
{{ filename }}:
```html
{{ html }}
{{ contents }}
```
{% endfor %}
variation: |
## {{ name }}
Expand Down

0 comments on commit 6666044

Please sign in to comment.