Conversation
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
Rewrites the Jython website from Jekyll (Ruby) to Astro, using the official
create astroscaffold. The generated site is functionally identical — same pages, same URLs, same look — but the toolchain is more modern, faster, and much easier to work with.Why
bun install && bun run devgets a contributor up and running — no Ruby, no Bundler, no gem version pinning. The old setup required matching a specific Ruby version just to build locally.Before / After
What changed
src/pages/*.md— the 11 content pages (Markdown + layout frontmatter)src/layouts/BaseLayout.astro— header, nav, footer, and SEO meta (ported from_layouts/default.html)src/components/Navbar.astro+src/data/navbar.ts— dropdown navigation (ported from_includes/navigation.html+_data/navbar.yml)public/(CNAME,.well-known/atproto-did, images, and the existing slate theme CSS).astro.config.mjs(site: https://www.jython.org,build.format: 'file'to preserve existing.htmlURLs,github-lightcode highlighting)..github/workflows/deploy.ymlusing the officialwithastro/actionto build and publish to GitHub Pages onmaster.bun.lockso deployments are reproducible._config.yml,_data/,_includes/,_layouts/,Gemfile,Gemfile.lock,_site/,assets/, and the root-level.mdfiles now living insrc/pages/.README.mdwith the new build/dev instructions.Notes
index.mdandjyspecific.mdpreviously used Liquid data lookups (site.data.book,site.data.pydoc); these were resolved to their literal URLs to avoid adding the MDX integration./download,/news, etc. all still resolve).How to test