Skip to content
This repository was archived by the owner on Oct 13, 2026. It is now read-only.

chore: publish redirects to the site's new home in refract-org/refract - #34

Merged
zz-plant merged 1 commit into
mainfrom
chore/redirect-to-monorepo
Oct 13, 2026
Merged

zz-plant merged 1 commit into
mainfrom
chore/redirect-to-monorepo

Conversation

@zz-plant

@zz-plant zz-plant commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

The documentation source moved to apps/docs in refract-org/refract, imported with this repository's history in refract-org/refract#37. It will be published from there at https://refract-org.github.io/refract/.

This PR turns this repository's Pages site into redirects. deploy.yml runs redirects.mjs after the normal build:

  • Pages: each of the 53 pages under /refract-docs/ becomes a page that sends readers to the same path at the new address. It uses a meta refresh, plus location.replace to keep any query string and #fragment, and a canonical link.
  • Other files: images, the notebook and sitemap.xml stay where they are, so direct links to them keep working.
  • Everything else: 404.html sends any other /refract-docs/... path to the same path under /refract/.

The README now says where the source and site went.

Verified locally

  • All 53 old pages exist in the new site's build; I compared the two lists of index.html paths.
  • In a browser, /refract-docs/tutorials/refract-ui/?from=old#2-start-refract-ui landed on /refract/tutorials/refract-ui/?from=old#2-start-refract-ui. That test used a copy of the script pointed at a local preview of the new site.
  • An old image and the old notebook still return 200 at their old paths.
  • npm run lint and npm test pass (103 tests).

Merge order

Merge this only once the new site is live at https://refract-org.github.io/refract/. Before then, these redirects lead to a 404. That needs:

  • the docs-deploy PR in refract-org/refract merged
  • Pages turned on for that repository

After the cutover is verified, this repository is to be archived. GitHub's docs don't say what archiving does to a Pages site; community reports say it stays published. So check that the redirects still answer after archiving, and unarchive if they don't.

🤖 Generated with Claude Code

The documentation source moved to apps/docs in refract-org/refract, with
this repository's history, and is published from there at
https://refract-org.github.io/refract/.

deploy.yml now runs redirects.mjs after the build: each of the 53 pages
under /refract-docs/ becomes a page that redirects to the same path at the
new address (meta refresh, location.replace keeping query and fragment, and
a canonical link). Images, the notebook and the sitemap stay where they
were, so direct links to them keep working, and 404.html sends any other
path to the same path under /refract/. Every old page exists at the new
address. The README says where the source and site went.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@zz-plant
zz-plant merged commit 61c11c2 into main Oct 13, 2026
1 check passed
@zz-plant
zz-plant deleted the chore/redirect-to-monorepo branch October 13, 2026 02:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant