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

RTD No Longer Has Copy Code Button #4258

Closed
jvanderaa opened this issue Aug 14, 2023 · 3 comments · Fixed by #4259
Closed

RTD No Longer Has Copy Code Button #4258

jvanderaa opened this issue Aug 14, 2023 · 3 comments · Fixed by #4259
Assignees
Labels
type: bug Something isn't working as expected

Comments

@jvanderaa
Copy link
Contributor

Environment

  • Nautobot version (Docker tag too if applicable): RTD

Steps to Reproduce

  1. Go to RTD page
  2. Look for copy code button
  3. Missing

Expected Behavior

Expected to see copy code button

Observed

Missing button.

@jvanderaa jvanderaa self-assigned this Aug 14, 2023
@jvanderaa
Copy link
Contributor Author

@jvanderaa
Copy link
Contributor Author

There should be a copy code button here.

Screenshot from 2023-08-14 14-52-24

@bryanculver bryanculver added the type: bug Something isn't working as expected label Aug 14, 2023
@gsnider2195
Copy link
Contributor

We upgraded to mkdocs-material 9.0.0 which made this change:

Added support for removing copy-to-clipboard button

The default is now disabled so we need to add this to our mkdocs.yml to re-enable the feature:

theme:
  features:
    - content.code.copy

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug Something isn't working as expected
Projects
No open projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants