chore: make docs searchable (#3734)

* chore: make docs searchable

* Update netlify.toml
This commit is contained in:
Florian Forster 2022-05-30 16:51:45 +02:00 committed by GitHub
parent 992892a8bb
commit e897422541
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 13 deletions

View File

@ -146,12 +146,9 @@ module.exports = {
copyright: `Copyright © ${new Date().getFullYear()} ZITADEL Docs - Built with Docusaurus.`,
},
algolia: {
appId: "1FD5EU44EF",
apiKey: "2ddc6c35930ec608baf832bf07b5e150",
siteId: '13929a6d-0c07-4205-af9b-42121333ec5d',
branch: 'v2-alpha-readme',
indexName: 'netlify_13929a6d-0c07-4205-af9b-42121333ec5d_v2-alpha-readme_all',
contextualSearch: false,
appId: "8H6ZKXENLO",
apiKey: "124fe1c102a184bc6fc70c75dc84f96f",
indexName: 'zitadel',
selector: 'div#'
},
prism: {

View File

@ -1,13 +1,6 @@
[build]
command = "npm run build"
[[plugins]]
package = "@algolia/netlify-plugin-crawler"
[plugins.inputs]
branches = ['v2-alpha', 'v2', 'v2-alpha-readme']
renderJavaScript = false
template = "hierarchical"
[[redirects]]
from = "/proxy/js/script.js"
to = "https://plausible.io/js/plausible.js"