Skip to content

Production-ready animations, transitions, backgrounds, and scenes for Remotion

537 B
Raw Blame
import { COMPONENT_COUNT } from "@/config/site";
import { buildLlmsTxt } from "@/lib/agent-docs";
import { docsIndexPages } from "@/lib/docs-index";

export const revalidate = false;

// llms.txt — curated index of the docs for LLMs (https://llmstxt.org).
// Each entry links to the page's raw Markdown (`*.md`) served by app/llms.md.
export function GET() {
  return new Response(
    buildLlmsTxt(docsIndexPages(), { components: COMPONENT_COUNT }),
    {
      headers: { "Content-Type": "text/plain; charset=utf-8" },
    },
  );
}