From 021c62edcf03c861506b2485401bea9d26731af2 Mon Sep 17 00:00:00 2001 From: phranck Date: Fri, 13 Feb 2026 17:51:53 +0100 Subject: [PATCH] Chore: Migrate custom domain from tuikit.layered.work to tuikit.dev - Update CNAME in CI workflow - Update Astro site URL, JSON-LD structured data - Update robots.txt, sitemap.xml, install-template.sh - Update documentation links in project-template README --- .github/workflows/ci.yml | 2 +- docs/astro.config.mjs | 2 +- docs/public/install-template.sh | 4 ++-- docs/public/robots.txt | 2 +- docs/public/sitemap.xml | 4 ++-- docs/src/layouts/BaseLayout.astro | 2 +- project-template/README.md | 2 +- to-dos.md | 2 +- 8 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9ffd49e7..25889640 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -164,7 +164,7 @@ jobs: cp -r docs/dist/* docs-output/ - name: Add CNAME for custom domain - run: echo "tuikit.layered.work" > docs-output/CNAME + run: echo "tuikit.dev" > docs-output/CNAME - name: Upload artifact uses: actions/upload-pages-artifact@v3 diff --git a/docs/astro.config.mjs b/docs/astro.config.mjs index 9204c108..a0e40dc8 100644 --- a/docs/astro.config.mjs +++ b/docs/astro.config.mjs @@ -16,7 +16,7 @@ try { // https://astro.build/config export default defineConfig({ - site: 'https://tuikit.layered.work', + site: 'https://tuikit.dev', output: 'static', integrations: [ react(), diff --git a/docs/public/install-template.sh b/docs/public/install-template.sh index eff7a537..12d3cbd8 100755 --- a/docs/public/install-template.sh +++ b/docs/public/install-template.sh @@ -4,7 +4,7 @@ # Installs the TUIkit App template into Xcode's user templates directory. # # Usage: -# curl -fsSL https://tuikit.layered.work/install-template.sh | bash +# curl -fsSL https://tuikit.dev/install-template.sh | bash # # Or manually: # ./install.sh @@ -85,5 +85,5 @@ echo -e "To uninstall, run:" echo -e " ${YELLOW}rm -rf \"$TEMPLATE_DIR/$TEMPLATE_NAME\"${NC}" echo "" echo -e "${BLUE}Happy coding with TUIkit!${NC}" -echo -e "Documentation: ${YELLOW}https://tuikit.layered.work${NC}" +echo -e "Documentation: ${YELLOW}https://tuikit.dev${NC}" echo "" diff --git a/docs/public/robots.txt b/docs/public/robots.txt index e869265a..f8ca0c0f 100644 --- a/docs/public/robots.txt +++ b/docs/public/robots.txt @@ -1,4 +1,4 @@ User-agent: * Allow: / -Sitemap: https://tuikit.layered.work/sitemap.xml +Sitemap: https://tuikit.dev/sitemap.xml diff --git a/docs/public/sitemap.xml b/docs/public/sitemap.xml index 305d3d31..c7666651 100644 --- a/docs/public/sitemap.xml +++ b/docs/public/sitemap.xml @@ -1,12 +1,12 @@ - https://tuikit.layered.work + https://tuikit.dev weekly 1.0 - https://tuikit.layered.work/documentation/tuikit + https://tuikit.dev/documentation/tuikit weekly 0.8 diff --git a/docs/src/layouts/BaseLayout.astro b/docs/src/layouts/BaseLayout.astro index 9ad8bba2..d9ab687b 100644 --- a/docs/src/layouts/BaseLayout.astro +++ b/docs/src/layouts/BaseLayout.astro @@ -80,7 +80,7 @@ const canonicalURL = new URL(Astro.url.pathname, Astro.site); "@type": "SoftwareSourceCode", "name": "TUIkit", "description": "A declarative, SwiftUI-like framework for building Terminal User Interfaces in Swift.", - "url": "https://tuikit.layered.work", + "url": "https://tuikit.dev", "codeRepository": "https://github.com/phranck/TUIkit", "programmingLanguage": "Swift", "operatingSystem": ["macOS", "Linux"], diff --git a/project-template/README.md b/project-template/README.md index 1b23d1cf..6c39effb 100644 --- a/project-template/README.md +++ b/project-template/README.md @@ -73,7 +73,7 @@ tuikit-uninstall ## Documentation -- [TUIkit Documentation](https://tuikit.layered.work/documentation/tuikit/) +- [TUIkit Documentation](https://tuikit.dev/documentation/tuikit/) - [TUIkit GitHub](https://github.com/phranck/TUIkit) ## License diff --git a/to-dos.md b/to-dos.md index 4b6f8d5c..31da2abf 100644 --- a/to-dos.md +++ b/to-dos.md @@ -118,7 +118,7 @@ ## Notes - DocC: `swift-docc-plugin`, GitHub Pages with `theme-settings.json` workaround -- Landing Page: Astro + React + Tailwind 4, CI-deployed, tuikit.layered.work +- Landing Page: Astro + React + Tailwind 4, CI-deployed, tuikit.dev - Xcode Template: `~/Library/Developer/Xcode/Templates/Project Templates/macOS/Application/` ---