Skip to content

Add docusaurus-plugin-copy-page-button#103

Open
portdeveloper wants to merge 1 commit intoPufferFinance:mainfrom
portdeveloper:add-copy-page-button-plugin
Open

Add docusaurus-plugin-copy-page-button#103
portdeveloper wants to merge 1 commit intoPufferFinance:mainfrom
portdeveloper:add-copy-page-button-plugin

Conversation

@portdeveloper
Copy link
Copy Markdown

What this adds

A "Copy page" button in the docs sidebar that exports the current Puffer Finance docs page as clean markdown, with one-click "Open in ChatGPT", "Open in Claude", and "Open in Gemini" actions.

Why for Puffer

The plugin is already shipping on most major DeFi/L1 docs sites: Ethereum execution-apis, Sui (Mysten Labs), Walrus, Seal, SuiNS, Monad, Flare, Kaia, Nillion, Chronicle, and Cardano. Restaking and preconf docs are exactly the kind of content devs paste into Claude or ChatGPT to ask "what would this contract integration look like" or "explain the slashing conditions in this validator setup."

Changes

  • Adds docusaurus-plugin-copy-page-button to dependencies
  • Adds the plugin string to the end of the plugins array in docusaurus.config.js

The button auto-injects into the table-of-contents sidebar across all your docs routes (yield, puffer-preconf, institutional). No further config required, theme-aware, mobile-friendly.

Links

Happy to revert or adjust if this doesn't fit the project's direction.

Adds a 'Copy page' button to the docs sidebar that exports the page as
clean markdown for use with ChatGPT, Claude, and Gemini.
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 28, 2026

@portdeveloper is attempting to deploy a commit to the Puffer Team on Vercel.

A member of the Team first needs to authorize it.

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