You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/documenting/integration-docs-examples.md
+93-30Lines changed: 93 additions & 30 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ This page shows examples of the available documentation features (such as inline
6
6
7
7
Use this template together with the following documentation:
8
8
9
-
- The integration documentation template on under [/_integrations/_integration_docs_template.markdown](https://github.com/home-assistant/home-assistant.io/tree/current/source/_integrations/_integration_docs_template.markdown).
9
+
- The integration documentation template in the home-assistant.io repository under [/_integrations/_integration_docs_template.markdown](https://github.com/home-assistant/home-assistant.io/tree/current/source/_integrations/_integration_docs_template.markdown).
- The documentation rules of the [Integration Quality Scale](https://developers.home-assistant.io/docs/core/integration-quality-scale/rules/).
12
12
@@ -16,16 +16,19 @@ This section shows elements you can use within your text.
16
16
17
17
### My links
18
18
19
-
To indicate a location in the UI, you can use a [My link](https://www.home-assistant.io/docs/tools/quick-bar/#my-links). If the reader selects that link, that page opens in their installation. For example: `"Go to {% my integrations title="**Settings** > **Devices & services**" %} and select your integration."`
19
+
To indicate a location in the UI, you can use a [My link](https://www.home-assistant.io/docs/tools/quick-bar/#my-links). Selecting a My link opens that page in their own Home Assistant installation.
20
20
21
-
Screenshot showing the styling of my links:
21
+
For example: `"Go to {% my integrations title="**Settings** > **Devices & services**" %} and select your integration."`
- {% my areas title="**Settings** > **Areas, labels & zones**" %}
@@ -48,14 +51,15 @@ To identify a My link, in Home Assistant, open the page of interest and press th
48
51
49
52
Some Home Assistant terms and concepts are explained in a Glossary. If you add a reference to the definition of such a term, the term definition is shown as a tooltip.
50
53
51
-
Screenshot showing the styling of a glossary term tooltip:
alt='Screencast showing a refernce to Youtube to start at a specific time'
296
+
alt='Screencast showing a reference to Youtube to start at a specific time'
236
297
/>
298
+
Screencast showing a reference to Youtube to start at a specific time
299
+
</p>
237
300
238
-
## Document structure with example text
301
+
## Document structure
239
302
240
-
This section outlines the document structure. To view example text, refer to the integration documentation template in the `homeassistant.io` repository under `/_integrations/_integration_docs_template.md`. The example text includes some reusable text blocks (includes) such as `include integrations/config_flow.md` and styling elements such as `configuration_basic`.
303
+
This section outlines the high-level document structure. To view example text, refer to the integration documentation template in the `homeassistant.io` repository under `/_integrations/_integration_docs_template.md`. The example text includes some reusable text blocks (includes) such as `include integrations/config_flow.md` and styling elements such as `configuration_basic`.
241
304
242
305
The examples are taken from the [Integration Quality Scale](/docs/core/integration-quality-scale/).
0 commit comments