Files
stefankoelle 9ffbadb3db Update all documentation for consolidated www.moonweb.org structure
- AGENTS.md: new file structure, single config, correct commands
- README.md: updated architecture, project structure, CI/CD docs
- SPEC.md: updated sitemap, design system, repository structure, tech stack
- PLAN.md: completed migration phases, remaining items
- TODO.md: current status, completed tasks, remaining items
2026-09-11 14:07:05 +02:00

3.0 KiB

TODO: moonweb-site

Status: Consolidation Complete

All moonweb.org sites are consolidated under www.moonweb.org as subdirectories, deployed via IONOS SFTP. PR #3 merged to main.


Completed

Phase 1: Timecapsule Integration

  • Copy files from moonweb-www/src/ to timecapsule/src/
  • Create timecapsule/eleventy.config.js (Eleventy 2.x)
  • Create timecapsule/package.json (own dependencies)
  • Adapt timecapsule internal paths with /timecapsule/ prefix

Phase 2: Single Eleventy Config

  • Create root eleventy.config.js with computed pathPrefix per section
  • Delete 5 per-site eleventy.config.js files (hub, infra, smarthome, code, retro)
  • Delete scripts/merge-moonweb.sh
  • Update shared/_includes/base.njk (inlined accent colors, root CSS path)
  • Update hub/index.njk card hrefs (relative paths)
  • Update hub/impressum.njk (hosting sections correct)
  • Update parent values in detail pages to include section prefix
  • Add tags to all pages for Eleventy collections

Phase 3: Build & Deploy

  • Create .github/workflows/build-deploy-moonweb.yml (single build job, SFTP deploy)
  • Delete old build-deploy.yml (matrix builds)
  • Update .eleventyignore (exclude stefankoelle/, timecapsule/, markdown)
  • Fix build-pdf.sh to temporarily rename .eleventyignore for stefankoelle build
  • Fix timecapsule build path (../dist/ not ../../dist/)

Phase 4: Redirects & SEO

  • Create 20 redirect .htm files in hub/ for old www.moonweb.org paths
  • Create central sitemap.xml (36 pages)
  • Create single robots.txt at root
  • Set up Cloudflare redirect rules script (scripts/cloudflare/)

Phase 5: Bug Fixes

  • Fix card links on index pages (add section prefix to local hrefs)
  • Fix code repos missing (move repos.json to root _data/)
  • Fix favicons (use section-specific favicon.svg per site)
  • Fix header (show moonweb.org/smarthome instead of smarthome.moonweb.org)
  • Rename hub link to home in site-switcher nav
  • Remove redundant 404 pages, keep only root 404
  • Add missing beginning subpage redirects (news, report, sitemap)
  • Fix double-slash URLs in stefankoelle/index.njk
  • Remove unused theme-*.css files
  • Update stefankoelle link texts (replace old subdomain names with new paths)

Phase 6: Documentation

  • Update AGENTS.md for new structure
  • Update README.md for new structure
  • Update SPEC.md for new structure
  • Update PLAN.md for new structure

Remaining

Cloudflare Redirects

  • Activate redirect rules (needs CLOUDFLARE_API_TOKEN and CLOUDFLARE_ZONE_ID secrets, or manual dashboard setup)
  • Verify redirects work after activation

SEO

  • Create Google Search Console property for www.moonweb.org
  • Submit sitemap

Cleanup

  • Archive moonweb-www repository
  • Delete Cloudflare Pages projects (after redirect verification)

Future

  • Cross-linking stefankoelle.de <-> smarthome
  • Consider moving LED Matrix to smarthome (when ready)