升级风格
This commit is contained in:
@@ -39,19 +39,13 @@ const config = {
|
|||||||
({
|
({
|
||||||
docs: {
|
docs: {
|
||||||
sidebarPath: require.resolve('./sidebars.js'),
|
sidebarPath: require.resolve('./sidebars.js'),
|
||||||
// Please change this to your repo.
|
editUrl: 'https://github.com/teasiu/doc/edit/main/',
|
||||||
// Remove this to remove the "edit this page" links.
|
|
||||||
editUrl: ({ docPath }) => {
|
|
||||||
return `https://holocron.so/github/pr/teasiu/doc/main/editor/docs/${docPath}`
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
blog: {
|
blog: {
|
||||||
showReadingTime: true,
|
showReadingTime: true,
|
||||||
onUntruncatedBlogPosts: 'ignore',
|
onUntruncatedBlogPosts: 'ignore',
|
||||||
// Please change this to your repo.
|
editUrl: 'https://github.com/teasiu/doc/edit/main/',
|
||||||
// Remove this to remove the "edit this page" links.
|
|
||||||
editUrl: ({ docPath }) => {
|
|
||||||
return `https://holocron.so/github/pr/teasiu/doc/main/editor/blog/${docPath}`
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
theme: {
|
theme: {
|
||||||
|
|||||||
Reference in New Issue
Block a user