Skip to content

Allow referer to be sent to *.defined.net urls - #330

Merged
jasikpark merged 3 commits into
mainfrom
cta-link
Feb 2, 2026
Merged

jasikpark merged 3 commits into
mainfrom
cta-link

Conversation

@jasikpark

Copy link
Copy Markdown
Member

This ensures that the link to defined.net can receive the referrer from this link

@jasikpark
jasikpark requested a review from bgolat January 30, 2026 17:15
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jan 30, 2026 •

Copy link
Copy Markdown

Deploying docs-nebula with  Cloudflare Pages  Cloudflare Pages

Latest commit: ffcfac7
Status: ✅  Deploy successful!
Preview URL: https://2fb4ff14.docs-nebula.pages.dev
Branch Preview URL: https://cta-link.docs-nebula.pages.dev

View logs

@jasikpark jasikpark changed the title Customize DN link in intro CTA Allow referer to be sent to *.defined.net urls Jan 30, 2026
@jasikpark
jasikpark merged commit f91ea19 into main Feb 2, 2026
4 checks passed
@jasikpark
jasikpark deleted the cta-link branch February 2, 2026 17:01
jasikpark added a commit that referenced this pull request Feb 27, 2026
By default docusaurus adds noreferer to all links to "outside" sites,
but we want to be able to see analytics between all *.defined.net sites.
Followup to #330 which
implemented an "ejected" version of this. See
https://docusaurus.io/docs/swizzling#swizzling-process for more info.

"ejecting" has docusaurus make a copy of its source code and lets us
edit it how we wish, then it uses that rewrite.
"wrapping" allows us to just import the default component, and customize
its props / wrap it in other elements, which is simpler and easier to
maintain across version upgrades.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants