From acf1cd94c12af6c7e4a32df4364e7d7747061ceb Mon Sep 17 00:00:00 2001 From: Siva Guruvareddiar Date: Fri, 4 Oct 2024 09:16:58 -0500 Subject: [PATCH] remove /docs as it break google search engine results --- docusaurus/docusaurus.config.js | 6 ++++-- docusaurus/src/pages/index.js | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/docusaurus/docusaurus.config.js b/docusaurus/docusaurus.config.js index f872e84c1..8d9b27e5f 100644 --- a/docusaurus/docusaurus.config.js +++ b/docusaurus/docusaurus.config.js @@ -23,7 +23,7 @@ const config = { organizationName: 'AWS', // Usually your GitHub org/user name. projectName: 'AWS Observability best practices', // Usually your repo name. - onBrokenLinks: 'throw', + onBrokenLinks: 'warn', onBrokenMarkdownLinks: 'warn', // Even if you don't use internationalization, you can use this field to set @@ -48,11 +48,13 @@ const config = { /** @type {import('@docusaurus/preset-classic').Options} */ ({ docs: { + routeBasePath: '/', sidebarPath: './sidebars.js', + path: 'docs', // Please change this to your repo. // Remove this to remove the "edit this page" links. editUrl: - 'https://github.com/aws-observability/observability-best-practices/', + 'https://github.com/aws-observability/observability-best-practices/blob/main/docusaurus/', }, theme: { diff --git a/docusaurus/src/pages/index.js b/docusaurus/src/pages/index.js index 527169bee..5f35aa0ca 100644 --- a/docusaurus/src/pages/index.js +++ b/docusaurus/src/pages/index.js @@ -19,7 +19,7 @@ function HomepageHeader() {
+ to="/home"> Let's dive in!