Skip to content

Commit 88f1c47

Browse files
Add steps on removing integration docs (#2852)
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent 12d3c35 commit 88f1c47

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

docs/documenting/create-page.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Create a new page"
2+
title: "Adding an integration page"
33
---
44

55
To create a new integration page, follow these steps:

docs/documenting/remove-page.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
title: "Removing an integration page"
3+
---
4+
5+
If you remove an integration, also remove the related integration documentation.
6+
7+
1. Delete the related [integration documentation page](https://github.com/home-assistant/home-assistant.io/tree/current/source/_integrations).
8+
2. Remove the related logos and icons from the [Brands repository](https://github.com/home-assistant/brands).
9+
3. Remove the entry in the [`codeowners` file](https://github.com/home-assistant/home-assistant.io/blob/current/CODEOWNERS), as they did in [this PR](https://github.com/home-assistant/home-assistant.io/pull/41531/files#diff-fcf14c4b7b34fe7a11916195871ae66a59be87a395f28db73e345ebdc828085bL268).
10+
4. Add a 301 entry in the [redirect file](https://github.com/home-assistant/home-assistant.io/blob/current/source/_redirects#L516), in the section on **Removed integrations**.

sidebars.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,7 @@ module.exports = {
325325
"documenting/general-style-guide",
326326
"documenting/yaml-style-guide",
327327
"documenting/create-page",
328+
"documenting/remove-page",
328329
"documenting/integration-docs-examples",
329330
],
330331
},

0 commit comments

Comments
 (0)