-
-
Notifications
You must be signed in to change notification settings - Fork 349
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
fix pygments style in docs #535
Conversation
AppVeyor Python35-x64 Windows build failed (see logs):
Closing/reopening to see if the problem magically goes away. |
Codecov Report
@@ Coverage Diff @@
## master #535 +/- ##
=======================================
Coverage 99.28% 99.28%
=======================================
Files 89 89
Lines 10483 10483
Branches 726 726
=======================================
Hits 10408 10408
Misses 58 58
Partials 17 17 Continue to review full report at Codecov.
|
You could just go to appveyor and click the Rebuild button … |
@sorcio Actually that turns out not to be an issue with Appveyor – they keep the logs of superseded attempts around and assign new build IDs. I'll ask the Travis people to please do the same thing. |
That appveyor failure makes no sense :-(. If it was on pip 10, and on MacOS, it'd be #508, but in this case I have no idea :-(. Well, I'll add it to #200 anyway... I also don't understand at all what's going on with RTD and sphinx and pygments and why this patch would fix anything, but I agree that people are claiming that it helped them and it seems harmless otherwise, so I guess let's merge it and see what RTD does. |
I'm looking at trio.readthedocs.io now, and it doesn't look like highlighting is fixed :-( |
Nope :( Maybe we should revert this but I have no idea what I'm doing. I think the issue is still the missing CSS. Other updates to the theme are missing, like alt text on the logo (readthedocs/sphinx_rtd_theme@ed48532#diff-1336f80431f476a232e3c48abb277c51) so I'm pretty sure that we're still using an older theme version. I don't know why yet. I don't have a clear memory of this: did syntax highlighting ever work? I will investigate further later. |
Ah, now I get it. |
RTD deployed with the updated theme and now we have syntax highlighting! 🎉 BTW this possibly means that we can do away with some hacks and fixes (but I'm not going to look into that right now) |
Well, I guess it's nice when ignoring a problem makes it go away :-) Thanks for following up! |
Fixing
pygments_style
according to readthedocs/sphinx_rtd_theme#633 (comment)