mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 15:26:59 +00:00
Add redirect
This commit is contained in:
parent
5574cf840a
commit
e7cc2120d6
@ -63,6 +63,12 @@ Content...Written in markdown.
|
|||||||
|
|
||||||
There are [pre-definied variables](https://jekyllrb.com/docs/variables/) available but usually, it's not necessary to use them when writing documentation.
|
There are [pre-definied variables](https://jekyllrb.com/docs/variables/) available but usually, it's not necessary to use them when writing documentation.
|
||||||
|
|
||||||
|
A couple of points to remember:
|
||||||
|
|
||||||
|
- Document the needed steps to retrieve API keys or access token for the third party service or device if needed.
|
||||||
|
- Keep the configuration sample minimal by only adding the `Required` options. Full configuration details with further explanations should go into a seperate section.
|
||||||
|
- The description of all the configuration variables should contains information about the used defaults.
|
||||||
|
|
||||||
### {% linkable_title Embedding Code %}
|
### {% linkable_title Embedding Code %}
|
||||||
|
|
||||||
You can use the default markdown syntax to generate syntax highlighted code. For inline code wrap your code in \`. For multi-line, syntax wrap your code as shown below.
|
You can use the default markdown syntax to generate syntax highlighted code. For inline code wrap your code in \`. For multi-line, syntax wrap your code as shown below.
|
||||||
@ -94,6 +100,16 @@ The direct usage of HTML is supported but not recommended. The note boxes are an
|
|||||||
</p>
|
</p>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### {% linkable_title Redirects %}
|
||||||
|
If you rename or move an existing platform or component, create the redirect. Add the old location of the page to the header of the new one.
|
||||||
|
|
||||||
|
```test
|
||||||
|
---
|
||||||
|
...
|
||||||
|
redirect_from: /getting-started/android/
|
||||||
|
---
|
||||||
|
```
|
||||||
|
|
||||||
### {% linkable_title Images, icons, and logos %}
|
### {% linkable_title Images, icons, and logos %}
|
||||||
|
|
||||||
The images which are displayed on the pages are stored in various directories according to their purpose.
|
The images which are displayed on the pages are stored in various directories according to their purpose.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user