Skip to content

Commit

Permalink
Fix editLink pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
feihong committed Jan 18, 2024
1 parent eddd9c4 commit e4cb757
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/.vitepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,13 @@ export default defineConfig({
title: "Melange for React Devs",
description: "A project-based, guided introduction to Melange and its ecosystem for React developers",
base: '/',
lastUpdated: true,
themeConfig: {
search: {
provider: 'local'
},
editLink: {
pattern: 'https://github.com/melange-re/melange-for-react-devs/edit/develop/docs/:path'
pattern: 'https://github.com/melange-re/melange-for-react-devs/edit/main/docs/:path'
},
nav: [
{ text: 'Home', link: '/' },
Expand All @@ -35,7 +36,7 @@ export default defineConfig({
{ text: 'Introduction to Dune', link: '/intro-to-dune/' },
{ text: 'Order Confirmation', link: '/order-confirmation/' },
{ text: 'Styling with CSS', link: '/styling-with-css/' },
{ text: 'Better Sandwiches', link: '/better-sandwiches/'},
{ text: 'Better Sandwiches', link: '/better-sandwiches/' },
]
}
],
Expand Down

0 comments on commit e4cb757

Please sign in to comment.