-
-
Notifications
You must be signed in to change notification settings - Fork 26.2k
[MRG] deprecated/removed Sphinx config variables #8828
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
Conversation
c947214
to
e8fb176
Compare
@lesteve one of the cfg variables affected here affects pdf doc generation...do you want to check this out? |
Have you managed to get the pdf doc generation working with sphinx 1.6? I had to revert to sphinx 1.5 because there was an error I did not understand. |
Also out of curiosity, does |
Is it just |
ok, I'm not quite able to figure out TeX setup on my Mac.. |
I think this might need a rebase onto master with the new sphinxgallery to work with current sphinx. |
I'm not sure we want to unpin sphinx entirely, given that it breaks so frequently (master seems broken right now, though going to 1.6.2 seems to fix it). |
f417918
to
a833e78
Compare
thanks for the ping @lesteve - rebased now. |
ping @lesteve |
ac3b9c5
to
c049bef
Compare
re-ping :) |
I am not sure what you mean by this, can you elaborate? Have you tried generating the PDF locally to quickly check that everything seemed fine? Just curious, is it still compatible with sphinx 1.5? |
@lesteve sorry, I don't think my laptop is setup to build LaTeX locally - I tried installing the packages a while back but couldn't quite get it to work. regarding Lines 227 to 230 in 71408e0
|
OK thanks, I'll try to generate the pdf locally to see whether I can spot any obvious problem. |
c049bef
to
921e3f2
Compare
I can generate the pdf locally and it looks fine. I rebased on master and pushed in your PR branch. Will merge when this is green. |
Thanks @lesteve! |
OK CircleCI is green, let's merge this one. |
Thanks a lot @naoyak! |
Updates the Sphinx config file to keep up with removals/deprecations in Sphinx 1.6.
exclude_trees
->exclude_patterns
latex_preamble
->latex_elements['preamble']
(currently emitting a deprecation warning on doc builds)As far as I can tell the main issue is that the LaTeX preamble will not be picked up when rendering docs as PDF.