-
-
Couldn't load subscription status.
- Fork 2.3k
Group nodes generated by :kbd: role and add class to separators (#13876) #13877
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
base: master
Are you sure you want to change the base?
Conversation
|
Test failures seem related. Please also add a CHANGES entry. |
7c2c65e to
8781d36
Compare
Fixed and done! Not sure you got notified of my new commits, so here's a friendly nudge 🙂 |
Mmm, this makes things less consistent, I think. The wrapper element could be used to style the entire keyboard shortcut, whether it consists of a single keypress or a combination. Note that the wrapper does not affect the styling of a single |
|
@brechtm yes, though I'd argue also clearer semantics. A nested If your problem is CSS, would it work to adjust the classes in some fashion? A |
|
Oops, I was mixing up the docutils doctree and the HTML representation. My primary concern is the rinohtype implementation, of course. I think it makes sense that the docutils tree for this would consistently have the outer (compound) level, even if there's only a single child element inside. The HTML writer can always remove it when there is only a single child element, even though it could be useful to have the outer |
See #13876: Regression: :kbd: in Sphinx 8.2