Skip to content

Add Copy page / Open in ChatGPT & Claude actions for AI-friendly docs - #90

Open
nabinkhair42 wants to merge 1 commit into
khalti:masterfrom
nabinkhair42:feat/ai-copy-open-actions
Open

Add Copy page / Open in ChatGPT & Claude actions for AI-friendly docs#90
nabinkhair42 wants to merge 1 commit into
khalti:masterfrom
nabinkhair42:feat/ai-copy-open-actions

Conversation

@nabinkhair42

Copy link
Copy Markdown

Summary

  • Adds Copy page, View as Markdown, Open in ChatGPT, and Open in Claude on each docs page
  • Uses mkdocs-copy-to-llm with Material for MkDocs
  • Enables content.action.edit so markdown URLs resolve correctly
  • Updates deploy workflow to install the plugin

Test plan

  • pip install mkdocs-material mkdocs-copy-to-llm && mkdocs serve
  • Confirm the control appears near the page title
  • Copy page / View as Markdown / Open in ChatGPT / Claude all work
  • Search still works

Enable mkdocs-copy-to-llm so merchants can copy page markdown or open the
current docs page in ChatGPT/Claude, matching modern agentic docs UX.

Co-authored-by: Cursor <cursoragent@cursor.com>
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