From d3f4812ad8ec1d6ab6bad9e11bb8aaa4cb458a18 Mon Sep 17 00:00:00 2001 From: Chris Cummer Date: Wed, 11 Jul 2018 17:53:55 -0700 Subject: [PATCH] Add the Weather 'apiKey' config value to the documentation --- _site/content/posts/modules/weather.md | 9 ++++++++- docs/index.xml | 5 ++--- docs/posts/index.xml | 5 ++--- docs/posts/modules/todoist/index.html | 4 ---- docs/posts/modules/weather/index.html | 7 ++++++- 5 files changed, 18 insertions(+), 12 deletions(-) diff --git a/_site/content/posts/modules/weather.md b/_site/content/posts/modules/weather.md index c7cb5052..a6fff7de 100644 --- a/_site/content/posts/modules/weather.md +++ b/_site/content/posts/modules/weather.md @@ -17,8 +17,11 @@ wtf/weather/ ## Required ENV Variables + + Key: `WTF_OWM_API_KEY`
-Action: Your OpenWeatherMap API key. +Action: Your OpenWeatherMap API key.
+Note: DEPRECATED. See the `apiKey` config value, below. ## Keyboard Commands @@ -41,6 +44,7 @@ wtf/weather/ ```yaml weather: + apiKey: "2dfb3e3650a1950adddb6badf5ba1aaa" # From http://openweathermap.org/help/city_list.txt cityids: - 6173331 @@ -62,6 +66,9 @@ weather: ### Attributes +`apiKey`
+Your OpenWeatherMap API key. + `cityids`
A list of the OpenWeatherMap city diff --git a/docs/index.xml b/docs/index.xml index 8088fa69..ff35c2fd 100644 --- a/docs/index.xml +++ b/docs/index.xml @@ -380,12 +380,11 @@ Key: h Action: Show the previous git repository. https://wtfutil.com/posts/modules/weather/ Displays a configurable list of current weather report, including current temperature, sunrise time, and sunset time. -Source Code wtf/weather/ Required ENV Variables Key: WTF_OWM_API_KEY Action: Your OpenWeatherMap API key. +Source Code wtf/weather/ Required ENV Variables Key: WTF_OWM_API_KEY Action: Your OpenWeatherMap API key. Note: DEPRECATED. See the apiKey config value, below. Keyboard Commands Key: / Action: Open/close the widget’s help window. Key: h Action: Show the previous weather location. Key: l Action: Show the next weather location. -Key: ← Action: Show the previous weather location. -Key: → Action: Show the next weather location. +Key: ← Action: Show the previous weather location. diff --git a/docs/posts/index.xml b/docs/posts/index.xml index b3ca1a6f..c0502dc7 100644 --- a/docs/posts/index.xml +++ b/docs/posts/index.xml @@ -380,12 +380,11 @@ Key: h Action: Show the previous git repository. https://wtfutil.com/posts/modules/weather/ Displays a configurable list of current weather report, including current temperature, sunrise time, and sunset time. -Source Code wtf/weather/ Required ENV Variables Key: WTF_OWM_API_KEY Action: Your OpenWeatherMap API key. +Source Code wtf/weather/ Required ENV Variables Key: WTF_OWM_API_KEY Action: Your OpenWeatherMap API key. Note: DEPRECATED. See the apiKey config value, below. Keyboard Commands Key: / Action: Open/close the widget’s help window. Key: h Action: Show the previous weather location. Key: l Action: Show the next weather location. -Key: ← Action: Show the previous weather location. -Key: → Action: Show the next weather location. +Key: ← Action: Show the previous weather location. diff --git a/docs/posts/modules/todoist/index.html b/docs/posts/modules/todoist/index.html index 33b03592..e8fde7f2 100644 --- a/docs/posts/modules/todoist/index.html +++ b/docs/posts/modules/todoist/index.html @@ -156,11 +156,7 @@ height="0" width="0" style="display:none;visibility:hidden"> Action: Show the previous project.

Key:
-<<<<<<< HEAD -Action: Show the previous project.

-======= Action: Show the previous project.

->>>>>>> baustinanki-make-jira-interactable

Key: l
Action: Show the next project.

diff --git a/docs/posts/modules/weather/index.html b/docs/posts/modules/weather/index.html index 44ce4cd4..ec4ffefb 100644 --- a/docs/posts/modules/weather/index.html +++ b/docs/posts/modules/weather/index.html @@ -145,7 +145,8 @@ current temperature, sunrise time, and sunset time.

Required ENV Variables

Key: WTF_OWM_API_KEY
-Action: Your
OpenWeatherMap API key.

+Action: Your OpenWeatherMap API key.
+Note: DEPRECATED. See the apiKey config value, below.

Keyboard Commands

@@ -166,6 +167,7 @@ current temperature, sunrise time, and sunset time.

Configuration

weather:
+  apiKey: "2dfb3e3650a1950adddb6badf5ba1aaa"
   # From http://openweathermap.org/help/city_list.txt
   cityids:
   - 6173331
@@ -185,6 +187,9 @@ current temperature, sunrise time, and sunset time.

tempUnit: "C"

Attributes

+

apiKey
+Your OpenWeatherMap API key.

+

cityids
A list of the OpenWeatherMap city