1
0

项目:Docusaurus Update

This commit is contained in:
周中平 2022-07-26 15:42:47 +08:00
parent 04d71dff25
commit 94b0a01b2a
No known key found for this signature in database
GPG Key ID: B1DF9DD42D8E00DC
3 changed files with 14880 additions and 1500 deletions

View File

@ -46,6 +46,10 @@ const config = {
blogSidebarTitle: "文章",
showReadingTime: true,
editUrl: "https://git.7wate.com/zhouzhongping/wiki/src/branch/master",
feedOptions: {
type: 'all',
copyright: `Copyright © ${new Date().getFullYear()} 7Wate, Inc.`,
},
},
theme: {
customCss: require.resolve("./src/css/custom.css"),
@ -53,6 +57,15 @@ const config = {
sitemap: {
changefreq: "weekly",
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,
breadcrumbs: false,
},
],
[
"@docusaurus/plugin-google-analytics",
{
trackingID: "G-MHMEL0F832",
},
],
]
],
// themes: [
// [

16355
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -14,8 +14,8 @@
"write-heading-ids": "docusaurus write-heading-ids"
},
"dependencies": {
"@docusaurus/core": "2.0.0-beta.19",
"@docusaurus/preset-classic": "2.0.0-beta.19",
"@docusaurus/core": "2.0.0-rc.1",
"@docusaurus/preset-classic": "2.0.0-rc.1",
"@easyops-cn/docusaurus-search-local": "^0.23.2",
"@mdx-js/react": "^1.6.22",
"clsx": "^1.1.1",