Repository navigation
Conversation
|
Nice! That has bothered me for quite a while but I never looked enough to do something about it. Some notes:
Aside, I saw that Sphinx includes something upstream now: https://www.sphinx-doc.org/en/master/usage/restructuredtext/directives.html#directive-seealso (this isn't the anchor but look at "collapseable text" right below here). I wonder if sometime it would be better to move to this instead of a separate extension. |
|
I put it here: |
|
this could be merged ... |
- Maybe doesn't go here but does is a sphinx-rtd-theme specific issue so most natuarlly goes in this repo, to get inherited to where it's needed. - Original fix from coderefinery/sphinx-lesson#111 with all code by @frankier
|
I see uncommitted code in my sphinx-rtd-theme-ext-color-contrast repo so I will deploy that |
- Maybe doesn't go here but does is a sphinx-rtd-theme specific issue so most natuarlly goes in this repo, to get inherited to where it's needed. - Original fix from coderefinery/sphinx-lesson#111 with all code by @frankier
|
I have now deployed this in https://pypi.org/project/sphinx-rtd-theme-ext-color-contrast/ version 0.3.3. My fresh rebuild of social-coding with newly rebuilt environment implies it works as expected. |
|
I'm sorry for making a new PR/fix but I credited @frankier. Now lessons need to rebuild to get it. I'll leave this open until the fix is verified. |
|
Um, why does it appear to be expanded by default now... investigating |
|
False-ish alarm: it works OK on the normal lesson pages, but in the exercise list it is expanded by default. But, it was already broken like this sometimes in the exercise list, so maybe that's OK for now... it needs to be figured out, though. |
|
Thanks Richard for improving the fix and sorry for not responding earlier -- slipped my mind. |
See executablebooks/sphinx-togglebutton#75