1
1
import * as path from 'path' ;
2
- import { defineConfig } from 'rspress/config' ;
2
+ import { defineConfig } from 'rspress/config' ;
3
3
4
4
export default defineConfig ( {
5
5
root : path . join ( __dirname , 'docs' ) ,
@@ -9,7 +9,8 @@ export default defineConfig({
9
9
lang : 'en' ,
10
10
base : '/' ,
11
11
logo : {
12
- light : 'https://lf3-static.bytednsdoc.com/obj/eden-cn/lognuvj/rsdoctor/logo/rsdoctor-logo-light.png' ,
12
+ light :
13
+ 'https://lf3-static.bytednsdoc.com/obj/eden-cn/lognuvj/rsdoctor/logo/rsdoctor-logo-light.png' ,
13
14
dark : 'https://lf3-static.bytednsdoc.com/obj/eden-cn/lognuvj/rsdoctor/logo/rsdoctor-logo-dark.png' ,
14
15
} ,
15
16
head : [
@@ -28,7 +29,7 @@ export default defineConfig({
28
29
globalStyles : path . join ( __dirname , 'theme' , 'index.css' ) ,
29
30
themeConfig : {
30
31
footer : {
31
- message : " Copyright © 2023 Bytedance" ,
32
+ message : ' Copyright © 2023 Bytedance' ,
32
33
} ,
33
34
socialLinks : [
34
35
{
@@ -72,7 +73,7 @@ export default defineConfig({
72
73
} ,
73
74
tools : {
74
75
postcss ( config , { addPlugins } ) {
75
- addPlugins ( [ require ( " tailwindcss" ) ] ) ;
76
+ addPlugins ( [ require ( ' tailwindcss' ) ] ) ;
76
77
} ,
77
78
} ,
78
79
html : {
@@ -82,7 +83,7 @@ export default defineConfig({
82
83
tag : 'script' ,
83
84
attrs : {
84
85
async : true ,
85
- src : 'https://www.googletagmanager.com/gtag/js?id=G-L6BZ6TKW4R ' ,
86
+ src : 'https://www.googletagmanager.com/gtag/js?id=G-9DETE89N4Q ' ,
86
87
} ,
87
88
} ,
88
89
{
@@ -91,7 +92,7 @@ export default defineConfig({
91
92
window.dataLayer = window.dataLayer || [];
92
93
function gtag(){dataLayer.push(arguments);}
93
94
gtag('js', new Date());
94
- gtag('config', 'G-L6BZ6TKW4R ');` ,
95
+ gtag('config', 'G-9DETE89N4Q ');` ,
95
96
} ,
96
97
] ,
97
98
} ,
0 commit comments