From 20b83a48bd368800e3ba6884e063dc89632174fa Mon Sep 17 00:00:00 2001 From: Klaas Schoute Date: Tue, 30 Apr 2019 18:51:46 +0200 Subject: [PATCH] =?UTF-8?q?=20=E2=9C=8F=EF=B8=8F=20Add=20note=20about=20us?= =?UTF-8?q?ing=20the=20redirect=5Ffrom=20(#242)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * :pencil2: Add note about using the redirect_from * Remove section. --- docs/documentation_create_page.md | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/docs/documentation_create_page.md b/docs/documentation_create_page.md index 7c5cd24d..b92c4e7e 100644 --- a/docs/documentation_create_page.md +++ b/docs/documentation_create_page.md @@ -48,23 +48,6 @@ A couple of points to remember: - Add screenshots to support the user where it makes sense. - Add the type of the device(s) (incl. firmware) you have tested when you know that there are multiple out there. -### Components and platforms - -If you have a component that is taking care of setting up platforms then you don't need to create a new page for every supported platform. Simply add all supported types to `ha_category:` and use `redirect_from:` to list the dummy URL of the platforms. - -```text -... -ha_category: - - DIY - - Binary Sensor - - Switch -redirect_from: - - /components/binary_sensor.raspihats/ - - /components/switch.raspihats/ ---- -... -``` - ### Configuration Every platform page should contain a configuration sample. This sample must contain only the **required** variables to make it easy to copy and paste it for users into their `configuration.yaml` file.