Skip to content

Add docusaurus-plugin-copy-page-button (copy page as markdown / open in AI) #796

Description

@portdeveloper

Hi! I'd like to propose adding docusaurus-plugin-copy-page-button to the Astar docs, and I'm opening this issue first per the contributing policy.

What it does: adds a "Copy page" button to each docs page that lets readers copy the page as clean markdown or open it directly in ChatGPT / Claude / Perplexity / Gemini — handy for anyone pulling docs into an LLM to ask questions.

Why: the docs don't currently have a page-level copy / open-in-AI action or an llms.txt / per-page .md export, so this fills that gap without duplicating anything.

It's zero-config: added to the plugins array, it auto-injects the button into the table-of-contents sidebar (falls back to the top of the article on mobile / no-TOC pages). Placement, styling, and which AI actions show are all configurable. Demo/showcase: https://portdeveloper.github.io/copy-page-button-showcase/

I've already prepared the change and verified docusaurus build passes locally — happy to open the PR if the team is interested. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions