Create @refrakt-md/astro adapter package
Build the Astro framework adapter — the first non-SvelteKit target. Astro is MPA-first and SSG-focused, making it the simplest adapter to build and validate.
Build the Astro framework adapter — the first non-SvelteKit target. Astro is MPA-first and SSG-focused, making it the simplest adapter to build and validate.
e900a90f262d7be5a255f11e81a8ead9531packages/astro/ package exists with correct package.json (peer dep astro@^5.0.0)integration.ts) reads refrakt.config.json, injects Lumina CSS, configures SSR noExternal listBaseLayout.astro selects layout via matchRouteRule(), runs layoutTransform(), renders via renderToHtml() + set:html<head> from page SEO datainitRuneBehaviors(), initLayoutBehaviors(), registerElements() and sets RfContextgetStaticPaths() using loadContent()AstroTheme type interface exported for theme authorspackages/lumina/astro/index.ts) exporting theme config + CSS entry pointserver.watchersite/content/docs/adapters/astro.md with installation, project structure, configuration, code examples (integration setup, page component, layout, content loading, behavior init, SEO injection), and getting-started guide matching the depth of existing SvelteKit adapter docsUse renderToHtml() as the primary rendering strategy — no recursive Renderer.astro component needed while the component registry is empty. The integration hooks into Astro's astro:config:setup to inject CSS and configure Vite. Content is loaded at build time via getStaticPaths().
For View Transitions support, the behavior init script should listen to the astro:page-load event as an alternative to DOMContentLoaded.
@astrojs/markdoc coexistence: This adapter replaces @astrojs/markdoc, not supplements it — refrakt needs the full schema transform pipeline (rune models, content models, meta tag injection) which can't be expressed as simple Markdoc tag registrations. Users wanting a lighter integration that preserves Astro's content collections and @astrojs/markdoc should use @refrakt-md/vite (SPEC-031) instead.