Skip to content

Serve the site at https://cigen.dev/ - #57

Merged
ndbroadbent merged 2 commits into
mainfrom
site/cigen-dev-domain
Dec 4, 2026
Merged

ndbroadbent merged 2 commits into
mainfrom
site/cigen-dev-domain

Conversation

@ndbroadbent

@ndbroadbent ndbroadbent commented Dec 4, 2026 •

Copy link
Copy Markdown
Member

Moves the site from https://docspring.github.io/cigen/ to https://cigen.dev/ (sc-9138).

Draft until DNS is live. If this merges while the site is still served from docspring.github.io/cigen/, the deploy builds for / and every asset path on the old address breaks.

Changes

  • The docs build no longer sets CIGEN_SITE_URL / CIGEN_SITE_BASE, so the site's defaults apply (https://cigen.dev, /). The variables stay for anyone building it somewhere else, such as a fork's Pages site.
  • The github-pages environment URL is now https://cigen.dev/.
  • The release notes' one-liner uses https://cigen.dev/install.sh.
  • The README links to cigen.dev (llms.txt, llms-full.txt, install.md, quick start) and has a docs link under the tagline.
  • .github/workflows/ was regenerated from .cigen/.
  • Nothing else in the repo pointed at docspring.github.io/cigen. That includes the docs pages, the generated install steps and the providers.

Checked locally (built with the defaults)

  • pnpm check:seo: 21 pages OK.
  • Canonical, og:url and og:image on the homepage and the docs: https://cigen.dev/....
  • robots.txt: Sitemap: https://cigen.dev/sitemap-index.xml. Every <loc> in the sitemap is under https://cigen.dev/.
  • dist/ has no github.io URLs and no /cigen/ base paths.

Switch steps (after dig cigen.dev returns GitHub's addresses)

  1. gh api -X PUT repos/DocSpring/cigen/pages -f cname=cigen.dev, wait for the certificate, then -F https_enforced=true.
  2. Merge this PR so the deploy builds for /.
  3. Check that the old URLs redirect, and add the results below.

Old URLs

GitHub Pages redirects docspring.github.io/cigen/<path> to cigen.dev/<path> once the custom domain is set. The org has no docspring.github.io site of its own (its root is a 404), so no org-level domain gets in the way. Results of curl -I after the switch:

Pending the switch.

install.sh is a 404 today at both addresses: the repository has no root install.sh yet (the release work owns it), so the site doesn't serve one. The release notes' one-liner stays broken until that file exists, whatever the domain.


Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

The docs workflow no longer builds for docspring.github.io/cigen/: the site's defaults (https://cigen.dev and /)
apply. The deploy environment URL, the release notes' install one-liner, and the README's links point at cigen.dev.
@ndbroadbent
ndbroadbent marked this pull request as ready for review December 4, 2026 03:52
@ndbroadbent
ndbroadbent merged commit c349a7a into main Dec 4, 2026
8 checks passed
@ndbroadbent

Copy link
Copy Markdown
Member Author

Switch done and checked after this PR's deploy (DOCS run 47264414227: build, deploy success).

  • Pages: custom domain cigen.dev, certificate approved, HTTPS enforced. http://cigen.dev/docs/ 301s to https://cigen.dev/docs/.
  • https://cigen.dev/ is 200, with canonical https://cigen.dev/. No /cigen/ paths are left in the page, and its CSS and favicon are 200.
  • robots.txt ends with Sitemap: https://cigen.dev/sitemap-index.xml.

Old URLs (curl -I https://docspring.github.io<old URL>, then the target fetched):

Old URL Status Location Target
/cigen/ 301 https://cigen.dev/ 200
/cigen/docs/quick-start/ 301 https://cigen.dev/docs/quick-start/ 200
/cigen/docs/quick-start.md 301 https://cigen.dev/docs/quick-start.md 200
/cigen/install.md 301 https://cigen.dev/install.md 200
/cigen/llms.txt 301 https://cigen.dev/llms.txt 200
/cigen/llms-full.txt 301 https://cigen.dev/llms-full.txt 200
/cigen/og/index.png 301 https://cigen.dev/og/index.png 200
/cigen/sitemap-index.xml 301 https://cigen.dev/sitemap-index.xml 200
/cigen/robots.txt 301 https://cigen.dev/robots.txt 200
/cigen/install.sh 301 https://cigen.dev/install.sh 404

Every path redirects, so nothing needed fixing. install.sh 404s only because the repository has no root install.sh yet; the site serves it once that file exists. curl -fsSL follows the 301, so old install commands will work then too.

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