Skip to content

full rename part 2#34

Open
nicoalba wants to merge 7 commits intomainfrom
full-rename
Open

full rename part 2#34
nicoalba wants to merge 7 commits intomainfrom
full-rename

Conversation

@nicoalba
Copy link
Contributor

full rename part 2

@vercel
Copy link

vercel bot commented Feb 12, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docusaurus-shared Ready Ready Preview, Comment Feb 13, 2026 5:51pm

Request Review

@github-actions
Copy link

github-actions bot commented Feb 12, 2026

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@nicoalba nicoalba marked this pull request as draft February 12, 2026 21:44
@nicoalba nicoalba marked this pull request as ready for review February 12, 2026 22:38
@dovholuknf
Copy link
Member

recheck

@dovholuknf
Copy link
Member

recheck cla

rec.product = "frontdoor";
else if (rec.url_without_anchor.includes("/docs/openziti"))
rec.product = "openziti";
else if (rec.url_without_anchor.includes("/docs/selfhosted"))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this file should not be touched as part of this

Copy link
Contributor Author

@nicoalba nicoalba Feb 13, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claude's defense of touching this file:

The change ensures proper Algolia search indexing during the transition:

if (rec.url_without_anchor.includes("/docs/selfhosted"))                                                                                                                 
  rec.product = "selfhosted";
else if (rec.url_without_anchor.includes("/docs/onprem"))
  rec.product = "selfhosted";  // ← Key: onprem URLs tagged as "selfhosted"

Why this matters:

  • Both /docs/onprem/* and /docs/selfhosted/* URLs get tagged with product: "selfhosted"
  • When Algolia crawls and indexes the site, both URL paths will be searchable under the "Self-Hosted" product filter
  • This maintains search continuity - old bookmarked onprem URLs will still appear in search results alongside new selfhosted URLs
  • After the transition period, when you remove the onprem path, Algolia will naturally drop those URLs from the index and only keep the selfhosted ones

This aligns perfectly with the dual-path strategy mentioned in the plan - serve the same content at both paths temporarily, let Algolia re-index, then remove the old onprem path once everything is stable.

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