Skip to content

Add Markdown negotiation for agents - #109

Merged
ashryanbeats merged 2 commits into
mainfrom
dev/markdown-for-agents
Jul 10, 2026
Merged

ashryanbeats merged 2 commits into
mainfrom
dev/markdown-for-agents

Conversation

@ashryanbeats

Copy link
Copy Markdown
Member

Summary

  • adds a build-generated English/Japanese Markdown representation of the homepage
  • adds route-scoped Cloudflare Pages Functions for / and /ja/ that negotiate Accept: text/markdown
  • keeps browser HTML and static assets on the existing static path
  • adds _routes.json, generated-content ignore rules, and Knip entry configuration
  • validates event/member-feed links and includes current event, RSVP, map, community, and published member-content links

Verification

  • npm run check
  • npm run build
  • npx astro build
  • focused negotiation/content tests
  • local function simulation confirms 200, text/markdown, and Vary: Accept

Preview acceptance

The deployed preview should confirm:

curl -H 'Accept: text/markdown' -D - https://preview-url/
curl -D - https://preview-url/
curl -H 'Accept: text/markdown' -D - https://preview-url/ja/

The first and third requests should return Markdown; the browser request should remain HTML.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 10, 2026

Copy link
Copy Markdown

Deploying kyoto-tech-github-io with  Cloudflare Pages  Cloudflare Pages

Latest commit: 091ad18
Status: ✅  Deploy successful!
Preview URL: https://f515e91c.kyoto-tech-github-io.pages.dev
Branch Preview URL: https://dev-markdown-for-agents.kyoto-tech-github-io.pages.dev

View logs

@ashryanbeats
ashryanbeats force-pushed the dev/markdown-for-agents branch from 0784021 to 0f35ab2 Compare July 10, 2026 06:25
@ashryanbeats
ashryanbeats marked this pull request as ready for review July 10, 2026 06:31
@ashryanbeats
ashryanbeats merged commit 3dec920 into main Jul 10, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant