Skip to content

Commit

Permalink
Remove YAML
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeeus committed Aug 25, 2022
1 parent 5f47c91 commit 141a5cf
Show file tree
Hide file tree
Showing 5 changed files with 63 additions and 17 deletions.
2 changes: 1 addition & 1 deletion documentation/setup/remove.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ If you want to remove HACS you need to do that using the following steps.

**This should _only_ be done if you are not planing on using HACS anymore!**

1. Remove the configuration from `configuration.yaml` (if configured with legacy (YAML)) or remove it using the trashbin icon on the integration page.
1. Use the trashbin icon on the integration page.
1. Restart Home Assistant **important**
1. Restart Home Assistant (yes, this needs to be done twice) **important**
1. Delete the `hacs` directory under `custom_components`.
Expand Down
31 changes: 31 additions & 0 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,5 +92,36 @@ module.exports = {
indexPages: true,
},
],
[
'@docusaurus/plugin-client-redirects',
{
redirects: [
{
from: "/default_repositories",
to: "/"
},
{
from: ["/docs/configuration/pat", "/docs/configuration/legacy", "/docs/configuration/start"],
to: "/docs/configuration/basic"
},
{
from: "/docs/installation/installation",
to: "/docs/setup/download"
},
{
from: ["/docs/installation/manual", "/docs/installation/manual_cli", "/docs/installation/prerequisites"],
to: "/docs/setup/prerequisites"
},
{
from: "/docs/installation/remove",
to: "/docs/setup/remove"
},
{
from: "/docs/faq/what",
to: "/docs/faq/"
}
]
}
]
],
}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@
},
"dependencies": {
"@docusaurus/core": "^2.0.1",
"@docusaurus/plugin-client-redirects": "^2.0.1",
"@docusaurus/preset-classic": "^2.0.1",
"@docusaurus/utils": "^2.0.1",
"@easyops-cn/docusaurus-search-local": "^0.27.1",
"@easyops-cn/docusaurus-search-local": "^0.31.0",
"classnames": "^2.3.1",
"node-forge": "^1.3.1",
"react": "^17.0.2",
Expand Down
1 change: 0 additions & 1 deletion sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ module.exports = {
setup: {
Setup: ['setup/prerequisites', 'setup/download'],
Configuration: ['configuration/basic', 'configuration/options'],
'Legacy Configuration': ['configuration/legacy'],
Remove: ['setup/remove'],
},
'developer documentation': {
Expand Down
43 changes: 29 additions & 14 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2286,6 +2286,21 @@
react-helmet-async "*"
react-loadable "npm:@docusaurus/[email protected]"

"@docusaurus/plugin-client-redirects@^2.0.1":
version "2.0.1"
resolved "https://registry.yarnpkg.com/@docusaurus/plugin-client-redirects/-/plugin-client-redirects-2.0.1.tgz#3b00cd0a816fe85e6c505651f28b59fff723ac67"
integrity sha512-A/giM3MIRRyUmxNzLb/jWvmRf0NtPYX4bV04njAnziAdPo4dqT4dZF2Hvy0uUSaF/SXPGLUjrZWWpzTl5mTJtQ==
dependencies:
"@docusaurus/core" "2.0.1"
"@docusaurus/logger" "2.0.1"
"@docusaurus/utils" "2.0.1"
"@docusaurus/utils-common" "2.0.1"
"@docusaurus/utils-validation" "2.0.1"
eta "^1.12.3"
fs-extra "^10.1.0"
lodash "^4.17.21"
tslib "^2.4.0"

"@docusaurus/[email protected]":
version "2.0.1"
resolved "https://registry.yarnpkg.com/@docusaurus/plugin-content-blog/-/plugin-content-blog-2.0.1.tgz#a37065e18ffd26e022ffb16a21ff28199140729e"
Expand All @@ -2308,7 +2323,7 @@
utility-types "^3.10.0"
webpack "^5.73.0"

"@docusaurus/[email protected]", "@docusaurus/plugin-content-docs@^2.0.0-beta.20":
"@docusaurus/[email protected]", "@docusaurus/plugin-content-docs@^2.0.0-rc.1":
version "2.0.1"
resolved "https://registry.yarnpkg.com/@docusaurus/plugin-content-docs/-/plugin-content-docs-2.0.1.tgz#4059591b4bff617e744e856ca680674b27c0b98a"
integrity sha512-2qeBWRy1EjgnXdwAO6/csDIS1UVNmhmtk/bQ2s9jqjpwM8YVgZ8QVdkxFAMWXgZWDQdwWwdP1rnmoEelE4HknQ==
Expand Down Expand Up @@ -2490,7 +2505,7 @@
tslib "^2.4.0"
utility-types "^3.10.0"

"@docusaurus/[email protected]", "@docusaurus/theme-translations@^2.0.0-beta.20":
"@docusaurus/[email protected]", "@docusaurus/theme-translations@^2.0.0-rc.1":
version "2.0.1"
resolved "https://registry.yarnpkg.com/@docusaurus/theme-translations/-/theme-translations-2.0.1.tgz#955a687c974265a811bfc743d98ef3eab0379100"
integrity sha512-v1MYYlbsdX+rtKnXFcIAn9ar0Z6K0yjqnCYS0p/KLCLrfJwfJ8A3oRJw2HiaIb8jQfk1WMY2h5Qi1p4vHOekQw==
Expand All @@ -2512,14 +2527,14 @@
webpack "^5.73.0"
webpack-merge "^5.8.0"

"@docusaurus/[email protected]", "@docusaurus/utils-common@^2.0.0-beta.20":
"@docusaurus/[email protected]", "@docusaurus/utils-common@^2.0.0-rc.1":
version "2.0.1"
resolved "https://registry.yarnpkg.com/@docusaurus/utils-common/-/utils-common-2.0.1.tgz#b6f2b029547f739e1431ec84abd16974edf495e0"
integrity sha512-kajCCDCXRd1HFH5EUW31MPaQcsyNlGakpkDoTBtBvpa4EIPvWaSKy7TIqYKHrZjX4tnJ0YbEJvaXfjjgdq5xSg==
dependencies:
tslib "^2.4.0"

"@docusaurus/[email protected]", "@docusaurus/utils-validation@^2.0.0-beta.20":
"@docusaurus/[email protected]", "@docusaurus/utils-validation@^2.0.0-rc.1":
version "2.0.1"
resolved "https://registry.yarnpkg.com/@docusaurus/utils-validation/-/utils-validation-2.0.1.tgz#69f7d4944288d71f00fdba6dde10f05008f04308"
integrity sha512-f14AnwFBy4/1A19zWthK+Ii80YDz+4qt8oPpK3julywXsheSxPBqgsND3LVBBvB2p3rJHvbo2m3HyB9Tco1JRw==
Expand All @@ -2530,7 +2545,7 @@
js-yaml "^4.1.0"
tslib "^2.4.0"

"@docusaurus/[email protected]", "@docusaurus/utils@^2.0.0-beta.20", "@docusaurus/utils@^2.0.1":
"@docusaurus/[email protected]", "@docusaurus/utils@^2.0.0-rc.1", "@docusaurus/utils@^2.0.1":
version "2.0.1"
resolved "https://registry.yarnpkg.com/@docusaurus/utils/-/utils-2.0.1.tgz#37b4b42e29175e5d2d811fcbf9f93bffeca7c353"
integrity sha512-u2Vdl/eoVwMfUjDCkg7FjxoiwFs/XhVVtNxQEw8cvB+qaw6QWyT73m96VZzWtUb1fDOefHoZ+bZ0ObFeKk9lMQ==
Expand Down Expand Up @@ -2559,16 +2574,16 @@
cssesc "^3.0.0"
immediate "^3.2.3"

"@easyops-cn/docusaurus-search-local@^0.27.1":
version "0.27.2"
resolved "https://registry.yarnpkg.com/@easyops-cn/docusaurus-search-local/-/docusaurus-search-local-0.27.2.tgz#5d9e7c23b72ee7937f1d6efcb5dbbabff769de27"
integrity sha512-eGv/MAKemnnCPk7Mt+WHYsEdDG6oX6JSi/mO1uEFPpVqE4skvpo/x4e45a06kcTmNrdEu4l8Cq2edBpjuWVhvQ==
"@easyops-cn/docusaurus-search-local@^0.31.0":
version "0.31.0"
resolved "https://registry.yarnpkg.com/@easyops-cn/docusaurus-search-local/-/docusaurus-search-local-0.31.0.tgz#dbf09aa0d7ba63176e54b9e29be9ec2d2dda0340"
integrity sha512-nwh/DW9WC+5DetwxA/H2OhzfNcoIAQM4TD0WkqT+laousfIXhyBtHjJRv4KsX8iOlmTqliq47uSeCwB3fqDNzw==
dependencies:
"@docusaurus/plugin-content-docs" "^2.0.0-beta.20"
"@docusaurus/theme-translations" "^2.0.0-beta.20"
"@docusaurus/utils" "^2.0.0-beta.20"
"@docusaurus/utils-common" "^2.0.0-beta.20"
"@docusaurus/utils-validation" "^2.0.0-beta.20"
"@docusaurus/plugin-content-docs" "^2.0.0-rc.1"
"@docusaurus/theme-translations" "^2.0.0-rc.1"
"@docusaurus/utils" "^2.0.0-rc.1"
"@docusaurus/utils-common" "^2.0.0-rc.1"
"@docusaurus/utils-validation" "^2.0.0-rc.1"
"@easyops-cn/autocomplete.js" "^0.38.1"
"@node-rs/jieba" "^1.6.0"
cheerio "^1.0.0-rc.3"
Expand Down

0 comments on commit 141a5cf

Please sign in to comment.