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

Exclude permalink from word selection #245

Open
pyhedgehog opened this issue Aug 4, 2023 · 3 comments
Open

Exclude permalink from word selection #245

pyhedgehog opened this issue Aug 4, 2023 · 3 comments
Labels
doc builds Relates to building the documentation

Comments

@pyhedgehog
Copy link

Here are screenshot of problem:
image
When I double-click on section header to copy it to my code I don't want to finish with permalink-emoji within my YAML. :-)
Seems it rathes simple to fix - permalink matches .rst-content dl dt .headerlink, selector in theme.css. So all we need is to add user-select: none; like (and possibly a lot of browser-specific lines) there. At least this works-for-me in Firefox.

@github-actions github-actions bot added the needs_triage Needs a first human triage before being processed. label Aug 4, 2023
@felixfontein
Copy link
Collaborator

ansible-community/antsibull-docs#194 fixes a similar issue. The main issue reported here stems from sphinx_rtd_theme.

@felixfontein
Copy link
Collaborator

readthedocs/sphinx_rtd_theme#1497 fixes the reported issue with the theme.

@samccann samccann removed the needs_triage Needs a first human triage before being processed. label Aug 7, 2023
@samccann samccann added the doc builds Relates to building the documentation label Aug 24, 2023
@samccann
Copy link
Contributor

samccann commented Mar 7, 2024

@felixfontein it's been 7 months since your PR on the sphinx theme and no movement. Do you think we could patch this in the ansible sphinx theme instead? https://github.com/ansible-community/sphinx_ansible_theme

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc builds Relates to building the documentation
Projects
Status: 📋 Backlog
Development

No branches or pull requests

3 participants