mirror of
https://github.com/LukeHagar/developer.sailpoint.com.git
synced 2025-12-10 12:27:47 +00:00
added google tag manager plugin and gtag code
This commit is contained in:
1
package-lock.json
generated
1
package-lock.json
generated
@@ -9,6 +9,7 @@
|
|||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@docusaurus/core": "2.0.1",
|
"@docusaurus/core": "2.0.1",
|
||||||
|
"@docusaurus/plugin-google-gtag": "^2.0.1",
|
||||||
"@docusaurus/preset-classic": "2.0.1",
|
"@docusaurus/preset-classic": "2.0.1",
|
||||||
"@mdx-js/react": "^1.6.22",
|
"@mdx-js/react": "^1.6.22",
|
||||||
"clsx": "^1.1.1",
|
"clsx": "^1.1.1",
|
||||||
|
|||||||
@@ -19,6 +19,7 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@docusaurus/core": "2.0.1",
|
"@docusaurus/core": "2.0.1",
|
||||||
|
"@docusaurus/plugin-google-gtag": "^2.0.1",
|
||||||
"@docusaurus/preset-classic": "2.0.1",
|
"@docusaurus/preset-classic": "2.0.1",
|
||||||
"@mdx-js/react": "^1.6.22",
|
"@mdx-js/react": "^1.6.22",
|
||||||
"clsx": "^1.1.1",
|
"clsx": "^1.1.1",
|
||||||
|
|||||||
40
plugins.js
40
plugins.js
@@ -5,11 +5,12 @@ module.exports = [
|
|||||||
id: "idn",
|
id: "idn",
|
||||||
path: "products/idn",
|
path: "products/idn",
|
||||||
routeBasePath: "idn",
|
routeBasePath: "idn",
|
||||||
editUrl: "https://github.com/sailpoint-oss/developer-community-site/edit/main/",
|
editUrl:
|
||||||
|
"https://github.com/sailpoint-oss/developer-community-site/edit/main/",
|
||||||
showLastUpdateAuthor: true,
|
showLastUpdateAuthor: true,
|
||||||
showLastUpdateTime: true,
|
showLastUpdateTime: true,
|
||||||
sidebarPath: require.resolve("./products/idn/sidebar.js"),
|
sidebarPath: require.resolve("./products/idn/sidebar.js"),
|
||||||
docItemComponent: "@theme/ApiItem"
|
docItemComponent: "@theme/ApiItem",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
@@ -18,14 +19,21 @@ module.exports = [
|
|||||||
id: "iiq",
|
id: "iiq",
|
||||||
path: "products/iiq",
|
path: "products/iiq",
|
||||||
routeBasePath: "iiq",
|
routeBasePath: "iiq",
|
||||||
editUrl: "https://github.com/sailpoint-oss/developer-community-site/edit/main/",
|
editUrl:
|
||||||
|
"https://github.com/sailpoint-oss/developer-community-site/edit/main/",
|
||||||
showLastUpdateAuthor: true,
|
showLastUpdateAuthor: true,
|
||||||
showLastUpdateTime: true,
|
showLastUpdateTime: true,
|
||||||
sidebarPath: require.resolve("./products/iiq/sidebar.js"),
|
sidebarPath: require.resolve("./products/iiq/sidebar.js"),
|
||||||
docItemComponent: "@theme/ApiItem"
|
docItemComponent: "@theme/ApiItem",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"@docusaurus/plugin-google-gtag",
|
||||||
|
{
|
||||||
|
trackingID: "GTM-TSD78J",
|
||||||
|
anonymizeIP: false,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
||||||
[
|
[
|
||||||
"docusaurus-plugin-openapi-docs",
|
"docusaurus-plugin-openapi-docs",
|
||||||
{
|
{
|
||||||
@@ -37,18 +45,18 @@ module.exports = [
|
|||||||
outputDir: "products/idn/api/v3",
|
outputDir: "products/idn/api/v3",
|
||||||
sidebarOptions: {
|
sidebarOptions: {
|
||||||
groupPathsBy: "tag",
|
groupPathsBy: "tag",
|
||||||
categoryLinkSource: "tag"
|
categoryLinkSource: "tag",
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
idn_beta: {
|
idn_beta: {
|
||||||
specPath: "static/idn-api/sailpoint-api.beta.yaml",
|
specPath: "static/idn-api/sailpoint-api.beta.yaml",
|
||||||
outputDir: "products/idn/api/beta",
|
outputDir: "products/idn/api/beta",
|
||||||
sidebarOptions: {
|
sidebarOptions: {
|
||||||
groupPathsBy: "tag",
|
groupPathsBy: "tag",
|
||||||
categoryLinkSource: "tag"
|
categoryLinkSource: "tag",
|
||||||
}
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
}
|
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
@@ -62,10 +70,10 @@ module.exports = [
|
|||||||
outputDir: "products/iiq/api",
|
outputDir: "products/iiq/api",
|
||||||
sidebarOptions: {
|
sidebarOptions: {
|
||||||
groupPathsBy: "tag",
|
groupPathsBy: "tag",
|
||||||
categoryLinkSource: "tag"
|
categoryLinkSource: "tag",
|
||||||
}
|
|
||||||
},
|
},
|
||||||
}
|
},
|
||||||
}
|
},
|
||||||
]
|
},
|
||||||
]
|
],
|
||||||
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user