Skip to content

Commit 6aa3974

Browse files
authored
Merge pull request #561 from d45/d45/GA4_update
Adding new GA4 ID to test if it works for conceptual pages
2 parents 1708160 + e2cee2c commit 6aa3974

File tree

4 files changed

+379
-164
lines changed

4 files changed

+379
-164
lines changed

website/docs/trex_api_about.md

-1
Original file line numberDiff line numberDiff line change
@@ -171,4 +171,3 @@ classDiagram
171171

172172

173173

174-

website/docusaurus.config.js

+11-22
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ const getConfig = async () => {
104104
{
105105
label: 'Community Extensions',
106106
to: 'pathname:///community',
107-
}
107+
},
108108
/* {
109109
type: 'docSidebar',
110110
position: 'left',
@@ -212,7 +212,8 @@ const getConfig = async () => {
212212
[
213213
'@docusaurus/plugin-google-gtag',
214214
{
215-
trackingID: 'UA-625217-51',
215+
// trackingID: 'UA-625217-51',
216+
trackingID: '376609887',
216217
anonymizeIP: true,
217218
},
218219
],
@@ -244,27 +245,9 @@ const getConfig = async () => {
244245
},
245246
], */
246247

247-
// '@cmfcmf/docusaurus-search-local',
248-
/* [
249-
require.resolve("@easyops-cn/docusaurus-search-local"),
250-
// /** @type {import("@easyops-cn/docusaurus-search-local").PluginOptions}
251-
({
252-
// ... Your options.
253-
// `hashed` is recommended as long-term-cache of index file is possible.
254-
hashed: true,
255-
// For Docs using Chinese, The `language` is recommended to set to:
256-
// ```
257-
// language: ["en", "zh"],
258-
// ```
259-
}),
260-
], */
261248
],
262249

263-
markdown: {
264-
265-
mermaid: true,
266-
267-
},
250+
268251
themes: [
269252

270253
'@docusaurus/theme-mermaid',
@@ -285,7 +268,13 @@ const getConfig = async () => {
285268
// ```
286269
}),
287270
],
288-
]
271+
],
272+
273+
markdown: {
274+
275+
mermaid: true,
276+
277+
},
289278
};
290279
}
291280

website/package.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@
1919
},
2020
"dependencies": {
2121
"@babel/helper-explode-assignable-expression": "^7.18.6",
22-
"@docusaurus/core": "^3.3.2",
23-
"@docusaurus/plugin-google-tag-manager": "^3.3.2",
24-
"@docusaurus/preset-classic": "^3.3.2",
25-
"@docusaurus/theme-mermaid": "^3.3.2",
26-
"@docusaurus/utils-validation": "^3.3.2",
22+
"@docusaurus/core": "^3.4.0",
23+
"@docusaurus/plugin-google-tag-manager": "^3.4.0",
24+
"@docusaurus/preset-classic": "^3.4.0",
25+
"@docusaurus/theme-mermaid": "^3.4.0",
26+
"@docusaurus/utils-validation": "^3.4.0",
2727
"@easyops-cn/docusaurus-search-local": "^0.40.1",
2828
"@mdx-js/react": "^3.0.0",
2929
"clsx": "^1.2.1",
@@ -36,8 +36,8 @@
3636
"tslib": "^2.6.2"
3737
},
3838
"devDependencies": {
39-
"@docusaurus/module-type-aliases": "^3.3.2",
40-
"@docusaurus/types": "^3.3.2",
39+
"@docusaurus/module-type-aliases": "^3.4.0",
40+
"@docusaurus/types": "^3.4.0",
4141
"@tsconfig/docusaurus": "^1.0.5",
4242
"prettier": "^2.8.4",
4343
"ts-node": "^10.9.1",

0 commit comments

Comments
 (0)