mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
feat(docs): add llms.txt links to GitHub Pages footer
Add llms.txt and llms-full.txt links in the footer with "AI-friendly docs" label. Also add link rel="llms-txt" head tag for automatic discovery by AI tools.
This commit is contained in:
@@ -11,6 +11,7 @@ export default defineConfig({
|
|||||||
head: [
|
head: [
|
||||||
["meta", { name: "theme-color", content: "#3b82f6" }],
|
["meta", { name: "theme-color", content: "#3b82f6" }],
|
||||||
["link", { rel: "icon", type: "image/svg+xml", href: "/Stirling-Image/favicon.svg" }],
|
["link", { rel: "icon", type: "image/svg+xml", href: "/Stirling-Image/favicon.svg" }],
|
||||||
|
["link", { rel: "llms-txt", href: "/Stirling-Image/llms.txt" }],
|
||||||
],
|
],
|
||||||
|
|
||||||
themeConfig: {
|
themeConfig: {
|
||||||
@@ -48,7 +49,9 @@ export default defineConfig({
|
|||||||
},
|
},
|
||||||
|
|
||||||
footer: {
|
footer: {
|
||||||
message: "Released under the MIT License.",
|
message:
|
||||||
|
'Released under the MIT License. · <a href="/Stirling-Image/llms.txt" style="opacity:0.7">llms.txt</a> · <a href="/Stirling-Image/llms-full.txt" style="opacity:0.7">llms-full.txt</a>',
|
||||||
|
copyright: 'AI-friendly docs available at <a href="/Stirling-Image/llms-full.txt">/llms-full.txt</a>',
|
||||||
},
|
},
|
||||||
|
|
||||||
editLink: {
|
editLink: {
|
||||||
|
|||||||
Reference in New Issue
Block a user