Skip to content

Commit acf1cd9

Browse files
author
Siva Guruvareddiar
committed
remove /docs as it break google search engine results
1 parent 112a0e0 commit acf1cd9

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

docusaurus/docusaurus.config.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const config = {
2323
organizationName: 'AWS', // Usually your GitHub org/user name.
2424
projectName: 'AWS Observability best practices', // Usually your repo name.
2525

26-
onBrokenLinks: 'throw',
26+
onBrokenLinks: 'warn',
2727
onBrokenMarkdownLinks: 'warn',
2828

2929
// Even if you don't use internationalization, you can use this field to set
@@ -48,11 +48,13 @@ const config = {
4848
/** @type {import('@docusaurus/preset-classic').Options} */
4949
({
5050
docs: {
51+
routeBasePath: '/',
5152
sidebarPath: './sidebars.js',
53+
path: 'docs',
5254
// Please change this to your repo.
5355
// Remove this to remove the "edit this page" links.
5456
editUrl:
55-
'https://github.com/aws-observability/observability-best-practices/',
57+
'https://github.com/aws-observability/observability-best-practices/blob/main/docusaurus/',
5658
},
5759

5860
theme: {

docusaurus/src/pages/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ function HomepageHeader() {
1919
<div className={styles.buttons}>
2020
<Link
2121
className="button button--secondary button--lg"
22-
to="/docs/home">
22+
to="/home">
2323
Let's dive in!
2424
</Link>
2525
</div>

0 commit comments

Comments
 (0)