mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Add more explicit documentation for PrettyWeather's optional attributes
This commit is contained in:
@@ -142,7 +142,8 @@
|
||||
<h3 id="attributes">Attributes</h3>
|
||||
|
||||
<p><code>city</code> <br />
|
||||
<em>Optional</em>. <br />
|
||||
<em>Optional</em>. It will grab the current location from your IP address if
|
||||
omitted.<br />
|
||||
Values: The name of any city supported by <a href="http://wttr.in">Wttr.in</a>.</p>
|
||||
|
||||
<p><code>enabled</code> <br />
|
||||
@@ -157,7 +158,7 @@ How often, in seconds, this module will update its data. <br />
|
||||
Values: A positive integer, <code>0..n</code>.</p>
|
||||
|
||||
<p><code>unit</code> <br />
|
||||
<em>Optional</em>. <br />
|
||||
<em>Optional</em>. It will use metric if you are out of US and imperial for US.<br />
|
||||
The temperature scale in which to display temperature values. <br />
|
||||
Values: <code>F</code> for Fahrenheit, <code>C</code> for Celcius.</p>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user