Skip to content

Commit 528d9f5

Browse files
committed
additional config fixes
1 parent c5f0061 commit 528d9f5

3 files changed

Lines changed: 10 additions & 4 deletions

File tree

docusaurus.config.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ const config = {
6868
url: 'https://developers.29next.com',
6969
baseUrl: '/',
7070
onBrokenLinks: 'throw',
71-
onBrokenMarkdownLinks: 'warn',
71+
onBrokenAnchors: 'ignore',
72+
// onBrokenMarkdownLinks: 'warn',
7273
favicon: 'img/logo-icon.png',
7374
trailingSlash: true,
7475
// GitHub pages deployment config.
@@ -83,7 +84,12 @@ const config = {
8384
defaultLocale: 'en',
8485
locales: ['en'],
8586
},
86-
87+
markdown: {
88+
mermaid: true,
89+
hooks: {
90+
onBrokenMarkdownLinks: 'warn',
91+
},
92+
},
8793
presets: [
8894
[
8995
'classic',

src/components/Homepage/GuidesExamples.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const guides: Guide[] = [
3333
title: 'Getting Started with Themes',
3434
icon: Layout,
3535
text: 'Learn how to build customized storefronts with Themes.',
36-
link: '/docs/themes/',
36+
link: '/docs/storefront/',
3737
},
3838
// {
3939
// title: 'Getting Start with Apps',

src/components/IntroCards/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const IntroCardsData = [
2121
icon: '🎯',
2222
title: 'Themes',
2323
description: 'Create unique brand experiences for customers with our theme framework.',
24-
href: '/docs/themes/',
24+
href: '/docs/storefront/',
2525
},
2626
{
2727
icon: '🧩',

0 commit comments

Comments
 (0)