diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js index 130084cbad..3ba632d566 100644 --- a/docs/docusaurus.config.js +++ b/docs/docusaurus.config.js @@ -64,8 +64,7 @@ const config = { ({ image: "img/og-image.jpg", announcementBar: { - content: - '← Back to Ignite', + content: '← Back to Ignite', isCloseable: false, }, docs: { @@ -225,16 +224,11 @@ const config = { }, }, algolia: { - appId: 'VVETP7QCVE', - apiKey: '167213b8ce51cc7ff9a804df130657e5', - indexName: 'ignite-cli', + appId: "VVETP7QCVE", + apiKey: "167213b8ce51cc7ff9a804df130657e5", + indexName: "ignite-cli", contextualSearch: true, - - // ↓ - To remove if `contextualSearch` versioning search works (to use if not) - // exclusionPatterns: [ - // 'https://docs.ignite.com/v0.25.2/**', - // 'https://docs.ignite.com/nightly/**', - // ] + schedule: "every 1 day at 3:00 pm", }, }), plugins: [ @@ -242,14 +236,12 @@ const config = { "@docusaurus/plugin-client-redirects", { createRedirects(existingPath) { - if (existingPath.includes('/welcome')) { + if (existingPath.includes("/welcome")) { /* - If the link received contains the path /guide, - this will change to /welcome. - */ - return [ - existingPath.replace('/welcome', '/guide'), - ]; + If the link received contains the path /guide, + this will change to /welcome. + */ + return [existingPath.replace("/welcome", "/guide")]; } return; // No redirect created if it doesn't contain /guide },