Skip to content

TBMQ related info migration to new website - #585

Open
deaflynx wants to merge 16 commits into
thingsboard:mainfrom
deaflynx:tbmq-migration
Open

TBMQ related info migration to new website#585
deaflynx wants to merge 16 commits into
thingsboard:mainfrom
deaflynx:tbmq-migration

Conversation

@deaflynx

Copy link
Copy Markdown
Contributor

Description

Type of change

  • New / updated documentation page (src/content/docs/**)
  • Shared include file (src/content/_includes/**)
  • Component, layout, or styling change (src/components/**, src/styles/**)
  • Landing / use-case / case-study page (src/pages/**, src/data/**)
  • Redirects (src/data/redirects.ts)
  • Version bump / release (see release skill)
  • Build, CI, scripts, or tooling
  • Other (please describe)

Affected products

Related issues

  • Closes #

Checklist

  • pnpm check passes (Astro / TypeScript)
  • pnpm lint:eslint passes
  • pnpm lint:slugcheck passes (required if pages were added/renamed/moved across languages)
  • pnpm lint:linkcheck passes locally — required to merge; run it before requesting review (use pnpm lint:linkcheck:nobuild if you already ran a build)
  • Renamed/removed pages have a redirect in src/data/redirects.ts, and pnpm generate:redirects was run
  • No hardcoded versions — values come from src/data/versions.ts
  • Screenshots attached for visual changes

@deaflynx deaflynx added the wip label Jul 27, 2026
deaflynx added 6 commits July 30, 2026 10:57
…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.
…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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant