Skip to content

Add docusaurus-plugin-copy-page-button to docs site - #4368

Closed
portdeveloper wants to merge 1 commit into
lerna:mainfrom
portdeveloper:add-copy-page-button
Closed

portdeveloper wants to merge 1 commit into
lerna:mainfrom
portdeveloper:add-copy-page-button

Conversation

@portdeveloper

Copy link
Copy Markdown

This PR

  • adds docusaurus-plugin-copy-page-button to website/package.json
  • adds the plugin string to plugins in website/docusaurus.config.js
  • puts a "Copy page" button in the docs sidebar — exports current page as clean markdown
  • adds one-click "Open in Claude / ChatGPT / Gemini" actions that prefill the markdown

why useful for Lerna specifically:
monorepo config has a lot of per-page nuance — lerna.json, versioning modes, publishing, task running/caching. when someone's debugging a publish or version flow the usual move is pasting the relevant docs page into an LLM alongside their error. this makes that one click and keeps the markdown clean.

zero config, auto-injects into the TOC sidebar, theme-aware.

shipping on React Native, Redux Toolkit, Puppeteer, pnpm, PlayCanvas, Arbitrum, Cardano, Sui, Nillion, Flare, Kaia, and ~20 other docs sites. listed on the Docusaurus community plugins page.

happy to close/rebase if not a fit

@portdeveloper

Copy link
Copy Markdown
Author

gentle nudge on this one 🙏 still mergeable and there's no config burden on your end — it's an opt-in plugin. it's kept shipping since i opened this: redux toolkit, stryker, and ionic all merged it recently. happy to rebase or tweak anything if it'd help it land.

@JamesHenry JamesHenry mentioned this pull request Jun 24, 2026
4 of 10 tasks
@portdeveloper

Copy link
Copy Markdown
Author

hey, just bumping this gently. happy to rebase or make any changes if it helps move it along. no rush, thanks so much 🙏

@JamesHenry

Copy link
Copy Markdown
Member

Thanks @portdeveloper, but I'll close based on the current security profile of the project, especially as it's a nice to have https://socket.dev/npm/package/docusaurus-plugin-copy-page-button/overview/0.8.4

I'm open to revisiting in future

@JamesHenry JamesHenry closed this Jul 14, 2026
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.

2 participants