From f511bea3e26d3a50e72cb436d4fd22712f8f73a5 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 5 Nov 2017 14:05:12 +0100 Subject: [PATCH] Extent sample --- .../documentation/create_page.markdown | 33 ++++++++++++------- 1 file changed, 21 insertions(+), 12 deletions(-) diff --git a/source/developers/documentation/create_page.markdown b/source/developers/documentation/create_page.markdown index 8002a1f623f..db3ca834c6a 100644 --- a/source/developers/documentation/create_page.markdown +++ b/source/developers/documentation/create_page.markdown @@ -49,22 +49,31 @@ Every platform page should contain a configuration sample. This sample must cont The **Configuration Variables** section must use the {% raw %}`{% configuration %} ... {% endconfiguration %}`{% endraw %} tag. - -```text {% raw %} +```text {% 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 +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 %} -{% endraw %} + ``` +{% endraw %} Available keys: