From f9a9f3cc63b6a5aff36ebc3f79f2b6af57f211a8 Mon Sep 17 00:00:00 2001 From: "Tommy D. Rossi" Date: Tue, 28 Nov 2023 18:21:00 +0100 Subject: [PATCH] Update `docusaurus.config.js` (#3) --- docusaurus.config.js | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index 5f76381..6402786 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -36,15 +36,17 @@ const config = { sidebarPath: require.resolve('./sidebars.js'), // Please change this to your repo. // Remove this to remove the "edit this page" links. - editUrl: - 'https://github.com/teasiu/doc/blob/main/', + editUrl: ({ docPath }) => { + return `https://holocron.so/github/pr/teasiu/doc/main/editor/docs/${docPath}` + }, }, blog: { showReadingTime: true, // Please change this to your repo. // Remove this to remove the "edit this page" links. - editUrl: - 'https://github.com/teasiu/doc/blob/main/', + editUrl: ({ docPath }) => { + return `https://holocron.so/github/pr/teasiu/doc/main/editor/blog/${docPath}` + }, }, theme: { customCss: require.resolve('./src/css/custom.css'), @@ -138,4 +140,4 @@ const config = { }), }; -module.exports = config; +module.exports = config; \ No newline at end of file