Update docusaurus.config.js (#3)
This commit is contained in:
@@ -36,15 +36,17 @@ const config = {
|
|||||||
sidebarPath: require.resolve('./sidebars.js'),
|
sidebarPath: require.resolve('./sidebars.js'),
|
||||||
// Please change this to your repo.
|
// Please change this to your repo.
|
||||||
// Remove this to remove the "edit this page" links.
|
// Remove this to remove the "edit this page" links.
|
||||||
editUrl:
|
editUrl: ({ docPath }) => {
|
||||||
'https://github.com/teasiu/doc/blob/main/',
|
return `https://holocron.so/github/pr/teasiu/doc/main/editor/docs/${docPath}`
|
||||||
|
},
|
||||||
},
|
},
|
||||||
blog: {
|
blog: {
|
||||||
showReadingTime: true,
|
showReadingTime: true,
|
||||||
// Please change this to your repo.
|
// Please change this to your repo.
|
||||||
// Remove this to remove the "edit this page" links.
|
// Remove this to remove the "edit this page" links.
|
||||||
editUrl:
|
editUrl: ({ docPath }) => {
|
||||||
'https://github.com/teasiu/doc/blob/main/',
|
return `https://holocron.so/github/pr/teasiu/doc/main/editor/blog/${docPath}`
|
||||||
|
},
|
||||||
},
|
},
|
||||||
theme: {
|
theme: {
|
||||||
customCss: require.resolve('./src/css/custom.css'),
|
customCss: require.resolve('./src/css/custom.css'),
|
||||||
@@ -138,4 +140,4 @@ const config = {
|
|||||||
}),
|
}),
|
||||||
};
|
};
|
||||||
|
|
||||||
module.exports = config;
|
module.exports = config;
|
||||||
Reference in New Issue
Block a user