Skip to content

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

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

Add docusaurus-plugin-copy-page-button#4618
portdeveloper wants to merge 1 commit into
temporalio:mainfrom
portdeveloper:add-copy-page-button

Conversation

@portdeveloper
Copy link
Copy Markdown

@portdeveloper portdeveloper commented May 25, 2026

Summary

Adds docusaurus-plugin-copy-page-button to docs.temporal.io so readers can copy any page as clean markdown — useful when piping workflow/activity API or troubleshooting context into ChatGPT, Claude, Perplexity, or Gemini.

The plugin auto-injects a small "Copy page" button + dropdown into the doc page's table-of-contents area. The dropdown offers:

  • Copy as markdown
  • View as markdown
  • Open in ChatGPT / Claude / Perplexity / Gemini

Live preview of the UI: https://portdeveloper.github.io/copy-page-button-showcase/

Relationship to existing LLM features

Temporal docs already does great work on machine-readable content:

  • docusaurus-plugin-llms generates /llms.txt, /llms-full.txt, and the custom llms-quickstart.txt / llms-api-reference.txt corpus files.
  • The custom plugins/markdown-pages plugin makes every page available at <path>.md.

This PR doesn't replace or duplicate any of that — those remain perfect for whole-corpus consumption and agent fetching. The plugin adds the UI affordance: a reader on a specific page can grab just that page's markdown, or one-click open it in ChatGPT/Claude/Perplexity/Gemini for a focused conversation. Build output confirms all existing corpus files still generate.

Adoption

The plugin currently ships on docs sites for React Native (just merged via facebook/react-native-website#5085), Puppeteer, Arbitrum, Cardano, Sui, Ethereum execution-apis, and several others — full list in the project README.

Changes

  • Added 'docusaurus-plugin-copy-page-button' to the plugins array in docusaurus.config.js
  • Added docusaurus-plugin-copy-page-button@^0.6.2 to dependencies
  • Resulting yarn.lock updates

yarn build passes — existing llms.txt, llms-full.txt, custom corpus files, and markdown-pages output all still generate.

┆Attachments: EDU-6425 Add docusaurus-plugin-copy-page-button

@portdeveloper portdeveloper requested a review from a team as a code owner May 25, 2026 17:12
@vercel
Copy link
Copy Markdown

vercel Bot commented May 25, 2026

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

A member of the Team first needs to authorize it.

@CLAassistant
Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck 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.

2 participants