Skip to content

Commit

Permalink
Merge pull request #561 from d45/d45/GA4_update
Browse files Browse the repository at this point in the history
Adding new GA4 ID to test if it works for conceptual pages
  • Loading branch information
d45 authored Jul 15, 2024
2 parents 1708160 + e2cee2c commit 6aa3974
Show file tree
Hide file tree
Showing 4 changed files with 379 additions and 164 deletions.
1 change: 0 additions & 1 deletion website/docs/trex_api_about.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,4 +171,3 @@ classDiagram




33 changes: 11 additions & 22 deletions website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ const getConfig = async () => {
{
label: 'Community Extensions',
to: 'pathname:///community',
}
},
/* {
type: 'docSidebar',
position: 'left',
Expand Down Expand Up @@ -212,7 +212,8 @@ const getConfig = async () => {
[
'@docusaurus/plugin-google-gtag',
{
trackingID: 'UA-625217-51',
// trackingID: 'UA-625217-51',
trackingID: '376609887',
anonymizeIP: true,
},
],
Expand Down Expand Up @@ -244,27 +245,9 @@ const getConfig = async () => {
},
], */

// '@cmfcmf/docusaurus-search-local',
/* [
require.resolve("@easyops-cn/docusaurus-search-local"),
// /** @type {import("@easyops-cn/docusaurus-search-local").PluginOptions}
({
// ... Your options.
// `hashed` is recommended as long-term-cache of index file is possible.
hashed: true,
// For Docs using Chinese, The `language` is recommended to set to:
// ```
// language: ["en", "zh"],
// ```
}),
], */
],

markdown: {

mermaid: true,

},

themes: [

'@docusaurus/theme-mermaid',
Expand All @@ -285,7 +268,13 @@ const getConfig = async () => {
// ```
}),
],
]
],

markdown: {

mermaid: true,

},
};
}

Expand Down
14 changes: 7 additions & 7 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
},
"dependencies": {
"@babel/helper-explode-assignable-expression": "^7.18.6",
"@docusaurus/core": "^3.3.2",
"@docusaurus/plugin-google-tag-manager": "^3.3.2",
"@docusaurus/preset-classic": "^3.3.2",
"@docusaurus/theme-mermaid": "^3.3.2",
"@docusaurus/utils-validation": "^3.3.2",
"@docusaurus/core": "^3.4.0",
"@docusaurus/plugin-google-tag-manager": "^3.4.0",
"@docusaurus/preset-classic": "^3.4.0",
"@docusaurus/theme-mermaid": "^3.4.0",
"@docusaurus/utils-validation": "^3.4.0",
"@easyops-cn/docusaurus-search-local": "^0.40.1",
"@mdx-js/react": "^3.0.0",
"clsx": "^1.2.1",
Expand All @@ -36,8 +36,8 @@
"tslib": "^2.6.2"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "^3.3.2",
"@docusaurus/types": "^3.3.2",
"@docusaurus/module-type-aliases": "^3.4.0",
"@docusaurus/types": "^3.4.0",
"@tsconfig/docusaurus": "^1.0.5",
"prettier": "^2.8.4",
"ts-node": "^10.9.1",
Expand Down
Loading

0 comments on commit 6aa3974

Please sign in to comment.