Skip to content

Fix docs links broken by the docs.sendlit.app redirect - #224

Merged
clbotdev merged 4 commits into
mainfrom
docs/fix-links-after-redirect
Nov 25, 2026
Merged

clbotdev merged 4 commits into
mainfrom
docs/fix-links-after-redirect

Conversation

@clbotdev

@clbotdev clbotdev commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Follow-up to #222. With docs.sendlit.app now redirecting to sendlit.app/docs, a few things in the ported pages broke or became pointless. All 247 page and API redirects themselves were checked and work (single 301 to 200 on the right page).

Changes (frontlit/docs only)

  • Screenshots (3 pages): docs.sendlit.app/screenshots/*.png now redirects to a 404. The two images move from apps/docs/public/screenshots/ to assets/ at the repo root (git mv, since apps/docs is going to be deleted), and the docs in developers/authentication, getting-started/overview and workspace/organizations link them as https://raw.githubusercontent.com/codelitdev/sendlit/main/assets/<name>.png. The URLs return 200 once this is merged. They can be moved to the media library later.
  • Demo links (9 email-blocks pages): "You can try this component live in the interactive demo" linked to docs.sendlit.app/email-blocks/<page>/, which now redirects back to the same page. Removed it, and the wording that referred to "the demo above", "a live, editable demo" and "the exact demo code" (now "A complete example:" and "example code"). No live demo exists on FrontLit.
  • API reference links (5 pages): now /docs/api-reference instead of going through docs.sendlit.app.

Not in this PR

  • Still to do in the next step: delete apps/docs, its Pages deploy workflow, and update the README links. Until then, the old site's two screenshots are broken because they moved to assets/. apps/web still has 6 dashboard links to docs.sendlit.app/...; they work through the redirect but could be updated separately.

Checks

  • Bundled checker: OK (54 files, 54 routes, --api-mount=api-reference).
  • FrontLit's own importer, run locally against all 54 pages: 0 failures.

Merging publishes the changes.

- Point screenshots at commit-pinned raw GitHub URLs; docs.sendlit.app
  now redirects to FrontLit and no longer serves them.
- Remove links to live demos that redirected back to the same page, and
  the wording that referred to them.
- Link the API reference as /docs/api-reference.
apps/docs is about to be deleted, so the images move to the repository's
root assets folder and the docs reference them on main.
The previous commit moved the images but left the docs on the old
commit-pinned apps/docs URLs.
@clbotdev
clbotdev merged commit e7e8332 into main Nov 25, 2026
6 checks passed
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