Change documentation from frontmatter redirects to redirects file (#667)

This commit is contained in:
Matheson Steplock 2020-10-04 20:05:29 -04:00 committed by GitHub
parent fc983c9417
commit 72e0345ea6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -66,12 +66,12 @@ some_key:
## 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
---
...
redirect_from: /getting-started/android/
/getting-started/scripts /docs/scripts
---
```