Editing These Docs
This documentation site is a separate repo built with Astro and Starlight.
Local preview
Section titled “Local preview”git clone https://github.com/MrDrElliot/LuminaEngine-site.gitcd LuminaEngine-sitenpm installnpm run devOpen the printed local URL. Pages live in src/content/docs/ as Markdown
(.md) or MDX (.mdx). The sidebar is defined in astro.config.mjs.
Adding a page
Section titled “Adding a page”- Create a
.mdfile undersrc/content/docs/<section>/. - Give it a
titlein the frontmatter. - Add it to the
sidebarinastro.config.mjs(or rely onautogeneratefor sections that use it).
Deploy
Section titled “Deploy”Pushing to main triggers a GitHub Actions build that publishes to GitHub
Pages.