Skip to content

Commit da23bfd

Browse files
raifdmuellerclaude
andcommitted
feat: Link llms.txt and all-anchors.adoc from footer and robots.txt
- Add llms.txt link to robots.txt for LLM discoverability - Add footer links to llms.txt (relative) and all-anchors.adoc (GitHub) - Add i18n keys footer.llmsTxt and footer.allAnchors (EN + DE) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 09ce24d commit da23bfd

4 files changed

Lines changed: 22 additions & 0 deletions

File tree

website/public/robots.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,8 @@ Allow: /
66
# Sitemaps
77
Sitemap: https://llm-coding.github.io/Semantic-Anchors/sitemap.xml
88

9+
# LLM-readable full reference
10+
llms.txt: https://llm-coding.github.io/Semantic-Anchors/llms.txt
11+
912
# Disallow search bot indexing of specific paths if needed
1013
# (currently allowing all)

website/src/components/footer.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,21 @@ export function renderFooter(version) {
2323
${i18n.t('footer.leaveStar')}
2424
</a>
2525
<span class="text-gray-300 dark:text-gray-600">|</span>
26+
<a
27+
href="llms.txt"
28+
class="text-sm text-[var(--color-text-secondary)] hover:text-[var(--color-text)] transition-colors"
29+
data-i18n="footer.llmsTxt"
30+
title="LLM-readable full reference"
31+
>${i18n.t('footer.llmsTxt')}</a>
32+
<span class="text-gray-300 dark:text-gray-600">|</span>
33+
<a
34+
href="https://github.com/LLM-Coding/Semantic-Anchors/blob/main/docs/all-anchors.adoc"
35+
target="_blank"
36+
rel="noopener noreferrer"
37+
class="text-sm text-[var(--color-text-secondary)] hover:text-[var(--color-text)] transition-colors"
38+
data-i18n="footer.allAnchors"
39+
>${i18n.t('footer.allAnchors')}</a>
40+
<span class="text-gray-300 dark:text-gray-600">|</span>
2641
<a
2742
href="https://github.com/LLM-Coding/Semantic-Anchors"
2843
target="_blank"

website/src/translations/de.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
"footer.tagline": "Semantic Anchors - Gemeinsames Vokabular für LLM-Kommunikation",
1919
"footer.github": "GitHub",
2020
"footer.leaveStar": "Dir gefallen die semantischen Anker? Hinterlasse einen Stern!",
21+
"footer.llmsTxt": "llms.txt",
22+
"footer.allAnchors": "Vollständige Referenz",
2123
"categories.communication-presentation": "Kommunikation & Präsentation",
2224
"categories.design-principles": "Design-Prinzipien & Muster",
2325
"categories.development-workflow": "Entwicklungs-Workflow",

website/src/translations/en.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
"footer.tagline": "Semantic Anchors - Shared vocabulary for LLM communication",
1919
"footer.github": "GitHub",
2020
"footer.leaveStar": "Like Semantic Anchors? Leave a star!",
21+
"footer.llmsTxt": "llms.txt",
22+
"footer.allAnchors": "Full Reference",
2123
"categories.communication-presentation": "Communication & Presentation",
2224
"categories.design-principles": "Design Principles & Patterns",
2325
"categories.development-workflow": "Development Workflow",

0 commit comments

Comments
 (0)