From a66e28c441d5519a67e5d11cbc8a46cc737e0a1e Mon Sep 17 00:00:00 2001 From: Klaas Schoute Date: Sun, 7 Oct 2018 09:06:16 +0200 Subject: [PATCH] Update Spc component configuration variable (#6570) Update style of Spc component documentation to follow new configuration variables description. Related to #6385. --- source/_components/spc.markdown | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/source/_components/spc.markdown b/source/_components/spc.markdown index 0e8819fb854..1e5d707c860 100644 --- a/source/_components/spc.markdown +++ b/source/_components/spc.markdown @@ -25,10 +25,15 @@ spc: ws_url: WS_URL ``` -Configuration variables: - -- **api_url** (*Required*): URL of the SPC Web Gateway command REST API, e.g., `http://:8088`. -- **ws_url** (*Required*): URL of the SPC Web Gateway websocket, e.g., `ws://:8088`. +{% configuration %} +api_url: + description: URL of the SPC Web Gateway command REST API, e.g., `http://:8088`. + required: true + type: string +ws_url: + description: URL of the SPC Web Gateway websocket, e.g., `ws://:8088`. + required: true + type: string +{% endconfiguration %} Supported sensors will be automatically discovered and added, however they will be hidden by default. -