Skip to content

Docs: Add copy button to code blocks in documents - #1744

Merged
timsaucer merged 1 commit into
apache:mainfrom
konjac:docs-add-copy-button
Sep 17, 2026
Merged

timsaucer merged 1 commit into
apache:mainfrom
konjac:docs-add-copy-button

Conversation

@konjac

@konjac konjac commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Closes #1743.

What changes are included in this PR?

Use sphinx extension sphinx_copybutton to add copy buttons for all code blocks in docs.

Here is a screenshot after the change.

copy-button

Are there any user-facing changes?

Only document enhancement.

@timsaucer

Copy link
Copy Markdown
Member

Can you post a screenshot demonstrating it works?

@konjac

konjac commented Sep 17, 2026

Copy link
Copy Markdown
Contributor Author

Can you post a screenshot demonstrating it works?

@timsaucer Sure. I have uploaded a screenshot to the description.

@timsaucer
timsaucer merged commit 516d20d into apache:main Sep 17, 2026
26 checks passed
@timsaucer

Copy link
Copy Markdown
Member

Thank you for the PR!

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.

Documentation: add copy button to code blocks

2 participants