Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/flo-bit/tiny-docs. quick setup, simple, minimalistic docs for your github project flo-bit.dev/tiny-docs
Something went wrong. Try again.
1234567891011121314151617181920212223---import { type CollectionEntry, render } from "astro:content";import { getSortedDocs, getNextAndPreviousDocs } from "../content-utils";import MainLayout from "$layouts/MainLayout.astro";
type Props = CollectionEntry<"docs">;
const posts = await getSortedDocs();const post = posts[0];const { Content, headings } = await render(post);
const { next, previous } = await getNextAndPreviousDocs(post);---
<MainLayout post={post} next={next} previous={previous} Content={Content} headings={headings} showFullLlms={true}/>