astro-site-filesv0.5.0

← All examples

llms.txt

Title, summary, details and link sections in the llmstxt.org format.

llms.txt

dist/llms.txt
// site/src/site-files.ts
export const llms: LlmsOptions = {
  title: 'astro-site-files',
  description:
    'Astro integration that generates robots.txt, llms.txt, sitemap.xml, security.txt and humans.txt at build time from typed configuration.',
  details:
    'Published on npm as @casoon/astro-site-files. Requires Node.js 22.12 or newer and Astro 6 or newer. MIT licensed.',
  sections: [
    {
      title: 'Documentation',
      links: [
        { title: 'Installation', url: `${home}docs/getting-started/installation/` },
        { title: 'Quickstart', url: `${home}docs/getting-started/quickstart/` },
        { title: 'robots.txt', url: `${home}docs/configuration/robots-txt/`, description: 'Presets, bot groups and path rules' },
        { title: 'llms.txt', url: `${home}docs/configuration/llms-txt/` },
        { title: 'sitemap.xml', url: `${home}docs/configuration/sitemap-xml/`, description: 'Discovery, priorities, i18n and sources' },
        { title: 'RSS feed', url: `${home}docs/configuration/rss/` },
        { title: 'security.txt', url: `${home}docs/configuration/security-txt/` },
        { title: 'humans.txt', url: `${home}docs/configuration/humans-txt/` },
        { title: 'API overview', url: `${home}docs/reference/api/` },
      ],
    },
    {
      title: 'Project',
      links: [
        { title: 'Source code', url: 'https://github.com/casoon/astro-site-files' },
        { title: 'npm package', url: 'https://www.npmjs.com/package/@casoon/astro-site-files' },
        { title: 'Changelog', url: `${home}changelog/` },
      ],
    },
  ],
};
# astro-site-files

> Astro integration that generates robots.txt, llms.txt, sitemap.xml, security.txt and humans.txt at build time from typed configuration.

Published on npm as @casoon/astro-site-files. Requires Node.js 22.12 or newer and Astro 6 or newer. MIT licensed.

## Documentation

- [Installation](https://casoon.github.io/astro-site-files/docs/getting-started/installation/)
- [Quickstart](https://casoon.github.io/astro-site-files/docs/getting-started/quickstart/)
- [robots.txt](https://casoon.github.io/astro-site-files/docs/configuration/robots-txt/): Presets, bot groups and path rules
- [llms.txt](https://casoon.github.io/astro-site-files/docs/configuration/llms-txt/)
- [sitemap.xml](https://casoon.github.io/astro-site-files/docs/configuration/sitemap-xml/): Discovery, priorities, i18n and sources
- [RSS feed](https://casoon.github.io/astro-site-files/docs/configuration/rss/)
- [security.txt](https://casoon.github.io/astro-site-files/docs/configuration/security-txt/)
- [humans.txt](https://casoon.github.io/astro-site-files/docs/configuration/humans-txt/)
- [API overview](https://casoon.github.io/astro-site-files/docs/reference/api/)

## Project

- [Source code](https://github.com/casoon/astro-site-files)
- [npm package](https://www.npmjs.com/package/@casoon/astro-site-files)
- [Changelog](https://casoon.github.io/astro-site-files/changelog/)
  • llms