Google Analytics
This commit is contained in:
@@ -5,8 +5,17 @@ import generateSidebar from '../../scripts/sidebar.js';
|
|||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
lang: 'zh-CN',
|
lang: 'zh-CN',
|
||||||
title: "我的世界中国版 ModSDK",
|
title: "我的世界中国版 ModSDK",
|
||||||
description: "我的世界中国版 ModSDK Wiki 镜像",
|
description: "ModSDK 开发者文档 镜像,但提供更优质的搜索",
|
||||||
ignoreDeadLinks: true,
|
ignoreDeadLinks: true,
|
||||||
|
head: [
|
||||||
|
['script', { async: '', src: 'https://www.googletagmanager.com/gtag/js?id=G-HPBDPVLP03' }],
|
||||||
|
['script', {}, `
|
||||||
|
window.dataLayer = window.dataLayer || [];
|
||||||
|
function gtag(){dataLayer.push(arguments);}
|
||||||
|
gtag('js', new Date());
|
||||||
|
gtag('config', 'G-HPBDPVLP03');
|
||||||
|
`]
|
||||||
|
],
|
||||||
themeConfig: {
|
themeConfig: {
|
||||||
// https://vitepress.dev/reference/default-theme-config
|
// https://vitepress.dev/reference/default-theme-config
|
||||||
nav: [
|
nav: [
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ layout: home
|
|||||||
hero:
|
hero:
|
||||||
name: "我的世界中国版 ModSDK"
|
name: "我的世界中国版 ModSDK"
|
||||||
text: ""
|
text: ""
|
||||||
tagline: "我的世界中国版 ModSDK 镜像"
|
tagline: "ModSDK 开发者文档 镜像,但提供更优质的搜索 🤩"
|
||||||
actions:
|
actions:
|
||||||
- theme: brand
|
- theme: brand
|
||||||
text: 开始
|
text: 开始
|
||||||
@@ -14,15 +14,15 @@ hero:
|
|||||||
features:
|
features:
|
||||||
- icon: 🛠️
|
- icon: 🛠️
|
||||||
title: API文档
|
title: API文档
|
||||||
details: 查询完整的 ModSDK API 文档
|
details: API是构建缤纷方块世界的基石,快来查查哪一个是你需要的。
|
||||||
link: /mcdocs/0-概述/0-概述
|
link: /mcdocs/0-概述/0-概述
|
||||||
- icon: 📙
|
- icon: 📙
|
||||||
title: 开发指南
|
title: 开发指南
|
||||||
details: 一个个实际功能出发的教程
|
details: 在开发指南中浏览每一个开发工具的使用说明,让它们更加得心应手。
|
||||||
link: /mcguide/readme
|
link: /mcguide/readme
|
||||||
- icon: 📝
|
- icon: 📝
|
||||||
title: 教学课程
|
title: 教学课程
|
||||||
details: 实战攻略!
|
details: 不断更新的系列课程,系统性地帮助您搭建开发知识体系。
|
||||||
link: /mconline/readme
|
link: /mconline/readme
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user