From e4cb7577eefe35205d9b79c74e843dc38f0d195b Mon Sep 17 00:00:00 2001 From: Feihong Hsu Date: Thu, 18 Jan 2024 12:44:35 -0600 Subject: [PATCH] Fix editLink pattern --- docs/.vitepress/config.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/.vitepress/config.js b/docs/.vitepress/config.js index d54da022..d02b670b 100644 --- a/docs/.vitepress/config.js +++ b/docs/.vitepress/config.js @@ -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: '/' }, @@ -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/' }, ] } ],