mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-21 16:26:30 +00:00
Change documentation from frontmatter redirects to redirects file (#667)
This commit is contained in:
parent
fc983c9417
commit
72e0345ea6
@ -66,12 +66,12 @@ some_key:
|
|||||||
|
|
||||||
## Renaming Pages
|
## Renaming Pages
|
||||||
|
|
||||||
It can happen that an integration or platform is renamed, in this case the documentation needs to be updated as well. If you rename a page, add `redirect_from:` to the file header and let it point to the old location/name of the page. Please consider to add details, like release number or old integration/platform name, to the page in a [note](/documenting/create-page.md/#html).
|
It can happen that an integration or platform is renamed, in this case the documentation needs to be updated as well. If you rename a page, add an entry to the `_redirects` file as shown below. Please consider to add details, like release number or old integration/platform name, to the page in a [note](/documenting/create-page.md/#html).
|
||||||
|
|
||||||
```text
|
```text
|
||||||
---
|
---
|
||||||
...
|
...
|
||||||
redirect_from: /getting-started/android/
|
/getting-started/scripts /docs/scripts
|
||||||
---
|
---
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user