-
-
Notifications
You must be signed in to change notification settings - Fork 491
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
DOC: Migrate to pydata-sphinx-theme
#704
DOC: Migrate to pydata-sphinx-theme
#704
Conversation
Since we do not have RTD checks for now, I am happy to add another entry to the PR workflows where we can run the doctests, build the doc, and check if they are warning-free – if this would be needed |
For our interactive documentation goal, should I open an issue and add a task list there about the other deliverables, which shall be accommodated in further PRs? |
That sounds nice, thank you. It would avoid merging things that then not build on RTD later. |
Sure, a single tracking issue would be helpful. |
Thank you for your input – all tests are passing except for the AppVeyor build which is pending, this should be ready for a review now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @agriyakhetarpal. This looks quite good. I did some local testing - only a few comments.
The doc build shows one warning, could you check this?
The default value for `navigation_with_keys` will change to `False` in the next release. If you wish to preserve the old behavior for your site, set `navigation_with_keys=True` in the `html_theme_options` dict in your `conf.py` file. Be aware that `navigation_with_keys = True` has negative accessibility implications: https://github.com/pydata/pydata-sphinx-theme/issues/1492
The pages all look good except for the "Signal extension modes" one which has a rendering issue:
![image](https://private-user-images.githubusercontent.com/98330/311208957-2f5d5d04-45e5-411f-a00f-f9fd00adf7a9.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwMjMzMzYsIm5iZiI6MTczOTAyMzAzNiwicGF0aCI6Ii85ODMzMC8zMTEyMDg5NTctMmY1ZDVkMDQtNDVlNS00MTFmLWEwMGYtZjlmZDAwYWRmN2E5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA4VDEzNTcxNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWZiOTc2MGQwMGI3NWZhZWMzMGQ3ODkzZTc0OWI2ZDMyOTAyMTE4ZjAwOTBiZTU1NjYxNTMwMzIzYjdiMmE0ZDMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.d-Jt5TjnT3EE6LVhO7m4lmWdbN4XP49AB_6rg7Gm0Qc)
Could you please take that along while we are at it improving the docs here?
The merge of gh-687 also caused a few merge conflicts - could you please fix those too @agriyakhetarpal? |
For some reason I didn't see this one locally; we can keep
This page in specific had an indentation issue. I addressed it in 1a38359. P.S. I merged the master branch instead of rebasing because I didn't want to blemish your review. I am happy to rewrite the commit history or get this squash-merged – it is up to you :) |
I fixed up all the tests (not sure if the doctests are actually supposed to print nothing or that is a bug?) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the quick turnaround. All looks good to me now, in it goes!
P.S. I merged the master branch instead of rebasing because I didn't want to blemish your review. I am happy to rewrite the commit history or get this squash-merged – it is up to you :)
Good call to do that on larger PRs, makes re-reviewing easier.
I fixed up all the tests (not sure if the doctests are actually supposed to print nothing or that is a bug?)
Your fix is correct. No idea why that test wasn't failing before - doctest
isn't too reliable.
Description
This PR prepares the transition of the PyWavelets documentation towards interactivity through in-line usage examples, which will be added in follow-up PRs through the integration of JupyterLite notebooks.
Several changes have been introduced, including but not limited to:
sphinx-togglebutton
andsphinx-copybutton
were added