mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-01-13 12:17:26 -08:00
docs: re-used external hyperlinks for Open Weather Map
also applied miscellaneous changes in inner documentation
This commit is contained in:
parent
ca63bfb790
commit
b2233ba14b
|
@ -6,11 +6,11 @@ sidebar_label: Open Weather Map
|
||||||
|
|
||||||
## What
|
## What
|
||||||
|
|
||||||
Shows the current weather of a given location.
|
Shows the current weather of a given location with [Open Weather Map][owm].
|
||||||
|
|
||||||
:::caution
|
:::caution
|
||||||
|
|
||||||
You **must** request an API key at the [Open Weather Map](https://openweathermap.org/price) website.
|
You **must** request an API key at the [Open Weather Map][owm-price] website.
|
||||||
The free tier for *Current weather and forecasts collection* is sufficient.
|
The free tier for *Current weather and forecasts collection* is sufficient.
|
||||||
:::
|
:::
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@ The free tier for *Current weather and forecasts collection* is sufficient.
|
||||||
|
|
||||||
## Properties
|
## Properties
|
||||||
|
|
||||||
- apikey: `string` - Your apikey from [Open Weather Map](https://openweathermap.org)
|
- apikey: `string` - Your API key from [Open Weather Map][owm]
|
||||||
- location: `string` - The requested location.
|
- location: `string` - The requested location.
|
||||||
Formatted as <City,STATE,COUNTRY_CODE>. City name, state code and country code divided by comma.
|
Formatted as <City,STATE,COUNTRY_CODE>. City name, state code and country code divided by comma.
|
||||||
Please, refer to ISO 3166 for the state codes or country codes - defaults to `DE BILT,NL`
|
Please, refer to ISO 3166 for the state codes or country codes - defaults to `DE BILT,NL`
|
||||||
|
@ -65,3 +65,5 @@ properties below - defaults to `{{.Weather}} ({{.Temperature}}{{.UnitIcon}})`
|
||||||
- `.URL`: `string` - the url of the current api call
|
- `.URL`: `string` - the url of the current api call
|
||||||
|
|
||||||
[templates]: /docs/configuration/templates
|
[templates]: /docs/configuration/templates
|
||||||
|
[owm]: https://openweathermap.org
|
||||||
|
[owm-price]: https://openweathermap.org/price
|
||||||
|
|
Loading…
Reference in a new issue