Move frontmatter redirects to file (#14682)

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Franck Nijhof <git@frenck.dev>
This commit is contained in:
Marco Kamner 2020-10-02 18:50:52 +02:00 committed by GitHub
parent 445b49ff8d
commit 543bb1d874
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 27 additions and 28 deletions

View File

@ -76,6 +76,7 @@
/developers/rest_api https://developers.home-assistant.io/docs/api/rest/
/developers/server_sent_events https://developers.home-assistant.io/docs/external_api_server_sent_events/
/developers/websocket_api https://developers.home-assistant.io/docs/api/websocket/
/developers/code_of_conduct /code_of_conduct
# Platform pages to integration pages migration
/components/air_pollutants /integrations/air_quality
@ -2071,6 +2072,10 @@
/integrations/switch.knx /integrations/knx#switch
/integrations/weather.knx /integrations/knx#weather
/integrations/zigbee /integrations/xbee
/integrations/hassio /hassio
/integrations/cloud.alexa /cloud/alexa
/getting-started/automation-create-first /getting-started/automation
/getting-started/automation-2 /getting-started/automation
/getting-started/automation-action /docs/automation/action
/getting-started/automation-condition /docs/automation/condition
/getting-started/automation-examples /docs/automation/examples
@ -2174,6 +2179,7 @@
/lovelace/views /lovelace/dashboards-and-views
/lovelace/yaml-mode /lovelace/dashboards-and-views
/lovelace/calendar-card /lovelace/calendar
/integrations/lovelace /lovelace
# Removed documentation
/docs/installation/hassbian /getting-started

View File

@ -2,8 +2,6 @@
title: "Alexa via Home Assistant Cloud"
description: "Enable the Alexa integration via Home Assistant Cloud integration."
sidebar: false
redirect_from:
- /integrations/cloud.alexa/
---
Home Assistant Cloud is a subscription service provided by our partner Nabu Casa, Inc. Check out [the Nabu Casa website](https://www.nabucasa.com/config/amazon_alexa/) for help with the Amazon Alexa integration via Home Assistant Cloud.

View File

@ -2,7 +2,6 @@
title: "Code of Conduct"
description: "The Code of Conduct for Home Assistant projects."
sidebar: false
redirect_from: /developers/code_of_conduct/
---
## Our Pledge
@ -22,23 +21,23 @@ diverse, inclusive, and healthy community.
Examples of behavior that contributes to a positive environment for our
community include:
* Demonstrating empathy and kindness toward other people
* Being respectful of differing opinions, viewpoints, and experiences
* Giving and gracefully accepting constructive feedback
* Accepting responsibility and apologizing to those affected by our mistakes,
- Demonstrating empathy and kindness toward other people
- Being respectful of differing opinions, viewpoints, and experiences
- Giving and gracefully accepting constructive feedback
- Accepting responsibility and apologizing to those affected by our mistakes,
and learning from the experience
* Focusing on what is best not just for us as individuals, but for the
- Focusing on what is best not just for us as individuals, but for the
overall community
Examples of unacceptable behavior include:
* The use of sexualized language or imagery, and sexual attention or
- The use of sexualized language or imagery, and sexual attention or
advances of any kind
* Trolling, insulting or derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or email
- Trolling, insulting or derogatory comments, and personal or political attacks
- Public or private harassment
- Publishing others' private information, such as a physical or email
address, without their explicit permission
* Other conduct which could reasonably be considered inappropriate in a
- Other conduct which could reasonably be considered inappropriate in a
professional setting
## Enforcement Responsibilities

View File

@ -1,9 +1,6 @@
---
title: "Automating Home Assistant"
description: "A quick intro on getting your first automation going."
redirect_from:
- /getting-started/automation-create-first/
- /getting-started/automation-2/
---
Once your devices are set up, it's time to put the cherry on the pie: automation. In this guide we're going to create a simple automation rule to **turn on the lights when the sun sets**.

View File

@ -1,7 +1,6 @@
---
title: "Home Assistant"
description: "Manage your Home Assistant and custom add-ons."
redirect_from: /integrations/hassio/
---
Home Assistant turns your Raspberry Pi (or another device) into the ultimate home automation hub. With Home Assistant, you can focus on integrating your devices and writing automations.
@ -32,14 +31,14 @@ Home Assistant users can update via the 'Supervisor' panel in the UI when a new
Home Assistant dashboard with upgrade notification (under the hamburger menu -> Supervisor)
</p>
[Google Assistant]: /addons/google_assistant/
[Snips.ai]: /addons/snips/
[Let's Encrypt]: /addons/lets_encrypt/
[Duck DNS]: /addons/duckdns/
[google assistant]: /addons/google_assistant/
[snips.ai]: /addons/snips/
[let's encrypt]: /addons/lets_encrypt/
[duck dns]: /addons/duckdns/
[forums]: https://community.home-assistant.io/c/hass-io
[comm-add-ons]: https://community.home-assistant.io/tags/hassio-repository
[all]: /addons/
[chat]: https://discord.gg/K3UVxJd
[Home Assistant Operating System]: https://github.com/home-assistant/operating-system
[Home Assistant Core]: https://www.home-assistant.io/docs/installation/
[home assistant operating system]: https://github.com/home-assistant/operating-system
[home assistant core]: https://www.home-assistant.io/docs/installation/
[install]: /hassio/installation/

View File

@ -29,7 +29,7 @@ To try it yourself, check out [the demo](https://demo.home-assistant.io).
## Additional Lovelace Resources
* [Awesome HA](https://www.awesome-ha.com/#lovelace-ui)
* [Community Custom Cards](https://github.com/custom-cards)
* [Home Assistant Cards](https://home-assistant-cards.bessarabov.com/)
* [Material Design Icons](https://materialdesignicons.com/tag/community)
- [Awesome HA](https://www.awesome-ha.com/#lovelace-ui)
- [Community Custom Cards](https://github.com/custom-cards)
- [Home Assistant Cards](https://home-assistant-cards.bessarabov.com/)
- [Material Design Icons](https://materialdesignicons.com/tag/community)