-
Notifications
You must be signed in to change notification settings - Fork 353
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 Github IO #88
Comments
This issue will never be closed - serves as a reminder to keep the github pages up to date. |
how to load the data used by examples of the SimpleITK-Notbooks? Any reply would be appreciated! |
Hello @manting12 Please ask your question on itk discourse. Also please elaborate as it is not clear what is the problem you are having. Possibly take a look at the setup notebook which downloads all of the data to the 'Data' directory? |
@blowekamp , @zivy : |
Hello @kolibril13, Updating the notebooks is a manual process. We have made several attempts to automate it (issue #267) but unsuccessfully. Originally we tried running The issues I remember are:
If you are willing to work with us on automating the process we would be more than happy to help you along. |
Hello @zivy, Therefore, I want to suggest a new idea, that will be based on pre-rendered notebooks, but with a better page layout. And here is the webpage: it is build with the prerndered notebooks, sphinx, nbsphinx, furo theme, and sphinx-copybutton:
|
Hello @kolibril13, First of all, thank you for putting the effort into this. Changing the chapter headings should be fine. I did a quick browse of the site and it looks like we will need to go over all notebooks to confirm that they render correctly and modify if not (for example the table at the top of this page renders correctly for some rows and has problems with others). These changes should be done incrementally so that we can check that every notebook is rendered correctly and that the desired functionality is maintained (just separate commits for each one). The table on the left side is a bit confusing as it lists all the headers from all notebooks at the same level. Is there a way to create a hierarchy (notebook header->sub headers) or do we only list the notebook top heading? Finally, we currently host the notebooks using GitHub pages. Is there some requirement that we go to Read-The-Docs, or can we keep the static site where it is? |
Hi zivy,
Perfect, I can make a pull request for that soon.
Good catch, I did not see that. That would mean there will be some extra steps involved, but I think in the end it would be worth it.
Yes, I agree with that!
On the left bar, it shows all chapter names with a "#h1" in it.
This is indeed possible, I just searched on the internet and found this tutorial https://daler.github.io/sphinxdoc-test/includeme.html |
Hello @kolibril13, Really appreciate your enthusiasm with SimpleITK and the notebooks. In the previous PR you added functionality (cmap), but also made more than a few formatting changes. I admit the notebook formatting is not consistent, and we never bothered about it much. But now you have motivated me to give all the notebooks a makeover with the black Python formatter. So, please hold off on additional code formatting. Again, really appreciate your efforts and hopefully we'll be able to update the static notebook display to a RTD site via your upcoming PR shortly. |
@kolibril13 Just wanted to send a note that I've been following some of these issues/pull requests about updating the docs. I've finally had a reason to look at the docs recently (simpleitk.readthedocs.io) and they are so much easier to navigate! Thank you so much for initiating this! They look awesome! |
89a1b36#commitcomment-18514290
The text was updated successfully, but these errors were encountered: