项目:更新 2.2.0 版本
This commit is contained in:
parent
7430d5c408
commit
c99bab3f66
@ -13,9 +13,6 @@ const config = {
|
|||||||
onBrokenLinks: "log",
|
onBrokenLinks: "log",
|
||||||
onBrokenMarkdownLinks: "log",
|
onBrokenMarkdownLinks: "log",
|
||||||
favicon: "img/favicon.ico",
|
favicon: "img/favicon.ico",
|
||||||
headTags: [
|
|
||||||
{ src: 'js/umami.js', type: 'text/javascript' }
|
|
||||||
],
|
|
||||||
|
|
||||||
// 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.
|
||||||
@ -314,6 +311,8 @@ const config = {
|
|||||||
breadcrumbs: false,
|
breadcrumbs: false,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
||||||
|
"docusaurus-plugin-umami",
|
||||||
],
|
],
|
||||||
themeConfig:
|
themeConfig:
|
||||||
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
|
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
|
||||||
@ -437,6 +436,10 @@ const config = {
|
|||||||
appId: "8W3YJXJGF2",
|
appId: "8W3YJXJGF2",
|
||||||
indexName: "wiki",
|
indexName: "wiki",
|
||||||
},
|
},
|
||||||
|
umami: {
|
||||||
|
websiteid: "7efcd733-c232-43db-9f17-10a00c53b152",
|
||||||
|
src: "https://umami.7wate.org/umami.js",
|
||||||
|
},
|
||||||
footer: {
|
footer: {
|
||||||
style: "dark",
|
style: "dark",
|
||||||
copyright: `Copyright © ${new Date().getFullYear()} 7Wate, Inc. Built with <a href="https://www.docusaurus.cn/" target="_blank" rel="noopener noreferrer">Docusaurus</a>.<br>Powered by <a href="https://webify.cloudbase.net/" target="_blank" rel="noopener noreferrer">CloudBase Webify</a>`,
|
copyright: `Copyright © ${new Date().getFullYear()} 7Wate, Inc. Built with <a href="https://www.docusaurus.cn/" target="_blank" rel="noopener noreferrer">Docusaurus</a>.<br>Powered by <a href="https://webify.cloudbase.net/" target="_blank" rel="noopener noreferrer">CloudBase Webify</a>`,
|
||||||
|
3088
package-lock.json
generated
3088
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -14,16 +14,17 @@
|
|||||||
"write-heading-ids": "docusaurus write-heading-ids"
|
"write-heading-ids": "docusaurus write-heading-ids"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@docusaurus/core": "^2.1.0",
|
"@docusaurus/core": "^2.2.0",
|
||||||
"@docusaurus/preset-classic": "^2.1.0",
|
"@docusaurus/preset-classic": "^2.2.0",
|
||||||
"@mdx-js/react": "^1.6.22",
|
"@mdx-js/react": "^1.6.22",
|
||||||
"clsx": "^1.2.1",
|
"clsx": "^1.2.1",
|
||||||
|
"docusaurus-plugin-umami": "^2.0.0",
|
||||||
"prism-react-renderer": "^1.3.5",
|
"prism-react-renderer": "^1.3.5",
|
||||||
"react": "^17.0.2",
|
"react": "^17.0.2",
|
||||||
"react-dom": "^17.0.2"
|
"react-dom": "^17.0.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@docusaurus/module-type-aliases": "^2.1.0"
|
"@docusaurus/module-type-aliases": "^2.2.0"
|
||||||
},
|
},
|
||||||
"browserslist": {
|
"browserslist": {
|
||||||
"production": [
|
"production": [
|
||||||
|
@ -1 +0,0 @@
|
|||||||
<script async defer data-website-id="7efcd733-c232-43db-9f17-10a00c53b152" src="https://umami.7wate.org/umami.js"></script>
|
|
Loading…
Reference in New Issue
Block a user