项目:Docusaurus Update
This commit is contained in:
parent
04d71dff25
commit
94b0a01b2a
@ -46,6 +46,10 @@ const config = {
|
|||||||
blogSidebarTitle: "文章",
|
blogSidebarTitle: "文章",
|
||||||
showReadingTime: true,
|
showReadingTime: true,
|
||||||
editUrl: "https://git.7wate.com/zhouzhongping/wiki/src/branch/master",
|
editUrl: "https://git.7wate.com/zhouzhongping/wiki/src/branch/master",
|
||||||
|
feedOptions: {
|
||||||
|
type: 'all',
|
||||||
|
copyright: `Copyright © ${new Date().getFullYear()} 7Wate, Inc.`,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
theme: {
|
theme: {
|
||||||
customCss: require.resolve("./src/css/custom.css"),
|
customCss: require.resolve("./src/css/custom.css"),
|
||||||
@ -53,6 +57,15 @@ const config = {
|
|||||||
sitemap: {
|
sitemap: {
|
||||||
changefreq: "weekly",
|
changefreq: "weekly",
|
||||||
priority: 0.5,
|
priority: 0.5,
|
||||||
|
filename: 'sitemap.xml',
|
||||||
|
},
|
||||||
|
googleAnalytics: {
|
||||||
|
trackingID: "G-MHMEL0F832",
|
||||||
|
anonymizeIP: true,
|
||||||
|
},
|
||||||
|
gtag: {
|
||||||
|
trackingID: 'G-MHMEL0F832',
|
||||||
|
anonymizeIP: true,
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
@ -174,13 +187,7 @@ const config = {
|
|||||||
showLastUpdateTime: true,
|
showLastUpdateTime: true,
|
||||||
breadcrumbs: false,
|
breadcrumbs: false,
|
||||||
},
|
},
|
||||||
],
|
]
|
||||||
[
|
|
||||||
"@docusaurus/plugin-google-analytics",
|
|
||||||
{
|
|
||||||
trackingID: "G-MHMEL0F832",
|
|
||||||
},
|
|
||||||
],
|
|
||||||
],
|
],
|
||||||
// themes: [
|
// themes: [
|
||||||
// [
|
// [
|
||||||
|
16355
package-lock.json
generated
16355
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -14,8 +14,8 @@
|
|||||||
"write-heading-ids": "docusaurus write-heading-ids"
|
"write-heading-ids": "docusaurus write-heading-ids"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@docusaurus/core": "2.0.0-beta.19",
|
"@docusaurus/core": "2.0.0-rc.1",
|
||||||
"@docusaurus/preset-classic": "2.0.0-beta.19",
|
"@docusaurus/preset-classic": "2.0.0-rc.1",
|
||||||
"@easyops-cn/docusaurus-search-local": "^0.23.2",
|
"@easyops-cn/docusaurus-search-local": "^0.23.2",
|
||||||
"@mdx-js/react": "^1.6.22",
|
"@mdx-js/react": "^1.6.22",
|
||||||
"clsx": "^1.1.1",
|
"clsx": "^1.1.1",
|
||||||
|
Loading…
Reference in New Issue
Block a user