Closed choldgraf closed 1 year ago
@AakashGfude could you have a look at this one?
Thanks! The title is visible now, but it intersects with the search bar.
Also, may I ask you to build a new rc version when this is merged? I will try it out in our repo and will tell you if something goes wrong.
Hmm if you need this quickly it may need to be split into multiple PRs. This currently builds off of main for the pydata theme, so we'd need to wait for a release there.
No pressure here, we're not in a hurry at all :) I just wanted to emphasize that after these changes, I will probably be quite happy with the new release and if needed, will do one more detailed comparison to see what's not working in our docs.
@mathbunnyru you can also install from the branch directly if you want to experiment i think!
I always end up googling how though, but i think @choldgraf may have a blogpost about it? 😅🥰
I actually tried it once locally and it didn't work for me on my m2 mac. I will try once again, when I have time :)
A few more differences I found with this PR (I compared it with the previous one):
It now adds ;
after Copyright sign.
Code blocks highlighting looks different. already merged pr: https://sphinx-book-theme--669.org.readthedocs.build/en/669/notebooks.html#code-blocks-and-image-outputs this pr: https://sphinx-book-theme--668.org.readthedocs.build/en/668/notebooks.html#code-blocks-and-image-outputs
This page is not rendered properly at all - images and dataframes are missing, interactive part is also gone.
Thanks! The title is visible now, but it intersects with the search bar.
Is the title purposefully made visible?
EDIT: Ok, got it, based on this issue: https://github.com/executablebooks/sphinx-book-theme/issues/672
Something crazy happened in Sphinx extension styles page
: https://sphinx-book-theme--668.org.readthedocs.build/en/668/reference/extensions.html
But the same problem is in the production page as well: https://sphinx-book-theme.readthedocs.io/en/latest/reference/extensions.html . I reckon the sphinx-tabs extension is interfering with something.
Another idea we had re: pinning versions was the following, curious what you think as well @consideRatio :
sphinxcontrib-bibtex
as a little Sphinx event function.I also opened an issue in sphinxcontrib-bibtex to see if they'd like the message in there, but it might be easier to do it here in the short term:
I think its good if a package can declare what versions won't work in requirements directly, and ideally while avoiding placing upper bound that needs to be removed in the future. But, if one doesn't know in what release something is patched, one kind of have to. If we know it will be resolved in 0.20 but not in 0.18 and 0.19 etc, then I think this is what to go for if this works >=0.17,!=0.19.*,!=0.20.*
I didn't understand the options about providing messages @choldgraf, but I'd like to avoid digging into this further since I have many balls in the air atm.
It now adds
;
after Copyright sign.
this semicolon is coming from pydata: https://github.com/pydata/pydata-sphinx-theme/blob/main/src/pydata_sphinx_theme/theme/pydata_sphinx_theme/components/copyright.html#L7. So, we need to fix it there.
- [x] Why are there no outputs on this page, make sure build is working correctly.
The outputs are working now.
Thanks @AakashGfude for your work on this. I did a review of the rendered docs pages as a second check and here are a few minor things I noticed:
@mmcky @choldgraf this build with sphinx5 and docutils0.17 works well with pydata-sphinx-theme==0.12.0 as well (the latest stable release). Should we just use that? It does not have issues like "Extra ; after copyright symbol" etc as well.
@AakashGfude I'd suggest using the pydata latest
version, because it's going to release a new version very soon:
Do those issues show up there as well?
FYI - the pydata-sphinx-theme has a release candidate out! Check it out here:
@AakashGfude I see what you were saying about the missing ;
not being present on 0.12, but being present on 0.13. I guess it's a question of whether we want to create another version bump w/ breaking changes relatively quickly after the next release. It seems sub-optimal, but I think if you really wanna get this one out the door, I'm fine just going for it and fixing up bugs in another PR.
Thanks @choldgraf, I will update the version in a new PR once 0.13 Is released and reiterate if UX issues. Hopefully, should not be a lot.
This adds support for much of the latest versions of our dependencies, and also removes JQuery since it is now removed in the latest version of Sphinx.
Todo
;
after copyright symbolReferences