Repository navigation
Migrate to Astro with the AstroPaper theme - #2
Merged
Merged
Conversation
Co-Authored-By: Claude <noreply@anthropic.com>
Replace the Jekyll site with AstroPaper v7.1.0 (MIT, licence kept in LICENSE-astro-paper). Posts, the about page and the home intro carry over; the spa decoder is served from public/ and mounts on Astro's client-side navigation. - Deploy with GitHub Actions (.github/workflows/deploy.yml); the Pages source must be switched to GitHub Actions when this merges. - Keep old URLs working: a redirect page for the CAN bus post and /feed.xml as an alias of /rss.xml. Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Replaces the Jekyll site with AstroPaper v7.1.0 on Astro. Follows #1, which merged before this work was pushed.
spa-decoder.jsis served frompublic/at the same URL. It now also mounts after Astro's client-side navigation. Its styles moved topublic/assets/css/spa-decoder.cssand use the theme's colours./rss.xml./posts/can-bus-hacking/, and/feed.xmlis kept as an alias of/rss.xml./blog/and the hot tub post's Jekyll URL (live since Modernise site: new layouts, blog section and about page #1) are not redirected..github/workflows/deploy.ymlbuilds on every PR and deploysmainto GitHub Pages.seanrleach.co.uk/spa2mqtt/.Before merging
Switch the Pages source to GitHub Actions (Settings > Pages > Build and deployment > Source). If this merges while the source is still "Deploy from a branch", Pages will try to build the repo with Jekyll and the site will break.
Theme safety check
satnaing/astro-paperat tagv7.1.0(commit2e8bcbe), the repo the Vercel template page links to. MIT licensed; licence kept asLICENSE-astro-paper.esbuildandsharp.pnpm audit: 3 moderate advisories, in lint and CSS build tooling. None of it ships to the browser.Test plan
pnpm build(type-check, build, search index) andpnpm lintpass locally/feed.xmlreturn 200 frompnpm preview🤖 Generated with Claude Code