docs: update docsearch and improve trailing slash handling (#2908)

* Update docusaurus.config.js

* well, good morning

* trial by error with pages
This commit is contained in:
Florian Forster 2021-12-30 09:01:47 +01:00 committed by GitHub
parent 2553bb173e
commit 738a5821da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,7 @@
/** @type {import('@docusaurus/types').DocusaurusConfig} */
module.exports = {
title: 'ZITADEL Docs',
trailingSlash: false,
url: 'https://docs.zitadel.ch',
baseUrl: '/',
onBrokenLinks: 'throw',
@ -117,7 +118,8 @@ module.exports = {
copyright: `Copyright © ${new Date().getFullYear()} CAOS Ltd. Built with Docusaurus.`,
},
algolia: {
apiKey: 'bff480bce03126c2d348345647854e91',
appId: '8H6ZKXENLO',
apiKey: 'c3899716db098111f5e89c8987b9c427',
indexName: 'zitadel',
},
prism: {