Skip to content

Commit

Permalink
feat: link to next version documentation (#11)
Browse files Browse the repository at this point in the history
Signed-off-by: Gaius <[email protected]>
  • Loading branch information
gaius-qi authored Sep 18, 2023
1 parent 1e38c97 commit c376d4e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ const config = {
},
items: [
{
to: 'docs/',
to: 'docs/next/',
label: 'Documentation',
position: 'left',
},
Expand Down Expand Up @@ -132,23 +132,23 @@ const config = {
items: [
{
label: 'Getting Started',
to: '/docs/',
to: '/docs/next/',
},
{
label: 'Setup',
to: '/docs/setup/install/helm-charts',
to: '/docs/next/setup/install/helm-charts',
},
{
label: 'Reference',
to: '/docs/reference/cli/dfdaemon',
to: '/docs/next/reference/cli/dfdaemon',
},
{
label: 'Contribute',
to: '/docs/contribute/development-guide/development',
to: '/docs/next/contribute/development-guide/development',
},
{
label: 'Others',
to: '/docs/others/faqs',
to: '/docs/next/others/faqs',
},
],
},
Expand Down
4 changes: 2 additions & 2 deletions src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ export default function Home() {
</div>
</div>
<div className={styles.buttonWrapper}>
<Button href={useBaseUrl('docs/#features')}>
<Button href={useBaseUrl('docs/next/#features')}>
<img
className={styles.viewFeaturesIcon}
src={useBaseUrl('img/icon/view-feature.svg')}
Expand Down Expand Up @@ -430,7 +430,7 @@ export default function Home() {
</h1>
</div>
<div className={styles.buttonWrapper}>
<Button href={useBaseUrl('docs/#evolution')}>
<Button href={useBaseUrl('docs/next/#evolution')}>
🚀 <Translate> Learn More</Translate>
</Button>
</div>
Expand Down

0 comments on commit c376d4e

Please sign in to comment.