Skip to content

Commit 6f45285

Browse files
committed
fix: fix broken api links
1 parent 3b62b75 commit 6f45285

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

docusaurus.config.js

+2-6
Original file line numberDiff line numberDiff line change
@@ -99,11 +99,7 @@ const config = {
9999
items: [
100100
{
101101
label: 'Documents',
102-
to: '/docs/intro',
103-
},
104-
{
105-
label: 'API',
106-
to: '/api'
102+
to: '/docs/stable/intro',
107103
}
108104
],
109105
},
@@ -129,7 +125,7 @@ const config = {
129125
items: [
130126
{
131127
label: 'API',
132-
to: '/api',
128+
to: '/docs/api/intro',
133129
},
134130
{
135131
label: 'GitHub',

src/pages/index.js

+1-1
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/intro">
22+
to="/docs/stable/intro">
2323
Docusaurus Tutorial - 5min ⏱️
2424
</Link>
2525
</div>

0 commit comments

Comments
 (0)