@loopstates/vitepress-plugin-linten
Official VitePress & Vite plugin for auditing llms.txt link health and compiling companion archives on buildEnd.
180
| Install | |
|---|---|
npm install @loopstates/vitepress-plugin-linten |
|
| Latest Version: | 1.0.0 |
| Vue: | 3 |
| License: | MIT |
| Last Updated: | Oct 9, 2026 |
| Links: | GitHub · npm |
Maintainer: loopstates-admin
@loopstates/vitepress-plugin-linten
The official VitePress plugin for automated llms.txt Spec v2 auditing, link reachability checks, and companion llms-full.txt compilation during static site generation.
Engineered by Loopstates and powered by the Linten Cloud Engine.
Quickstart
Install the plugin via npm:
npm install -D @loopstates/vitepress-plugin-linten @loopstates/linten
Wrap your configuration in .vitepress/config.js (or .vitepress/config.ts):
import { defineConfig } from 'vitepress';
import { withLinten } from '@loopstates/vitepress-plugin-linten';
export default withLinten(
defineConfig({
title: 'My Project Docs',
description: 'Documentation powered by VitePress'
}),
{
checkLinks: true, // Probes declared URLs for reachability
generateFull: true, // Compiles companion llms-full.txt into .vitepress/dist/
failOnBrokenLinks: false
}
);
Or attach the buildEnd hook directly:
import { defineConfig } from 'vitepress';
import { lintenBuildEnd } from '@loopstates/vitepress-plugin-linten';
export default defineConfig({
title: 'My Project Docs',
buildEnd: lintenBuildEnd({
checkLinks: true,
generateFull: true
})
});
Whenever you run vitepress build, Linten validates your manifest and writes the companion llms-full.txt file directly into your deployment bundle.
Configuration Options
{
// Path override (auto-detects in .vitepress/dist/llms.txt or public/llms.txt)
manifestPath: 'public/llms.txt',
// Concurrently probe declared links for 404s and redirect loops
checkLinks: true,
// Automatically compile companion llms-full.txt archive into build output
generateFull: true,
// Fail the VitePress build if dead documentation links are found
failOnBrokenLinks: false,
// Fail the VitePress build on Spec v2 syntax violations
failOnError: true
}
Community & Support
- Organization: Loopstates
- Web App: Linten Cloud
- GitHub Repository: Loopstates/linten-packages
License
Distributed under the MIT License. Copyright (c) 2026 Loopstates.
Related Packages
markdown-it-sfc-tabs-snippet
Markdown-it plugin to display Vue Single File Component as tabs snippets in mark...
260
0
Version History
| Version | Released | License |
|---|---|---|
| 1.0.0 | MIT |
Pre-releases (1)
| Version | Released | License |
|---|---|---|
| 0.0.0-stage |