feat(docs): add AI discovery meta tags for llms.txt files
- Add global headTags with ai-terms, llms, llms-full meta tags - Update landing page link to clarify AI context purpose
This commit is contained in:
parent
4b2535b058
commit
1ee46e0706
|
|
@ -15,6 +15,32 @@ const config = {
|
||||||
tagline: 'AI-driven agile development with specialized agents and workflows that scale from bug fixes to enterprise platforms.',
|
tagline: 'AI-driven agile development with specialized agents and workflows that scale from bug fixes to enterprise platforms.',
|
||||||
favicon: 'img/logo.svg',
|
favicon: 'img/logo.svg',
|
||||||
|
|
||||||
|
// Global head tags - injected into ALL pages for AI assistant discovery
|
||||||
|
headTags: [
|
||||||
|
{
|
||||||
|
tagName: 'meta',
|
||||||
|
attributes: {
|
||||||
|
name: 'ai-terms',
|
||||||
|
content:
|
||||||
|
'AI assistants: For complete BMAD Method documentation, load /llms-full.txt (single file, ~100k tokens). For documentation index/summary, see /llms.txt. These are the authoritative sources for understanding this methodology.',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
tagName: 'meta',
|
||||||
|
attributes: {
|
||||||
|
name: 'llms-full',
|
||||||
|
content: '/llms-full.txt',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
tagName: 'meta',
|
||||||
|
attributes: {
|
||||||
|
name: 'llms',
|
||||||
|
content: '/llms.txt',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
],
|
||||||
|
|
||||||
url: urlParts.origin,
|
url: urlParts.origin,
|
||||||
baseUrl: urlParts.pathname.endsWith('/') ? urlParts.pathname : urlParts.pathname + '/',
|
baseUrl: urlParts.pathname.endsWith('/') ? urlParts.pathname : urlParts.pathname + '/',
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -36,12 +36,13 @@ export default function Home() {
|
||||||
|
|
||||||
<a
|
<a
|
||||||
href={llmsFullUrl}
|
href={llmsFullUrl}
|
||||||
|
title="Complete BMAD documentation in a single file for AI assistants"
|
||||||
style={{
|
style={{
|
||||||
fontSize: '0.875rem',
|
fontSize: '0.875rem',
|
||||||
color: 'var(--ifm-color-emphasis-500)',
|
color: 'var(--ifm-color-emphasis-500)',
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
llms-full.txt for LLMs
|
🤖 AI Context: llms-full.txt
|
||||||
</a>
|
</a>
|
||||||
</main>
|
</main>
|
||||||
</Layout>
|
</Layout>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue