--- import BaseLayout from "./BaseLayout.astro"; import { DocsHeader } from "../components/DocsHeader"; import Container from "../components/Container.astro"; import { getFormattedStars } from "../lib/github"; import Sidebar from "../components/Sidebar.astro"; import type { CollectionEntry } from "astro:content"; import { getAllGuides } from "../lib/guide"; type GuideType = CollectionEntry<"guides">; export interface Props { guide: GuideType; } const groupedGuides = await getAllGuides(); const { guide } = Astro.props; const { groupTitle, sort, title } = guide.data; ---