Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "copy to clipboard" buttons to example commands on the website #2096

Closed
roberthbailey opened this issue May 7, 2021 · 3 comments · Fixed by #2149
Closed

Add "copy to clipboard" buttons to example commands on the website #2096

roberthbailey opened this issue May 7, 2021 · 3 comments · Fixed by #2149
Labels
area/site The website itself - including redirects, styling, search, etc good first issue These are great first issues. If you are looking for a place to start, start here! help wanted We would love help on these issues. Please come help us! kind/feature New features for Agones
Milestone

Comments

@roberthbailey
Copy link
Member

Is your feature request related to a problem? Please describe.
It's easy to make a mistake when copy/pasting from the agones documentation site. One example is when setting up the allocator service: https://agones.dev/site/docs/advanced/allocator-service/

Describe the solution you'd like
This could be solved by adding a button that allows the user to copy to clipboard, rather than relying on them selecting the command themselves. If we do this, we should look at other pages that would also benefit from having commands be easily copied (although we may need to create other bugs since the surface area is pretty large).

Describe alternatives you've considered
Leave as-is, maybe simplify the service setup so that it takes fewer steps?

@roberthbailey roberthbailey added kind/feature New features for Agones help wanted We would love help on these issues. Please come help us! good first issue These are great first issues. If you are looking for a place to start, start here! area/site The website itself - including redirects, styling, search, etc labels May 7, 2021
@markmandel
Copy link
Member

google/docsy#292 seems like it's taken care of inside Docsy?

Might be time to upgrade #1819 ?

@roberthbailey
Copy link
Member Author

That sounds like a good way to fix this.

@markmandel
Copy link
Member

The new https://www.docsy.dev/docs/adding-content/shortcodes/#tabbed-panes looks super handy too!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/site The website itself - including redirects, styling, search, etc good first issue These are great first issues. If you are looking for a place to start, start here! help wanted We would love help on these issues. Please come help us! kind/feature New features for Agones
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants