From 85e6ef90dcacbbf43f80ac7b095bb078d5d89cc4 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 24 Feb 2026 02:56:00 +0000 Subject: [PATCH 1/3] Initial plan From bb32d1375986735fde668dc077548445d01c8d28 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 24 Feb 2026 03:07:48 +0000 Subject: [PATCH 2/3] Add Quick Links for Agents footer to llms.txt Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> --- docs/astro.config.mjs | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/docs/astro.config.mjs b/docs/astro.config.mjs index b3a9c42e8b..da9c70b4df 100644 --- a/docs/astro.config.mjs +++ b/docs/astro.config.mjs @@ -7,8 +7,30 @@ import starlightGitHubAlerts from 'starlight-github-alerts'; import starlightBlog from 'starlight-blog'; import mermaid from 'astro-mermaid'; import { fileURLToPath } from 'node:url'; +import { readFileSync, writeFileSync } from 'node:fs'; import remarkStripEmojis from './src/lib/remark/stripEmojis.js'; +const LLMS_TXT_FOOTER = ` + +## Quick Links for Agents + +- Create a new workflow: https://raw.githubusercontent.com/github/gh-aw/main/create.md +- Install gh-aw: https://raw.githubusercontent.com/github/gh-aw/main/install.md +- Reference: https://raw.githubusercontent.com/github/gh-aw/main/.github/aw/github-agentic-workflows.md +`; + +/** @type {import('astro').AstroIntegration} */ +const llmsTxtFooter = { + name: 'llms-txt-footer', + hooks: { + 'astro:build:done': ({ dir }) => { + const llmsTxtPath = new URL('llms.txt', dir); + const content = readFileSync(llmsTxtPath, 'utf-8'); + writeFileSync(llmsTxtPath, content.trimEnd() + LLMS_TXT_FOOTER); + }, + }, +}; + /** * Creates blog authors config with GitHub profile pictures * @param {Record} authors @@ -258,5 +280,6 @@ export default defineConfig({ { label: 'Editors', link: '/reference/editors/' }, ], }), + llmsTxtFooter, ], }); From 42cabaab6a72471ed0f3dc05bb6ffdf81f7a2aa5 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 24 Feb 2026 03:16:10 +0000 Subject: [PATCH 3/3] Inject agent links into Footer component alongside other links Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> --- docs/astro.config.mjs | 23 ----------------------- docs/src/components/CustomFooter.astro | 21 +++++++++++++++++++++ 2 files changed, 21 insertions(+), 23 deletions(-) diff --git a/docs/astro.config.mjs b/docs/astro.config.mjs index da9c70b4df..b3a9c42e8b 100644 --- a/docs/astro.config.mjs +++ b/docs/astro.config.mjs @@ -7,30 +7,8 @@ import starlightGitHubAlerts from 'starlight-github-alerts'; import starlightBlog from 'starlight-blog'; import mermaid from 'astro-mermaid'; import { fileURLToPath } from 'node:url'; -import { readFileSync, writeFileSync } from 'node:fs'; import remarkStripEmojis from './src/lib/remark/stripEmojis.js'; -const LLMS_TXT_FOOTER = ` - -## Quick Links for Agents - -- Create a new workflow: https://raw.githubusercontent.com/github/gh-aw/main/create.md -- Install gh-aw: https://raw.githubusercontent.com/github/gh-aw/main/install.md -- Reference: https://raw.githubusercontent.com/github/gh-aw/main/.github/aw/github-agentic-workflows.md -`; - -/** @type {import('astro').AstroIntegration} */ -const llmsTxtFooter = { - name: 'llms-txt-footer', - hooks: { - 'astro:build:done': ({ dir }) => { - const llmsTxtPath = new URL('llms.txt', dir); - const content = readFileSync(llmsTxtPath, 'utf-8'); - writeFileSync(llmsTxtPath, content.trimEnd() + LLMS_TXT_FOOTER); - }, - }, -}; - /** * Creates blog authors config with GitHub profile pictures * @param {Record} authors @@ -280,6 +258,5 @@ export default defineConfig({ { label: 'Editors', link: '/reference/editors/' }, ], }), - llmsTxtFooter, ], }); diff --git a/docs/src/components/CustomFooter.astro b/docs/src/components/CustomFooter.astro index baf2ce69a1..72133076a1 100644 --- a/docs/src/components/CustomFooter.astro +++ b/docs/src/components/CustomFooter.astro @@ -11,6 +11,16 @@ const heartIcon = octicons.heart.toSVG({ width: 14, height: 14 }); + +

Made with by GitHub Next & Microsoft Research @@ -47,6 +57,17 @@ const heartIcon = octicons.heart.toSVG({ width: 14, height: 14 }); font-size: 0.875rem; } + .agent-links { + margin-bottom: 1rem; + text-align: center; + display: flex; + align-items: center; + justify-content: center; + gap: 0.5rem; + flex-wrap: wrap; + font-size: 0.875rem; + } + .github-next-footer p { margin: 0; font-size: 0.875rem;