--- import StarlightPage from "@astrojs/starlight/components/StarlightPage.astro"; import context from "virtual:starlight-plugins-docs-components-context"; import starlightConfig from "virtual:starlight/user-config"; import { capitalCase, kebabCase } from "change-case"; import { DefaultLocale } from "../libs/i18n"; import Showcase from "../components/Showcase.astro"; import ShowcaseIntro from "../components/ShowcaseIntro.astro"; export function getStaticPaths() { if (!starlightConfig.isMultilingual) { return [{ params: { prefix: DefaultLocale } }]; } else { return Object.keys(starlightConfig.locales).map((localeKey) => { const locale = localeKey === "root" ? undefined : localeKey; return { params: { prefix: locale }, }; }); } } export const prerender = true; --- { context.showcaseProps.entries.length !== 0 && ( <>

Sites

{capitalCase(context.pluginName)} is already being used in production. These are some of the sites around the web:

) }