Skip to content

docs: explain AI-friendly access - #6

Merged
Cc-Cece merged 1 commit into
mainfrom
agent/document-ai-access
Aug 12, 2026
Merged

Cc-Cece merged 1 commit into
mainfrom
agent/document-ai-access

Conversation

@Cc-Cece

@Cc-Cece Cc-Cece commented Aug 12, 2026

Copy link
Copy Markdown
Collaborator

What changed

  • add a compact AI access section after the project cards on both documentation homepages
  • explain the Chinese llms.txt index and per-page Markdown route convention
  • add a one-click localized prompt for AI tools
  • provide copied/failed feedback, keyboard focus styling, and responsive layout

Why

The site now publishes AI-friendly Markdown, but visitors had no concise explanation of how an AI tool should discover and consume it.

Validation

  • npm run typecheck
  • npm run build
  • verified Chinese and English homepage content in generated HTML
  • verified /llms.txt and /intro.md return HTTP 200 locally
  • reviewed React event handling, timer cleanup, semantic button usage, focus styling, and live feedback

The existing two broken-anchor warnings are unchanged from main. The in-app browser was unavailable, so system clipboard contents could not be asserted automatically; the clipboard handler and rendered controls were reviewed directly.

@Cc-Cece
Cc-Cece marked this pull request as ready for review August 12, 2026 16:34

@Cc-Cece Cc-Cece left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed the complete remote diff. The AI access section is placed after the project entries, keeps the explanation concise, links directly to llms.txt, and supplies localized prompts with accessible copy feedback. React event handling and timer cleanup are sound. TypeScript, production build, local HTTP checks, and GitHub Actions pass. No blocking findings.

@Cc-Cece
Cc-Cece merged commit 96e7691 into main Aug 12, 2026
1 check 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