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

Some links became blue in 1.12.0rc1 #335

Closed
coruscating opened this issue May 17, 2023 · 0 comments · Fixed by #336
Closed

Some links became blue in 1.12.0rc1 #335

coruscating opened this issue May 17, 2023 · 0 comments · Fixed by #336
Assignees
Labels
bug Something isn't working

Comments

@coruscating
Copy link
Collaborator

coruscating commented May 17, 2023

Some links are now blue
image
when they were purple or gray before:
image

It seems to only affect links that are code-related:

image

These <a> elements gained the has-code class in 1.12.0rc1, which turned them a different color.

@coruscating coruscating added the bug Something isn't working label May 17, 2023
@Eric-Arellano Eric-Arellano self-assigned this May 17, 2023
Eric-Arellano added a commit that referenced this issue May 17, 2023
Closes #335.

I git bisected this to
#292. Before, we
weren't actually fully running `theme.js` because JavaScript errors
prevented the file from fully executing. @coruscating identified that
before the regression, the HTML elements did not have the class
`.has-code`, but after they did. I suspect `theme.js` is responsible for
that (but I couldn't figure out how!)

Either way, these rules about `.has-code` are bad. We should not be
setting links to be blue.
Eric-Arellano added a commit to Eric-Arellano/qiskit_sphinx_theme that referenced this issue May 17, 2023
Closes Qiskit#335.

I git bisected this to
Qiskit#292. Before, we
weren't actually fully running `theme.js` because JavaScript errors
prevented the file from fully executing. @coruscating identified that
before the regression, the HTML elements did not have the class
`.has-code`, but after they did. I suspect `theme.js` is responsible for
that (but I couldn't figure out how!)

Either way, these rules about `.has-code` are bad. We should not be
setting links to be blue.
HuangJunye pushed a commit that referenced this issue May 18, 2023
Closes #335.

I git bisected this to
#292. Before, we
weren't actually fully running `theme.js` because JavaScript errors
prevented the file from fully executing. @coruscating identified that
before the regression, the HTML elements did not have the class
`.has-code`, but after they did. I suspect `theme.js` is responsible for
that (but I couldn't figure out how!)

Either way, these rules about `.has-code` are bad. We should not be
setting links to be blue.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants