Skip to content

Commit 1889c73

Browse files
committed
fix: update AWS guides plugin configuration for correct path and edit URL
1 parent 2abce62 commit 1889c73

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

k8swebsite.config.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,12 @@ const config: Config = {
8383
'@docusaurus/plugin-content-docs',
8484
{
8585
id: 'aws-guides', // Unique ID for the AWS guides plugin
86-
path: './aws-guides/docs/', // Local folder where the content will be cloned
86+
path: './aws-guides/docs', // Local folder where the content will be cloned
8787
routeBasePath: 'aws', // URL path for the AWS guides section
8888
sidebarPath: require.resolve('./sidebars.js'), // Sidebar configuration
89-
editUrl: 'https://github.com/anveshmuppeda/aws/tree/main/',
89+
editUrl: ({ docPath }) =>
90+
`https://github.com/anveshmuppeda/aws/tree/main/docs/${docPath}`, // Correct edit URL
91+
include: ['**/*.md', '**/*.mdx'], // Include all Markdown/MDX files
9092
},
9193
],
9294
[

0 commit comments

Comments
 (0)