TBMQ related info migration to new website - #585
Open
deaflynx wants to merge 16 commits into
Open
Conversation
…t at root tbmq.io is a TBMQ-only site: its docs live at /docs/<slug> and the product landing is the site root, not /product/. Update TBMQ_DOCS_ROOT and TBMQ_URLS.product accordingly, route the Try it now features/deployGroups and description links through the helpers, and repoint the two cross-product DocLinks in the MQTT integration guide at tbmq.io.
Route every local /docs/mqtt-broker/ and /products/mqtt-broker/ link in the TBMQ pricing surfaces (CE, self-managed PAYG/perpetual, private cloud FAQs, the CE Install CTA and the See full details button) through the external-sites helpers so they resolve to the segment-free tbmq.io URLs.
… and sequencing details
…flare edge Replace the four TBMQ catch-all groups with five ordered cross-origin splats in DYNAMIC_REDIRECTS (Jekyll install/ renames before the generic rules) and rewrite the 27 TBMQ single redirects to absolute one-hop tbmqDocsUrl targets, so no request ever chains. external-sites.ts gains a Node-safe env guard and a TBMQ_DOCS_BASE export for splat templates, since redirects.ts is loaded by plain Node in the generator and by Astro's config loader. The splats stay out of astro.redirects.ts on purpose: local TBMQ pages remain browsable in dev and lint:linkcheck stays green until the content is deleted. Dynamic rule budget after regeneration: 47 of Cloudflare's 100. Deploy gate: tbmq.io must serve its docs at the new URL shape before this reaches production — the edge 301s fire regardless of target availability.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Type of change
src/content/docs/**)src/content/_includes/**)src/components/**,src/styles/**)src/pages/**,src/data/**)src/data/redirects.ts)releaseskill)Affected products
Related issues
Checklist
pnpm checkpasses (Astro / TypeScript)pnpm lint:eslintpassespnpm lint:slugcheckpasses (required if pages were added/renamed/moved across languages)pnpm lint:linkcheckpasses locally — required to merge; run it before requesting review (usepnpm lint:linkcheck:nobuildif you already ran a build)src/data/redirects.ts, andpnpm generate:redirectswas runsrc/data/versions.ts