-
Notifications
You must be signed in to change notification settings - Fork 201
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
UPDATE: pydata sphinx theme v0.7.1 #406
UPDATE: pydata sphinx theme v0.7.1 #406
Conversation
Thanks for submitting your first pull request! You are awesome! 🤗 |
Nice! thanks for this :-) one quick thought, I think we can now remove our custom previous/next templating and CSS, since we've now upstreamed that to the pydata theme: sphinx-book-theme/sphinx_book_theme/_templates/prev-next.html Lines 1 to 30 in 414e8bd
any interest in trying that out as part of this? |
Deleting code? YES! That is my favorite black hole to fall into. I'll report back if I crash and burn in the process. |
To check, does it do translations? |
BTW, can I get a |
@chrisjsewell good catch, it looks like the original PR got modified before it was merged and the code needs tweaking. Will make a PR: pydata/pydata-sphinx-theme#486 @ocefpaf label applied :-) though note we should not merge this PR until a new PyData theme is released, if we wish to make the templating changes in this PR |
That is up to you. Should I revert the last commit or wait? |
I think it's fine so long as we don't merge the PR. We can cut a new release on the pydata theme quickly so i think we can just get this one ready to go |
I've just released a new version of the pydata theme (0.7.1) and bumped the patch version here. Let's see how it builds |
The prev/next buttons look great! But, I have also noticed some other regressions. For example, see the margin content block: I don't think we're inheriting that from the pydata theme directly, but seem to be getting it from sphinx div.sidebar, aside.sidebar {
margin: 0 0 0.5em 1em;
border: 1px solid #ddb;
padding: 7px;
background-color: #ffe;
width: 40%;
float: right;
clear: right;
overflow-x: auto;
} @ocefpaf wanna try just adding some CSS to remove that yellow background? And then we should do a quick look over the kitchen sink docs to make sure nothing else has changed unexpectedly |
I'm definitely out of my environment for that change. I'll probably just break it more. Sorry but CSS is a mystery to me. |
Sounds good @ocefpaf - if you don't mind I'll push to this branch and we can merge it together |
Not at all. Push all the commits you need. |
Oops. Conflicts :-/ |
OK I think it looks correct now, but to give ourselves some time I just cut a release of the theme, and that should give a bit of extra time to make sure nothing is unexpectedly broken. many thanks @ocefpaf for the contribution :-) |
Hopefully I won't break anything with the test change.