Skip to content

Commit

Permalink
Fixed some links. (openhab#741)
Browse files Browse the repository at this point in the history
* Fixed some links. Closes openhab#732.

Signed-off-by: Jerome Luckenbach <github@luckenba.ch>

* Added Anchors.

Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
  • Loading branch information
Confectrician authored Jul 13, 2018
1 parent 40948f9 commit c2293a1
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 19 deletions.
10 changes: 5 additions & 5 deletions configuration/items.md
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ This section provides information about what a user can expect regarding the beh
- A Binding may set the state of an Item to `UNDEF` if it looses communications with a Thing (for example, a Z-wave doorbell with a dead battery).
The Binding may also set the state to `UNDEF` if an error exists in the binding configuration, or under other conditions

*N.B.* Many openHAB users find that it can be very useful to use [Persistence]({{base}}/addons/persistence.html) and [System started]({{base}}/configuration/rules-dsl.html#system-based-triggers) rules so that their systems behaves in a predictable way after an openHAB restart.
*N.B.* Many openHAB users find that it can be very useful to use [Persistence](/addons/#persistence) and [System started](/docs/configuration/rules-dsl.html#system-based-triggers) rules so that their systems behaves in a predictable way after an openHAB restart.

{: #command-vs-status}
#### Command vs. Status
Expand Down Expand Up @@ -297,7 +297,7 @@ In the example below, the entry `MAP(window_esp.map)` causes the output of the `
Contact Livingroom_Window "Ventana del salón [MAP(window_esp.map):%s]"
```

Please refer to the article on [Transformations](transform.html) for more usage details and a list of available transformation services.
Please refer to the article on [Transformations](/docs/configuration/transformations.html) for more usage details and a list of available transformation services.

{: #icons}
### Icons
Expand Down Expand Up @@ -533,7 +533,7 @@ See the [Hue Emulation]({{base}}/addons/ios/hueemulation/readme.html) or [HomeKi
### Binding Configuration

One of the greatest strengths of an openHAB automation system is the sheer number of devices you can interact with.
See "[currently available Bindings]({{base}}/addons/bindings.html)" for a list of available Bindings.
See "[currently available Bindings](/addons/#binding)" for a list of available Bindings.
This capability of interacting with real-world things is enabled through the association of Bindings with Items.

Once an Item is associated with a Binding, the state of one aspect of a device is reflected in openHAB (e.g., you can see if a light is on or off in one of the user interfaces).
Expand Down Expand Up @@ -561,7 +561,7 @@ Switch Phone_Mobile {ns="192.168.1.123:80"}
Where "ns" is the namespace for a certain Binding like "network", "netatmo", "zwave" etc.
Every Binding defines what values must be given in the Binding configuration string.
That can be the id of a sensor, an ip or mac address or anything else.
The information required for each binding is specified in the configuration information provided for each of the available [Bindings]({{base}}/addons/bindings.html).
The information required for each binding is specified in the configuration information provided for each of the available [Bindings](/addons/#binding).

Examples:

Expand Down Expand Up @@ -595,7 +595,7 @@ Once accepted, the new Thing will appear under Configuration > Things.

Other Bindings support defining Things in a `.things` file located in the `OPENHAB_CFG/things/` folder.

See the [Bindings]({{base}}/addons/bindings.html) configuration section for more information on how to discover or manually define Things for a given Binding.
See the [Bindings](/addons/#binding) configuration section for more information on how to discover or manually define Things for a given Binding.

##### Paper UI Linking

Expand Down
4 changes: 2 additions & 2 deletions configuration/multimedia.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ title: Multimedia

## Audio

openHAB is able to play sound either from the file system (files need to be put in the folder `conf/sounds`), from URLs (e.g. Internet radio streams) or generated by text-to-speech engines (which are available as optional [Voice add-ons]({{base}}/addons/voices.html)).
openHAB is able to play sound either from the file system (files need to be put in the folder `conf/sounds`), from URLs (e.g. Internet radio streams) or generated by text-to-speech engines (which are available as optional [Voice add-ons](/addons/#voice)).

There are different options for output devices (so called audio sinks):

Expand Down Expand Up @@ -53,7 +53,7 @@ playSound("sonos:PLAY5:kitchen", "doorbell.mp3", 25)

### Text-to-Speech

In order to use text-to-speech, you need to install at least one [TTS service]({{base}}/addons/voices.html).
In order to use text-to-speech, you need to install at least one [TTS service](/addons/#voice).
Once you have done so, you will find voices available in your system:

```text
Expand Down
4 changes: 2 additions & 2 deletions configuration/persistence.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ The data may be retrieved at a later time, for example to restore your system af
openHAB persists Item states in a database, and most popular databases are supported.
You may have more than one persistence add-on loaded, and each of these may be configured independently.

A complete list of supported persistence add-ons may be found in the [persistence]({{base}}/addons/persistence.html) section of the on-line openHAB documentation.
A complete list of supported persistence add-ons may be found in the [persistence]({/addons/#persistence) section of the on-line openHAB documentation.

Please refer to the [available persistence service add-on]({{base}}/addons/persistence.html) documentation for your selected persistence add-on for configuration instructions.
Please refer to the [available persistence service add-on](/addons/#persistence) documentation for your selected persistence add-on for configuration instructions.

## Default Persistence Service

Expand Down
12 changes: 6 additions & 6 deletions configuration/rules-dsl.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ Item <item> received update [<state>]
Item <item> changed [from <state>] [to <state>]
```

A simplistic explanation of the differences between `command` and `update` can be found in the article about [openHAB core actions](../addons/actions.html).
A simplistic explanation of the differences between `command` and `update` can be found in the article about [openHAB core actions](/docs/configuration/actions.html#event-bus-actions).

{: #time-based-triggers}
### Time-based Triggers
Expand Down Expand Up @@ -190,8 +190,8 @@ Thing <thingUID> changed [from <status>] [to <status>]
```

The status used in the trigger and the script is a string (no quotes).
You can find all the possible values for status from [Thing Status]({{base}}/concepts/things.html).
And refer to [Thing Status Action]({{base}}/addons/actions.html) to find how to get thing status in the script.
You can find all the possible values for status from [Thing Status](/docs/concepts/things.html).
And refer to [Thing Status Action](/addons/#action) to find how to get thing status in the script.

The `thingUID` is the identifier assigned to the Thing, manually in your configuration or automatically during auto discovery.
You can find it from PaperUI or from Karaf remote console.
Expand Down Expand Up @@ -343,7 +343,7 @@ For example, `Group:Switch` will return an OnOffType for its state.
Each State Type provides a number of convenience methods that will greatly aid in conversion and calculations.
There are two ways to discover these methods:

- Use the [Eclipse SmartHome Designer]({{base}}/installation/designer.html) and the `<ctrl><space>` key combo to list all the available methods
- Use the [openHAB VS Code Extension](/docs/configuration/editors.html#editors.html#openhab-vs-code-extension) and the `<ctrl><space>` key combo to list all the available methods
- Look at the JavaDocs for the given type.
For example, the [JavaDoc for HSBType](http://www.eclipse.org/smarthome/documentation/javadoc/index.html?org/eclipse/smarthome/core/library/types/HSBType.html) shows getRed, getBlue, and getGreen methods.
Thse methods can be called in Rules-DSL without the "get" part in name as in `(MyColorItem.state as HSBType).red)`.
Expand Down Expand Up @@ -696,7 +696,7 @@ end
{: #transformations}
### Transformations

openHAB [Transformation services]({{base}}/addons/transformations.html) can be used in rules to transform/translate/convert data.
openHAB [Transformation services](/addons/#transform) can be used in rules to transform/translate/convert data.

The general syntax is as follows:

Expand Down Expand Up @@ -737,7 +737,7 @@ finally {
}
```

For all available Transformation services please refer to the list of [Transformation Add-ons]({{base}}/addons/transformations.html).
For all available Transformation services please refer to the list of [Transformation Add-ons](/addons/#transform).


{: #logging}
Expand Down
4 changes: 2 additions & 2 deletions configuration/sitemaps.md
Original file line number Diff line number Diff line change
Expand Up @@ -524,13 +524,13 @@ This limits the possible input values, which is yet another often occurring use

## Dynamic Sitemaps

All Sitemap elements can be configured to be hidden, color highlighted or to have a [dynamic icon]({{base}}/items.md#icons-dynamic), depending on certain Item states.
All Sitemap elements can be configured to be hidden, color highlighted or to have a [dynamic icon](/docs/configuration/items.html#icons-dynamic), depending on certain Item states.
A few practical use cases are:

- Show a battery warning if the voltage level of a device is below 30%
- Hide further control elements for the TV if it is turned off
- Highlight a value with a warning color if it is outside accepted limits
- Present a special icon, depending on the state of an item (a [dynamic icon]({{base}}/items.md#icons-dynamic))
- Present a special icon, depending on the state of an item (a [dynamic icon](/docs/configuration/items.html#icons-dynamic))

### Visibility

Expand Down
4 changes: 2 additions & 2 deletions configuration/things.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ title: Things
[Things]({{base}}/concepts/things.html) represent the physical layer of an openHAB system.
From a configuration standpoint, Things tell openHAB which **physical entities** (devices, web services, information sources, etc.) are to be managed by the system.

Things are connected to openHAB through [bindings]({{base}}/addons/bindings.html).
Things are connected to openHAB through [bindings](/addons/#binding).
In order to add a Thing to the system, you must first identify the appropriate binding which will provide the type of Thing you wish to add.
For example, before adding a Thing for a Z-Wave device, the Z-Wave binding must first be installed.

Expand Down Expand Up @@ -90,7 +90,7 @@ Looking at the first example:
- the physical location of the Thing is "Living Room"
- the values inside the `[]` brackets are the Thing's configuration parameters, these are partly mandatory and optional

Please check each individual binding's [documentation]({{base}}/addons/bindings.html) for details on what and how to define Things using the `*.things` configuration text files.
Please check each individual binding's [documentation](/addons/#binding) for details on what and how to define Things using the `*.things` configuration text files.

### Linking Items

Expand Down

0 comments on commit c2293a1

Please sign in to comment.