Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Varbase AI Readable Base

The Varbase AI Readable Base recipe makes the site easier for AI tools to read. It serves /llms.txt, built from the site name, slogan, main menu and footer menu. It also serves a Markdown version of every content item and taxonomy term, at <path>.md. The HTML pages do not change.

Recipe Type

Varbase AI

Drupal.org Project

https://www.drupal.org/project/varbase_ai_readable_base

What It Adds

  • Installs llms.txt and Markdownify, with Markdown at a path alias plus .md.

  • Builds /llms.txt from the main and footer menus.

  • Lets SEO Admin and Site Admin manage the llms.txt content.

Before You Apply

It needs no AI provider or key. Varbase AI Base is not required.

Installation

Add the recipe with Composer, then apply it with Drush:

Drupal Canvas pages and Views have no Markdown version yet. They are listed in /llms.txt as links.

What a Site Answers

Request
Answer

/llms.txt

Markdown, listing the main and footer menu links.

/node/<nid>.md, /<alias>.md, or a content or term page asked for with Accept: text/markdown

Markdown, marked noindex for search engines.

The same page without that header

HTML, as before.

/robots.txt

Unchanged.

Any other .txt path

Still a fast 404.

Pages, book pages and announcements are turned into Markdown from their search_index view mode, the content without the page layout. Other content types use the full view mode, so their Markdown can include page parts such as the breadcrumb and share links.

Troubleshooting

  • Clear the cache before applying, or the apply fails with "llms_txt" is not a known module or theme.

  • /llms.txt answers 404 until the settings.php line above is in.

  • Asking for Markdown of a Canvas page or a View answers 406.

Last updated