-
Notifications
You must be signed in to change notification settings - Fork 12
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
DOCS: improved documentation #155
Conversation
e019aad
to
9a67997
Compare
Will look over this more closely soon. :) We just merged a big overhaul of SIES, leading to some conflicts unfortunately. You can probably just merge main and checkout ``--theirs` to solve the conflicts without too much trouble. |
Hi. Fantastic work as always @antoinecollet5 ! Mostly looks good to me. A few comments:
I'll also try to run it locally before we merge, just to see what the docs look like. But I'll wait until you have merged main :) Good stuff. Thanks for the effort. Greatly appreciate it. |
6930cd6
to
8881033
Compare
@tommyod thanks for the feedbacks :) I found a bit of time to solve the conflicts and adapt to the new interface. Note that I removed the example in the readme since it is now outdated. Regarding the Makefiles, I just removed them. However, I noticed that the html rendering is a bit different than when using tox. I don't get why yet.... Wait for your feedback about the html rendering. Note that I did not take care of the pdf export. |
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.
Overall very excited about this. New theme looks great. Many improvements here. I do have some comments however :)
New theme looks good:
But LaTeX does not render:
Adding "sphinx.ext.mathjax"
to the extensions
in conf.py
did not help me locally.
- Could you take a look at LaTeX? Does it work for you?
- I added some comments along the way, please take a look.
- In the future, even smaller PRs is good. For instance, I am not so sure about documenting attributes, but willing to discuss it. However, it's not really related to the issue of updating sphinx etc - so it would've been even better to have a PR for documentation changes (unless they are strictly required to make sphinx run).
35730bf
to
29c4a35
Compare
@tommyod I had a quick look at latex and indeed it does not render. I propose you to see that in another issue/PR ? And to discuss whether the latexpdf export is really needed ? |
Sorry, I was unclear on this. Let me try again: the latexpdf is not needed, but math should render in the HTML. For me it does not render correctly in HTML (see screenshot above, same now as before). Does it render in the HTML docs for you? I see that m2r2 expects inline math as
I know it's tedious, but I'd rather get HTML math to work in this PR. I don't want to merge PRs that improve some things, but regress on others, and think that we'll solve it in a future PR. This kind of thinking has a tendency to lead to messy code, especially when it's not obvious what the fix is, who will dedicate time to fix it, etc. |
@tommyod normally, math should now render correctly in the html export. Have you tried since yesterday's changes ? This is what I get now: |
I probably did something wrong. Let me try again and report back ... :) |
…kefiles for unix and windows to avoid having to use tox, use pydata theme rather than read the docs and improve docstrings for classes SIES and ES. Add badges for project visibility.
29c4a35
to
f0234e4
Compare
Fresh try:
And it works and looks great. 👍 Sorry for the hiccup and thanks for the patience. I must have done something wrong the last time I tried. Some images of the new wonderful docs: |
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.
LGTM. Thanks again for the work @antoinecollet5 . Very much appreciated as always!
Several changes I propose for the documentation:
Documentation: