Skip to content

feat(docs): Add a "copy" button to code blocks#11837

Merged
joshtrichards merged 1 commit intomasterfrom
copybutton
May 17, 2024
Merged

feat(docs): Add a "copy" button to code blocks#11837
joshtrichards merged 1 commit intomasterfrom
copybutton

Conversation

@joshtrichards
Copy link
Member

☑️ Resolves

This makes it easy to copy and paste config files, snippets, and code examples. Pretty self explanatory.

https://github.com/executablebooks/sphinx-copybutton

🖼️ Screenshots

image

image

Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
@joshtrichards
Copy link
Member Author

/backport to stable29

@joshtrichards
Copy link
Member Author

/backport to stable28

@joshtrichards
Copy link
Member Author

/backport to stable27

@szaimen szaimen removed their request for review May 17, 2024 13:03
@joshtrichards joshtrichards requested a review from kesselb May 17, 2024 13:57
Copy link
Contributor

@susnux susnux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@joshtrichards joshtrichards merged commit a8e05dc into master May 17, 2024
@joshtrichards joshtrichards deleted the copybutton branch May 17, 2024 15:37
@backportbot
Copy link

backportbot bot commented May 17, 2024

The backport to stable27 failed. Please do this backport manually.

# Switch to the target branch and update it
git checkout stable27
git pull origin stable27

# Create the new backport branch
git checkout -b backport/11837/stable27

# Cherry pick the change from the commit sha1 of the change against the default branch
# This might cause conflicts, resolve them
git cherry-pick 8cb68ea0

# Push the cherry pick commit to the remote repository and open a pull request
git push origin backport/11837/stable27

Error: No changes found in backport branch


Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

@github-actions

This comment was marked as resolved.

@nickvergessen
Copy link
Member

Woho 🎉
Thanks a lot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants