{% set doc = frecklet.doc %} {% set examples = doc.get_examples() %} {% if examples %}

Example:

{% if examples[0].get("vars", {}) %} {{ ('# '+ examples[0].title + '\n- ' + frecklet_name + ':\n' + (examples[0].get("vars", {}) | to_yaml(indent=4))) | to_code_block('yaml') | from_markdown }} {% else %} {{ ('# '+ examples[0].title + '\n- ' + frecklet_name) | to_code_block('yaml') | from_markdown }} {% endif %} {% endif %} {% set help = doc.get_help(use_short_help=True) %} {% if help %}

Description

{{ help | from_markdown }}
{% endif %} {% set further_reading = doc.get_further_reading() %} {% if further_reading %}

Resources

{% endif %} {% set vars = frecklet.vars_frecklet %} {% if vars %}
{% include 'variables.html' %}
{% endif %} {% set long_help = doc.get_long_help() %} {% if long_help %}

Details

{{ long_help | from_markdown }}
{% endif %} {% if examples %}
{% include "examples.html" %}
{% endif %}
{% include "code.html" %}