Add docusaurus-plugin-copy-page-button#103
Open
portdeveloper wants to merge 1 commit intoPufferFinance:mainfrom
Open
Add docusaurus-plugin-copy-page-button#103portdeveloper wants to merge 1 commit intoPufferFinance:mainfrom
portdeveloper wants to merge 1 commit intoPufferFinance:mainfrom
Conversation
Adds a 'Copy page' button to the docs sidebar that exports the page as clean markdown for use with ChatGPT, Claude, and Gemini.
|
@portdeveloper is attempting to deploy a commit to the Puffer Team on Vercel. A member of the Team first needs to authorize it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
docusaurus-plugin-copy-page-buttontodependenciespluginsarray indocusaurus.config.jsThe 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.