Site updated at 2017-11-05 13:17:58 UTC

This commit is contained in:
Travis CI 2017-11-05 13:17:59 +00:00
parent 452b1591f7
commit d36b0e5706
27 changed files with 84 additions and 76 deletions

View file

@ -106,17 +106,25 @@ Content...Written in markdown.
<h3><a class="title-link" name="configuration" href="#configuration"></a> Configuration</h3>
<p>Every platform page should contain a configuration sample. This sample must contain only the <strong>required</strong> variables to make it easy to copy and paste it for users into their <code class="highlighter-rouge">configuration.yaml</code> file.</p>
<p>The <strong>Configuration Variables</strong> section must use the <code class="highlighter-rouge"><span class="p">{</span><span class="err">%</span><span class="w"> </span><span class="err">configuration</span><span class="w"> </span><span class="err">%</span><span class="p">}</span><span class="w"> </span><span class="err">...</span><span class="w"> </span><span class="p">{</span><span class="err">%</span><span class="w"> </span><span class="err">endconfiguration</span><span class="w"> </span><span class="err">%</span><span class="p">}</span></code> tag.</p>
<div class="language-text highlighter-rouge"><pre class="highlight"><code>
{% configuration %}
api_key:
description: The API key to access the service.
required: true
type: string
name:
description: Name to use in the frontend.
required: false
default: The default name to use in the frontend.
type: string
<div class="language-text highlighter-rouge"><pre class="highlight"><code>{% configuration %}
api_key:
description: The API key to access the service.
required: true
type: string
name:
description: Name to use in the frontend.
required: false
default: The default name to use in the frontend.
type: string
monitored_conditions:
description: Conditions to display in the frontend.
required: true
type: list
keys:
weather:
description: A human-readable text summary.
temperature:
description: The current temperature.
{% endconfiguration %}
</code></pre>