From bff91be75c26544d720b914422cea071e7284bb5 Mon Sep 17 00:00:00 2001 From: Klaas Schoute Date: Fri, 2 Oct 2020 13:03:22 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=8F=EF=B8=8F=20Move=20scripts=20and=20aut?= =?UTF-8?q?h=20redirect=20to=20file=20(#14765)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/_docs/authentication.markdown | 2 -- source/_docs/authentication/multi-factor-auth.markdown | 1 - source/_docs/authentication/providers.markdown | 1 - source/_docs/scripts.markdown | 1 - source/_docs/scripts/conditions.markdown | 1 - source/_docs/scripts/editor.markdown | 1 - source/_docs/scripts/service-calls.markdown | 1 - source/_redirects | 5 +++++ 8 files changed, 5 insertions(+), 8 deletions(-) diff --git a/source/_docs/authentication.markdown b/source/_docs/authentication.markdown index 11007d29d9e..c38d808f602 100644 --- a/source/_docs/authentication.markdown +++ b/source/_docs/authentication.markdown @@ -1,8 +1,6 @@ --- title: "Authentication" description: "Guide on authentication in Home Assistant." -redirect_from: - - /integrations/auth/ --- Our authentication system secures access to Home Assistant. diff --git a/source/_docs/authentication/multi-factor-auth.markdown b/source/_docs/authentication/multi-factor-auth.markdown index d38b7f215b4..b70e098b7b4 100644 --- a/source/_docs/authentication/multi-factor-auth.markdown +++ b/source/_docs/authentication/multi-factor-auth.markdown @@ -1,7 +1,6 @@ --- title: "Multi-factor authentication" description: "Guide on configuring different multi-factor authentication modules." -redirect_from: /integrations/auth/ --- The Multi-factor Authentication (MFA) modules require you to solve a second challenge after you provide your password. diff --git a/source/_docs/authentication/providers.markdown b/source/_docs/authentication/providers.markdown index b5c87c35541..dc7ff68e8fb 100644 --- a/source/_docs/authentication/providers.markdown +++ b/source/_docs/authentication/providers.markdown @@ -1,7 +1,6 @@ --- title: "Authentication Providers" description: "Guide on configuring different auth providers." -redirect_from: /integrations/auth/ --- When you log in, an _auth provider_ checks your credentials to make sure you are an authorized user. diff --git a/source/_docs/scripts.markdown b/source/_docs/scripts.markdown index 1658882c668..f1c8043a63d 100644 --- a/source/_docs/scripts.markdown +++ b/source/_docs/scripts.markdown @@ -1,7 +1,6 @@ --- title: "Script Syntax" description: "Documentation for the Home Assistant Script Syntax." -redirect_from: /getting-started/scripts/ --- Scripts are a sequence of actions that Home Assistant will execute. Scripts are available as an entity through the standalone [Script component] but can also be embedded in [automations] and [Alexa/Amazon Echo] configurations. diff --git a/source/_docs/scripts/conditions.markdown b/source/_docs/scripts/conditions.markdown index 62d4910e608..6c173561719 100644 --- a/source/_docs/scripts/conditions.markdown +++ b/source/_docs/scripts/conditions.markdown @@ -1,7 +1,6 @@ --- title: "Conditions" description: "Documentation about all available conditions." -redirect_from: /getting-started/scripts-conditions/ --- Conditions can be used within a script or automation to prevent further execution. When a condition does not return true, the script or automation stops executing. A condition will look at the system at that moment. For example, a condition can test if a switch is currently turned on or off. diff --git a/source/_docs/scripts/editor.markdown b/source/_docs/scripts/editor.markdown index a321fdd5497..752e6b541a0 100644 --- a/source/_docs/scripts/editor.markdown +++ b/source/_docs/scripts/editor.markdown @@ -1,7 +1,6 @@ --- title: "Script Editor" description: "Instructions on how to use the new script editor." -redirect_from: /docs/script/editor/ --- In Home Assistant 0.52 we introduced the first version of our script editor. If you just created a new configuration with Home Assistant then you're all set! Go to the UI and enjoy. diff --git a/source/_docs/scripts/service-calls.markdown b/source/_docs/scripts/service-calls.markdown index c8081054081..9559af19c81 100644 --- a/source/_docs/scripts/service-calls.markdown +++ b/source/_docs/scripts/service-calls.markdown @@ -1,7 +1,6 @@ --- title: "Service Calls" description: "Instructions on how to call services in Home Assistant." -redirect_from: /getting-started/scripts-service-calls/ --- Various integrations allow calling services when a certain event occurs. The most common one is calling a service when an automation trigger happens. But a service can also be called from a script or via the Amazon Echo. diff --git a/source/_redirects b/source/_redirects index acdd6d81099..ca6c8c0e598 100644 --- a/source/_redirects +++ b/source/_redirects @@ -2050,6 +2050,7 @@ /docs/ecosystem/notebooks/installation https://data.home-assistant.io /docs/ecosystem/notebooks/stats https://data.home-assistant.io /docs/frontend/mobile https://companion.home-assistant.io +/docs/script/editor /docs/scripts/editor /ecosystem/ios/notifications https://companion.home-assistant.io/docs/notifications/notifications-basic /ecosystem/notebooks https://data.home-assistant.io /ecosystem/notebooks/api https://data.home-assistant.io @@ -2058,6 +2059,7 @@ /ecosystem/notebooks/installation https://data.home-assistant.io /ecosystem/notebooks/stats https://data.home-assistant.io /ios/whats-new https://companion.home-assistant.io/docs/getting_started/getting-started +/integrations/auth /docs/authentication /integrations/binary_sensor.knx /integrations/knx#binary-sensor /integrations/climate.knx /integrations/knx#climate /integrations/cover.knx /integrations/knx#cover @@ -2081,6 +2083,9 @@ /getting-started/installation-docker /docs/installation/docker /getting-started/installation-virtualenv /docs/installation/virtualenv /getting-started/installation-raspberry-pi /docs/installation/raspberry-pi +/getting-started/scripts /docs/scripts +/getting-started/scripts-service-calls /docs/scripts/service-calls +/getting-started/scripts-conditions /docs/scripts/conditions /getting-started/securing /docs/configuration/securing /getting-started/troubleshooting /docs/installation/troubleshooting /getting-started/troubleshooting-configuration /docs/configuration/troubleshooting