site3: add docusaurus-plugin-copy-page-button#4761
Open
portdeveloper wants to merge 1 commit intoapache:masterfrom
Open
site3: add docusaurus-plugin-copy-page-button#4761portdeveloper wants to merge 1 commit intoapache:masterfrom
portdeveloper wants to merge 1 commit intoapache:masterfrom
Conversation
Adds a 'Copy page' button to the docs sidebar that exports the page as clean markdown for use with ChatGPT, Claude, and Gemini.
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 Apache BookKeeper docs page as clean markdown, with one-click "Open in ChatGPT", "Open in Claude", and "Open in Gemini" actions.
Why for BookKeeper
BookKeeper is the kind of distributed systems codebase that devs ask AI assistants about constantly: protocol details, configuration tuning, deployment patterns, and the various API surface for the client SDKs. A one-click handoff from any docs page into Claude or ChatGPT removes the friction of "select all, strip out the nav, paste."
The plugin auto-injects into the table-of-contents sidebar — no further config needed and no new build step.
Production users
The plugin is currently shipping on Ethereum execution-apis, Sui (Mysten Labs), Walrus, Seal, SuiNS, Monad, Flare, Kaia, Nillion, Chronicle, Cardano, Kurtosis, and Dagger docs. ~10k npm installs/month.
Changes
docusaurus-plugin-copy-page-buttontosite3/website/package.jsondependenciespluginsarray insite3/website/docusaurus.config.jsLinks
Happy to revert or adjust if this doesn't fit the project's direction.