docs: add docusaurus-plugin-copy-page-button#4499
Conversation
|
@portdeveloper is attempting to deploy a commit to the Ionic Team on Vercel. A member of the Team first needs to authorize it. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Thank you for the PR! While we aren't against adding this, the default positioning looks a bit off when you scroll up/down with the header: Preview I tried adding some static positioning but it ends up looking like this:
I think this would look nice if we could statically position it in the header:
Or even in the side menu. |
|
Thanks for the detailed screenshots. I pushed an update that avoids the default automatic placement entirely:\n\n- upgraded to |



What this adds
A "Copy page" button in the docs sidebar that exports the current Ionic docs page as clean markdown, with one-click "Open in ChatGPT", "Open in Claude", and "Open in Gemini" actions.
Why for Ionic
Mobile developers using Ionic frequently ask AI tools for help with Capacitor APIs, native plugins, platform-specific configuration, and lifecycle quirks. Right now the flow is: scroll the docs, manually select page content (avoiding nav and code-block UI), paste, then ask the question. With this plugin it's: click → "Open in Claude".
The plugin is currently shipping on Ethereum execution-apis, Sui (Mysten Labs), Walrus, Seal, SuiNS, Monad, Flare, Kaia, Nillion, Chronicle, and Cardano docs. Also listed in the official Docusaurus community plugins.
Changes
docusaurus-plugin-copy-page-buttontodependenciesinpackage.json(^0.4.2, alphabetical position next to existingdocusaurus-plugin-*entries)pluginsarray indocusaurus.config.jsThe button auto-injects into the table-of-contents sidebar. No further config required, theme-aware, mobile-friendly, ~5kb client.
Links
Happy to revert or adjust if this doesn't fit the project's direction.