Sentry Maven Skin 6.6.01
-
Home
- Advanced
AI Indexing
Sentry Maven Skin automatically generates files to help AI platforms (ChatGPT, GitHub Copilot, Claude, Gemini) understand your documentation.
Generated Files
During build, the skin creates:
llms.txt- Structured index following the llmstxt.org[1] proposal format.html.mdfiles - Markdown version of each HTML page (using the.html.mdextension convention per llmstxt.org)<link>tags - References to Markdown versions in HTML headers
llms.txt Format
The llms.txt file follows the llmstxt.org proposal[1] and includes:
# My Project
> A powerful library for doing amazing things
> that spans multiple lines when needed.
- [Installation](https://example.com/docs/installation.html.md)
- [Quick Start](https://example.com/docs/quickstart.html.md)
- [Configuration](https://example.com/docs/configuration.html.md)
Key features:
- Absolute URLs: When
<url>is defined inpom.xml, links are absolute (e.g.,https://example.com/docs/page.html.md) - Multi-line blockquotes: Project descriptions are properly formatted with
>prefix on each line .html.mdextension: URLs use the.html.mdconvention (appending.mdto the original HTML URL)- Menu sections: Sections are generated from your
site.xmlmenu structure
Markdown Files
Each HTML page gets a corresponding .html.md file with YAML front matter:
---
description: Learn how to install the library
date_published: 2024-01-15
date_modified: 2024-01-15
canonical_url: https://example.com/docs/install.html
---
The .html.md extension convention (appending .md to the original URL) allows AI platforms to easily determine the Markdown equivalent of any HTML page.
Link Tags
HTML pages include a link to their Markdown version:
<link rel="alternate" type="text/markdown" href="page.html.md"/>
This tells AI crawlers where to find the Markdown version of the current page.
SEO Features
Also included automatically:
- Canonical URLs (
<link rel="canonical">) - Open Graph metadata
- Schema.org JSON-LD structured data
Configuration
This feature is enabled by default with no configuration needed.
For best results, define <url> in your pom.xml:
<project>
<url>https://example.com/docs</url>
</project>
When <url> is defined, links in llms.txt become absolute URLs, making them easier for AI platforms to index regardless of context. If <url> is not defined, links remain relative.
Also define <description> in your pom.xml:
<project>
...
<description>A powerful library for doing amazing things</description>
...
</project>
Why AI Indexing Matters
As AI assistants become more prevalent in developer workflows, ensuring your documentation is AI-friendly provides several benefits:
- Better AI-generated answers about your project
- Improved discoverability by AI-powered search engines
- Structured content that AI can easily parse and understand
- Future-proofing your documentation for emerging AI platforms
The combination of llms.txt, Markdown files, and structured metadata makes your documentation a first-class citizen in the AI ecosystem.
