Skip to content

Commit e57da12

Browse files
authored
Merge pull request #962 from IABTechLab/ibg-TTD-onBrokenMarkdownLinks
ibg-TTD-onBrokenMarkdownLinks
2 parents 4d5cb6a + 3b4d6c4 commit e57da12

File tree

2 files changed

+44
-20
lines changed

2 files changed

+44
-20
lines changed

docusaurus.config.js

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,16 @@ const config = {
5151
trailingSlash: false,
5252

5353
onBrokenLinks: "warn",
54-
onBrokenMarkdownLinks: "warn",
5554
//setting to ignore until we have time to properly code markdown jump anchors through docusaurus react hook
5655
//https://docusaurus.io/docs/docusaurus-core#useBrokenLinks
5756
onBrokenAnchors: "warn",
5857

58+
markdown: {
59+
hooks: {
60+
onBrokenMarkdownLinks: "warn",
61+
},
62+
},
63+
5964
scripts: [
6065
// String format.
6166
"//pages.thetradedesk.com/js/forms2/js/forms2.js",
@@ -262,7 +267,7 @@ const config = {
262267
},
263268
{
264269
label: "UID2 Privacy Policy",
265-
href: "https://transparentadvertising.com/privacy"
270+
href: "https://transparentadvertising.com/privacy",
266271
},
267272
{
268273
type: "doc",
@@ -295,13 +300,13 @@ const config = {
295300
</a>`,
296301
},
297302
{
298-
html: `<a class="truevault-polaris-optout footer__link-item"
303+
html: `<a class="truevault-polaris-optout footer__link-item"
299304
href="${getLocalizedConfigValue("adsrvrURL")}"
300-
target="_blank"
305+
target="_blank"
301306
rel="noreferrer noopener">
302-
<img src="https://polaris.truevaultcdn.com/static/assets/icons/optout-icon-black.svg"
303-
alt="California Consumer Privacy Act (CCPA) Opt-Out Icon"
304-
height="14px"
307+
<img src="https://polaris.truevaultcdn.com/static/assets/icons/optout-icon-black.svg"
308+
alt="California Consumer Privacy Act (CCPA) Opt-Out Icon"
309+
height="14px"
305310
style="vertical-align:middle" />
306311
Your Privacy Choices
307312
</a>`,

package-lock.json

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

0 commit comments

Comments
 (0)