Repository navigation
Fix docs links broken by the docs.sendlit.app redirect - #224
Merged
Merged
Conversation
- 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.
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.
Summary
Follow-up to #222. With
docs.sendlit.appnow redirecting tosendlit.app/docs, a few things in the ported pages broke or became pointless. All 247 page and API redirects themselves were checked and work (single301to200on the right page).Changes (
frontlit/docsonly)docs.sendlit.app/screenshots/*.pngnow redirects to a 404. The two images move fromapps/docs/public/screenshots/toassets/at the repo root (git mv, sinceapps/docsis going to be deleted), and the docs indevelopers/authentication,getting-started/overviewandworkspace/organizationslink them ashttps://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.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./docs/api-referenceinstead of going throughdocs.sendlit.app.Not in this PR
apps/docs, its Pages deploy workflow, and update the README links. Until then, the old site's two screenshots are broken because they moved toassets/.apps/webstill has 6 dashboard links todocs.sendlit.app/...; they work through the redirect but could be updated separately.Checks
--api-mount=api-reference).Merging publishes the changes.