Skip to content

Commit 6251d97

Browse files
authored
chore(google-tag-manager): switch to Docusaurus preset (#3281)
1 parent 0fb863f commit 6251d97

File tree

4 files changed

+15
-28
lines changed

4 files changed

+15
-28
lines changed

docusaurus.config.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ module.exports = {
2929
'@docusaurus/preset-classic',
3030
/** @type {import('@docusaurus/preset-classic').Options} */
3131
{
32-
// Will be passed to @docusaurus/plugin-content-docs (false to disable)
32+
// Will be passed to @docusaurus/plugin-content-docs (false to disable).
3333
docs: {
3434
routeBasePath: '/',
3535
sidebarPath: require.resolve('./sidebars.js'),
@@ -59,6 +59,10 @@ module.exports = {
5959
},
6060
},
6161
},
62+
// Will be passed to @docusaurus/plugin-google-tag-manager.
63+
googleTagManager: {
64+
containerId: 'GTM-TKMGCBC',
65+
},
6266
// Will be passed to @docusaurus/theme-classic.
6367
theme: {
6468
customCss: [
@@ -274,9 +278,6 @@ module.exports = {
274278
},
275279
],
276280
},
277-
tagManager: {
278-
trackingID: 'GTM-TKMGCBC',
279-
},
280281
prism: {
281282
theme: { plain: {}, styles: [] },
282283
// https://github.com/FormidableLabs/prism-react-renderer/blob/5a1c93592c6475fb230bfcb8a9666b72b331638b/packages/generate-prism-languages/index.ts#L9-L24
@@ -302,7 +303,6 @@ module.exports = {
302303
},
303304
},
304305
],
305-
'@ionic-internal/docusaurus-plugin-tag-manager',
306306
function (context, options) {
307307
return {
308308
name: 'ionic-docs-ads',

package-lock.json

Lines changed: 0 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646
"@docusaurus/mdx-loader": "^2.4.3",
4747
"@docusaurus/plugin-client-redirects": "^2.4.3",
4848
"@docusaurus/preset-classic": "^2.4.3",
49-
"@ionic-internal/docusaurus-plugin-tag-manager": "^2.0.0",
5049
"@ionic-internal/ionic-ds": "^7.0.0",
5150
"@mdx-js/react": "^1.6.22",
5251
"@prismicio/client": "^6.4.2",
@@ -72,8 +71,8 @@
7271
"@ionic/prettier-config": "^3.0.0",
7372
"@tsconfig/docusaurus": "^1.0.4",
7473
"@types/react": "^17.0.37",
75-
"deepl": "^1.0.13",
7674
"cspell": "^6.31.3",
75+
"deepl": "^1.0.13",
7776
"html-loader": "^3.1.0",
7877
"hygen": "^6.2.11",
7978
"prettier": "^2.8.8",

src/components/page/reference/ReleaseNotes/release-notes.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
11
[
2+
{
3+
"body": "<h3>Bug Fixes</h3>\n<ul>\n<li><strong>alert:</strong> date inputs render correctly in mobile safari (<a href=\"https://github.com/ionic-team/ionic-framework/issues/28495\">#28495</a>) (<a href=\"https://github.com/ionic-team/ionic-framework/commit/b833f0e826ddd261230e2e29b70e2dc884d8cb04\">b833f0e</a>), closes <a href=\"https://github.com/ionic-team/ionic-framework/issues/28494\">#28494</a></li>\n<li><strong>datetime:</strong> allow disabling datetime with prefer-wheel (<a href=\"https://github.com/ionic-team/ionic-framework/issues/28511\">#28511</a>) (<a href=\"https://github.com/ionic-team/ionic-framework/commit/01130e12e1d73bbf558da9d4dffd7122822ff39c\">01130e1</a>)</li>\n</ul>\n",
4+
"name": "v7.5.7",
5+
"published_at": "November 29 2023",
6+
"tag_name": "v7.5.7",
7+
"type": "patch",
8+
"version": "7.5.7"
9+
},
210
{
311
"body": "<h3>Bug Fixes</h3>\n<ul>\n<li><strong>alert:</strong> match MD spec on tablet (<a href=\"https://github.com/ionic-team/ionic-framework/issues/28501\">#28501</a>) (<a href=\"https://github.com/ionic-team/ionic-framework/commit/6a2be9fa3c12a893d98dc139a1575a6e7e3c7c26\">6a2be9f</a>), closes <a href=\"https://github.com/ionic-team/ionic-framework/issues/23977\">#23977</a></li>\n<li><strong>angular:</strong> ng add @ionic/angular in standalone projects (<a href=\"https://github.com/ionic-team/ionic-framework/issues/28523\">#28523</a>) (<a href=\"https://github.com/ionic-team/ionic-framework/commit/c07312e5ed931f6f825ccf083c9dead9fa815843\">c07312e</a>), closes <a href=\"https://github.com/ionic-team/ionic-framework/issues/28514\">#28514</a></li>\n<li><strong>angular:</strong> overlays are defined when using standalone controllers (<a href=\"https://github.com/ionic-team/ionic-framework/issues/28560\">#28560</a>) (<a href=\"https://github.com/ionic-team/ionic-framework/commit/9453132aa8952b4adfa1326e61138b329e254f76\">9453132</a>), closes <a href=\"https://github.com/ionic-team/ionic-framework/issues/28385\">#28385</a></li>\n<li><strong>datetime:</strong> updating value with min scrolls to new value (<a href=\"https://github.com/ionic-team/ionic-framework/issues/28549\">#28549</a>) (<a href=\"https://github.com/ionic-team/ionic-framework/commit/388d19e04f83f85abd4602adb04cc71ac575764a\">388d19e</a>), closes <a href=\"https://github.com/ionic-team/ionic-framework/issues/28548\">#28548</a></li>\n</ul>\n",
412
"name": "v7.5.6",
@@ -10,7 +18,7 @@
1018
{
1119
"body": "<h3>Bug Fixes</h3>\n<ul>\n<li><strong>accordion-group:</strong> correct accordion is open on load (<a href=\"https://github.com/ionic-team/ionic-framework/issues/28510\">#28510</a>) (<a href=\"https://github.com/ionic-team/ionic-framework/commit/a000dd2c0b65be8ab5b2ad19f2748fbca13d5085\">a000dd2</a>), closes <a href=\"https://github.com/ionic-team/ionic-framework/issues/28506\">#28506</a></li>\n<li><strong>action-sheet:</strong> adjust height for safe area with scrollable options (<a href=\"https://github.com/ionic-team/ionic-framework/issues/28504\">#28504</a>) (<a href=\"https://github.com/ionic-team/ionic-framework/commit/900267eb36c36f2af63435f6b46acca52b3bdab7\">900267e</a>), closes <a href=\"https://github.com/ionic-team/ionic-framework/issues/27777\">#27777</a></li>\n<li><strong>header:</strong> collapsible large title does not flicker when collapse prop not reflected (<a href=\"https://github.com/ionic-team/ionic-framework/issues/28472\">#28472</a>) (<a href=\"https://github.com/ionic-team/ionic-framework/commit/8227b0ee6d5250e122a34a83c644f8a74fbbafd5\">8227b0e</a>), closes <a href=\"https://github.com/ionic-team/ionic-framework/issues/28466\">#28466</a></li>\n<li><strong>item-divider:</strong> apply safe area to proper side regardless of direction (<a href=\"https://github.com/ionic-team/ionic-framework/issues/28420\">#28420</a>) (<a href=\"https://github.com/ionic-team/ionic-framework/commit/4513e0c6b066d4990800c707e1d97f69c8fcfb0c\">4513e0c</a>)</li>\n<li><strong>radio-group:</strong> emit value change on componentDidLoad (<a href=\"https://github.com/ionic-team/ionic-framework/issues/28488\">#28488</a>) (<a href=\"https://github.com/ionic-team/ionic-framework/commit/73b8bfde3f060490958c10f58d0f68de80cb957f\">73b8bfd</a>), closes <a href=\"https://github.com/ionic-team/ionic-framework/issues/28356\">#28356</a></li>\n<li><strong>searchbar:</strong> cancel icon aligns with back button (<a href=\"https://github.com/ionic-team/ionic-framework/issues/28478\">#28478</a>) (<a href=\"https://github.com/ionic-team/ionic-framework/commit/c053fd9c68d9b1add1335db80be962215946a0b1\">c053fd9</a>), closes <a href=\"https://github.com/ionic-team/ionic-framework/issues/28468\">#28468</a></li>\n</ul>\n<blockquote>\n<p>[!NOTE]\nIonic Vue developers utilizing the <code>v-ion-change</code> or <code>v-ion-input</code> workaround for <a href=\"https://github.com/ionic-team/ionic-framework/issues/27292\">https://github.com/ionic-team/ionic-framework/issues/27292</a> should remove this workaround when updating to Ionic v7.5.5.</p>\n</blockquote>\n",
1220
"name": "v7.5.5",
13-
"published_at": "November 16 2023",
21+
"published_at": "November 15 2023",
1422
"tag_name": "v7.5.5",
1523
"type": "patch",
1624
"version": "7.5.5"
@@ -30,13 +38,5 @@
3038
"tag_name": "v7.5.3",
3139
"type": "patch",
3240
"version": "7.5.3"
33-
},
34-
{
35-
"body": "<h3>Bug Fixes</h3>\n<ul>\n<li><strong>alert, action-sheet:</strong> show scrollbar for long list of options (<a href=\"https://github.com/ionic-team/ionic-framework/issues/28369\">#28369</a>) (<a href=\"https://github.com/ionic-team/ionic-framework/commit/60f3d6579498ebad75c4f5163fca3947ac2dadff\">60f3d65</a>), closes <a href=\"https://github.com/ionic-team/ionic-framework/issues/18487\">#18487</a></li>\n<li><strong>angular:</strong> remove form control side effects (<a href=\"https://github.com/ionic-team/ionic-framework/issues/28359\">#28359</a>) (<a href=\"https://github.com/ionic-team/ionic-framework/commit/82d6309ef1675c0a6e767e87c23f166d84579d8f\">82d6309</a>), closes <a href=\"https://github.com/ionic-team/ionic-framework/issues/28358\">#28358</a></li>\n<li><strong>fab:</strong> apply safe area in positioning to proper side regardless of direction (<a href=\"https://github.com/ionic-team/ionic-framework/issues/28377\">#28377</a>) (<a href=\"https://github.com/ionic-team/ionic-framework/commit/331c08aad542de158e53ed351705d4c396bb4e90\">331c08a</a>)</li>\n<li><strong>input, searchbar, textarea:</strong> ensure nativeInput is always available (<a href=\"https://github.com/ionic-team/ionic-framework/issues/28362\">#28362</a>) (<a href=\"https://github.com/ionic-team/ionic-framework/commit/2b015b22144e306444f2bf30ace0b5cc7e32a710\">2b015b2</a>), closes <a href=\"https://github.com/ionic-team/ionic-framework/issues/28283\">#28283</a></li>\n<li><strong>menu:</strong> menu no longer disappears with multiple split panes (<a href=\"https://github.com/ionic-team/ionic-framework/issues/28370\">#28370</a>) (<a href=\"https://github.com/ionic-team/ionic-framework/commit/5a30082546cb19eb98128ca9091b35094841d4f2\">5a30082</a>), closes <a href=\"https://github.com/ionic-team/ionic-framework/issues/18683\">#18683</a> <a href=\"https://github.com/ionic-team/ionic-framework/issues/15538\">#15538</a> <a href=\"https://github.com/ionic-team/ionic-framework/issues/22341\">#22341</a></li>\n<li><strong>rtl:</strong> allow :host to use rtl() (<a href=\"https://github.com/ionic-team/ionic-framework/issues/28353\">#28353</a>) (<a href=\"https://github.com/ionic-team/ionic-framework/commit/6b7d288536307fcb49231dca66ab938b389ea85e\">6b7d288</a>)</li>\n</ul>\n",
36-
"name": "v7.5.2",
37-
"published_at": "October 25 2023",
38-
"tag_name": "v7.5.2",
39-
"type": "patch",
40-
"version": "7.5.2"
4141
}
4242
]

0 commit comments

Comments
 (0)