mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-21 08:16:29 +00:00
Re enable search 🔎 (#417)
* Re enable search 🔎 Site should have been re scrapped by now and redirects all seem to be working nicely. Closes #416 * Add additional redirects Some old results still in the mix * Tidy un-needed redirects After quick testing only one of the last three redirects was needed so purge the two redundant ones
This commit is contained in:
parent
9f4ff838e7
commit
5a132e215e
@ -52,6 +52,11 @@ module.exports = {
|
||||
],
|
||||
copyright: `Copyright © ${new Date().getFullYear()} Home Assistant, Inc. Built with Docusaurus.`,
|
||||
},
|
||||
algolia: {
|
||||
apiKey: 'd0245452c36b10cec4b8b5bad04e06fc',
|
||||
indexName: 'home-assistant-dev',
|
||||
algoliaOptions: {}
|
||||
},
|
||||
},
|
||||
presets: [
|
||||
[
|
||||
|
@ -14,6 +14,12 @@
|
||||
# Default build command.
|
||||
command = "yarn build"
|
||||
|
||||
[[redirects]]
|
||||
from = "/docs/en/next/*"
|
||||
to = "/docs/:splat"
|
||||
status = 301
|
||||
force = true
|
||||
|
||||
[[redirects]]
|
||||
from = "/docs/en/*"
|
||||
to = "/docs/:splat"
|
||||
|
Loading…
x
Reference in New Issue
Block a user