Skip to content

docs(flame): correct GitHub Pages clean URL support - #467

Merged
gitfromwildan merged 1 commit into
mainfrom
docs/flame-github-pages-clean-urls
Nov 5, 2026
Merged

gitfromwildan merged 1 commit into
mainfrom
docs/flame-github-pages-clean-urls

Conversation

@gitfromwildan

Copy link
Copy Markdown
Member

Why

deployment.mdx said GitHub Pages serves files by exact path only, and that /docs/page returns a 404. It listed Pages under Limited Support with "Clean URLs: No" and an Apache server. That claim was the premise of #466 (.html canonical URLs for flame deploy). Pullfrog found it was wrong there, and #466 was closed unmerged.

Checked against a live GitHub Pages site (server: GitHub.com):

Request Result
/page 200, serves page.html
/page.html 200, no redirect to /page
/page/ 404
/dir 301 to /dir/
a path that does not exist 404

Changes

All in packages/flame/docs/getting-started/deployment.mdx:

  • Provider table. The GitHub Pages row moves next to the other hosts with automatic clean URLs. "Clean URLs" becomes "Automatic", and "Server" becomes "GitHub infra".
  • The GitHub Pages section moves from Limited Support to Zero Configuration.
    • Its first paragraph now describes the behavior above, including the trailing-slash 404 and the directory redirect.
    • "The .html suffix remaining in the address bar is the only limitation" now says that the links Flame generates carry .html and that both forms work.
    • The project-site, flame deploy and package-manager paragraphs are unchanged.
  • Limited Support now lists only S3 + CloudFront, so its intro ("cannot rewrite URLs") still holds.

Docs only. packages/flame/docs is not in the published package (files in package.json), so there is no changeset.

Verification

  • flame build of flame's own docs: 27 pages, and the GitHub Pages section renders under Zero Configuration with the #github-pages anchor unchanged. The link check on the output finds no missing links.
  • prettier --check and test:release-plan are clean, and commitlint and the pre-push hook passed.

The deployment guide said GitHub Pages serves files by exact path only
and that `/docs/page` returns 404, and listed it under Limited Support
with "Clean URLs: No" and an Apache server. That is wrong. Checked
against a live Pages site (`server: GitHub.com`):

- `/page` returns 200 and serves `page.html`, and `/page.html` returns
  200, with no redirect between the two
- `/page/` returns 404
- `/dir` redirects with a 301 to `/dir/`

GitHub Pages moves to Zero Configuration, and its table row becomes
"Automatic" / "GitHub infra". The paragraph about the address bar now says
that Flame's links carry `.html` and that both forms work. The project-site
and workflow paragraphs are unchanged.

This claim was the premise of #466, which was closed unmerged.
@vercel

vercel Bot commented Nov 5, 2026

Copy link
Copy Markdown

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

1 Skipped Deployment
Project Deployment Actions Updated
docu Ignored Ignored Nov 5, 2026 2:13pm UTC

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

✅ No new issues found.

Reviewed changes

Mode: standard (docs only). I checked the new GitHub Pages claims in deployment.mdx against a live host and against how the page uses "clean URLs" elsewhere.

  • GitHub Pages moved to Zero Configuration. The row and the section now say that /page serves page.html with no redirect, that /page/ returns a 404 and that /dir redirects to /dir/. I confirmed all of this with curl against typicode.github.io (server: GitHub.com): /husky/get-started returned 200 with no Location, /husky/get-started/ returned 404 and /husky returned 301 to /husky/.
  • The Automatic label is consistent with the rest of the page. Elsewhere the page treats "clean URLs" as serving /page from /page.html: Heroku clean_urls, the generated nginx config, and the S3 + CloudFront function that appends .html. GitHub Pages does this natively. The reworded sentence about the address bar is still accurate, because Flame's links carry .html and both forms resolve.
  • Limited Support now lists only S3 + CloudFront, so its intro ("cannot rewrite URLs") is true again.

Nothing links to #github-pages, #limited-support or #zero-configuration, so moving the section breaks no anchors. template/docs/guide/deployment.mdx makes no claim about clean URLs. No changeset is needed, because packages/flame/docs is not in the published files.

Overall: READY. There are no priorities to address.

Pullfrog  | View workflow run | Using claude-opus-5-5 | 𝕏

@gitfromwildan
gitfromwildan merged commit 0598069 into main Nov 5, 2026
15 checks passed
@gitfromwildan
gitfromwildan deleted the docs/flame-github-pages-clean-urls branch November 5, 2026 14:15
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.

1 participant