升级新版本修正
This commit is contained in:
@@ -12,9 +12,13 @@ const config = {
|
|||||||
url: 'https://doc.ecoo.top',
|
url: 'https://doc.ecoo.top',
|
||||||
baseUrl: '/',
|
baseUrl: '/',
|
||||||
onBrokenLinks: 'throw',
|
onBrokenLinks: 'throw',
|
||||||
onBrokenMarkdownLinks: 'warn',
|
// onBrokenMarkdownLinks: 'warn',
|
||||||
favicon: 'img/favicon.ico',
|
favicon: 'img/favicon.ico',
|
||||||
|
markdown: {
|
||||||
|
hooks: {
|
||||||
|
onBrokenMarkdownLinks: 'warn',
|
||||||
|
},
|
||||||
|
},
|
||||||
// GitHub pages deployment config.
|
// GitHub pages deployment config.
|
||||||
// If you aren't using GitHub pages, you don't need these.
|
// If you aren't using GitHub pages, you don't need these.
|
||||||
organizationName: 'teasiu', // Usually your GitHub org/user name.
|
organizationName: 'teasiu', // Usually your GitHub org/user name.
|
||||||
@@ -43,6 +47,7 @@ const config = {
|
|||||||
},
|
},
|
||||||
blog: {
|
blog: {
|
||||||
showReadingTime: true,
|
showReadingTime: true,
|
||||||
|
onUntruncatedBlogPosts: 'ignore',
|
||||||
// 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: ({ docPath }) => {
|
editUrl: ({ docPath }) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user