Fix broken link

This commit is contained in:
Tom Keffer
2023-02-20 16:08:07 -08:00
parent 6fd0a529ef
commit 5cdbea0f37
2 changed files with 15 additions and 5 deletions

View File

@@ -2,7 +2,7 @@
There are two general mechanisms for customizing reports: change options in one or more configuration files, or change the template files. The former is generally easier, but occasionally the latter is necessary.
## Options
## How options work
Options are used to specify how reports will look and what they will contain. For example, they control which units to use, how to format dates and times, which data should be in each plot, the colors of plot elements, _etc_.
@@ -52,7 +52,17 @@ Configuration files are read and processed using the Python utility [ConfigObj](
This example uses two sections at root level (sections `Section1` and `Section2`), and one sub-section (`SubSectionA`), which is nested under `Section1`. The option `key1` is nested under `Section1`, option `key3` is nested under `Section2`, while option `key2` is nested under sub-section `SubSectionA`.
Note that while this example indents sub-sections and options, this is strictly for readability — this isn't Python! It's the number of brackets that counts in determining nesting, not the indentation!
Note that while this example indents sub-sections and options, this is strictly for readability — this isn't Python! It's the number of brackets that counts in determining nesting, not the indentation! It would torture your readers, but the above example could be written
```ini
[Section1]
# A comment
key1 = value1
[[SubSectionA]]
key2 = value2
[Section2]
key3=value3
```
Configuration files take advantage of ConfigObj's ability to organize options hierarchically into _stanzas_. For example, the `[Labels]` stanza contains the text that should be displayed for each observation. The `[Units]` stanza contains other stanzas, each of which contains parameters that control the display of units.

View File

@@ -958,7 +958,7 @@ def archiveRainYearSpan(time_ts, sory_mon)
The introduction of the new section, <span class="code">[StdReport]/[[Defaults]]</span> in <span
class="code">weewx.conf</span>, can change which units are applied to reports because it has a higher
precedence than what is in <span class="code">skin.conf</span>. See the section <a
href="customizing.htm#How_options_work"><em>How options work</em></a> for details of the ordering in which
href="../custom/custom_reports/#how-options-work"><em>How options work</em></a> for details of the ordering in which
an option is considered.
</p>
@@ -1079,7 +1079,7 @@ $day.windGust.max</pre>
is categorically and semantically incorrect.
</p>
<p>
The examples now live in their own directory, <a href="usersguide.htm#Where_to_find_things">whose location
The examples now live in their own directory, <a href="../usersguide/installing-weewx#where-to-find-things">whose location
is dependent on the installation method</a>. If you use an example, you should copy it to the <span
class="code">user</span> subdirectory, modify it if necessary, then use it there. Your copy will be retained
across version upgrades.
@@ -1735,7 +1735,7 @@ extraHumid8 = humidity_8</pre>
<p>
The introduction of <em>data bindings</em> has meant a change in the calling signature of <em>search list
extensions.</em> By way of example, here's the example from the document <a href="sle.html"><i>Writing
extensions.</em> By way of example, here's the example from the document <a href="../sle"><i>Writing
search list extensions</i></a>, but with the differences highlighted.
</p>
<table>