Skip to content

chore: upgrade Astro to v7, Starlight to v0.41, and fix MDX compatibility issues#400

Merged
erinxocon merged 4 commits into
masterfrom
mdx-file-fix
Jun 30, 2026
Merged

chore: upgrade Astro to v7, Starlight to v0.41, and fix MDX compatibility issues#400
erinxocon merged 4 commits into
masterfrom
mdx-file-fix

Conversation

@erinxocon

@erinxocon erinxocon commented Jun 29, 2026

Copy link
Copy Markdown
Member

Summary

This PR upgrades the core Astro framework and related dependencies to their latest major versions, and applies the necessary content and tooling fixes required for MDX compatibility.

Dependency Updates

  • Astro 6.4.87.0.3
  • @astrojs/starlight 0.40.00.41.1
  • js-yaml 4.2.04.3.0
  • prettier 3.8.43.9.1
  • pnpm 11.7.011.9.0

MDX Compatibility Fixes

  • Replaced HTML-style comments (<!-- -->) with JSX-style comments ({/* */}) in .mdx repair files, required by the MDX parser
  • Updated broken links in specs.md files across all models to point to .mdx extensions where files were previously converted
  • Converted BIOS screenshot images from .BMP to .PNG format in thelio-major-b1-b2-r1-r2 to fix a build issue that occurs without cache (sharp does not support BMP)

Files Changed

  • package.json / pnpm-lock.yaml — dependency upgrades
  • src/content/docs/models/*/specs.md — link extension fixes (.md.mdx)
  • src/content/docs/models/thelio-b4/repairs.mdx — MDX comment syntax fix
  • src/content/docs/models/thelio-major-b1-b2-r1-r2/repairs.mdx — MDX comment syntax fix + image references updated to PNG
  • src/content/docs/models/thelio-major-b1-b2-r1-r2/img/ — Added PNG versions of BMP BIOS screenshots

…sharp bitmap issue.

- Switch bmp to png for images.
- Switch to mdx style comments.
- astro to major version 7.0.3
- @astrojs/starlight updated to 0.41.0
- js-yaml updated to 4.3.0
- prettier updated to 3.9.1
@erinxocon erinxocon requested a review from a team as a code owner June 29, 2026 20:44
title: Thelio Major (thelio-major-r5-n4)
---

- [External Overview](./external-overview.mdx)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jacobgkau Not sure if these links were left out on purpose! Let me know!

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd just forgotten and had planned to slip it in with the next update I made (was also a little curious if anyone would bring it up, and was reconsidering whether these links make structural sense, with the new layout of the sidebar where the Specifications page is on the same level as the others).

@erinxocon erinxocon requested review from jacobgkau and removed request for a team June 29, 2026 20:56
@jacobgkau jacobgkau requested a review from a team June 29, 2026 23:11

@jacobgkau jacobgkau left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jacobgkau

Copy link
Copy Markdown
Member

CI's been stuck on the build step for a couple of hours. May need an AWS cache update again or something?

@erinxocon erinxocon merged commit 786abcf into master Jun 30, 2026
1 check passed
@erinxocon erinxocon deleted the mdx-file-fix branch June 30, 2026 04:34
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.

2 participants