Use cards for summaries
Cards work well for short concept summaries, feature overviews, and landing-page navigation.
Small icon accents work best when they support nearby text instead of carrying the whole message.
Open page templates
Use cards for summaries
Cards work well for short concept summaries, feature overviews, and landing-page navigation.
Use Markdown for most pages.
- headings- lists- code fences- tables- asidesUse MDX when you need imported components:
- cards- tabs- steps- file trees// @ts-checkimport { defineConfig } from "astro/config";import starlight from "@astrojs/starlight";
// https://astro.build/configexport default defineConfig({ site: "https://docs.mementropy.com",
integrations: [ starlight({ title: "Mementropy Docs", description: "Stub documentation for AI, ML, and operations work, built with Astro Starlight.", customCss: ["./src/styles/custom.css"], disable404Route: true, sidebar: [ { label: "Home", link: "/" }, { label: "Start Here", items: [ { label: "Getting Started", slug: "guides/getting-started" }, { label: "How This Site Is Structured", slug: "authoring/how-this-site-is-structured", }, { label: "Page Templates", slug: "authoring/page-templates" }, ], }, { label: "Foundations", items: [ { label: "AI Operating Model", slug: "foundations/ai-operating-model", }, ], }, { label: "Architecture", items: [ { label: "Platform Overview", slug: "architecture/platform-overview", }, { label: "Provider Portability Boundary", slug: "architecture/provider-portability-boundary", }, { label: "Migration Assurance", slug: "architecture/migration-assurance", }, { label: "Service Delivery Method", slug: "architecture/service-delivery-method", }, ], }, { label: "Runbooks", items: [ { label: "Publish Docs", slug: "runbooks/publish-docs" }, { label: "New Runbook Template", slug: "runbooks/new-runbook-template", }, ], }, { label: "Deploy", items: [ { label: "Cloudflare Static Deploy", slug: "deploy/cloudflare-static", }, { label: "Protect Docs With Access", slug: "deploy/protect-docs-with-access", }, ], }, { label: "Reference", items: [ { label: "Glossary", slug: "reference/glossary" }, { label: "Frontmatter Patterns", slug: "reference/frontmatter-patterns", }, { label: "Launch Checklist", slug: "reference/launch-checklist", }, ], }, { label: "Examples", items: [ { label: "Starlight Patterns", slug: "examples/starlight-patterns", }, ], }, ], }), ],});If a page already reads well in plain Markdown, stop there. The best Starlight pages usually feel clear and calm rather than component-heavy.