-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Enable sphinx.ext.viewcode #11063
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
Enable sphinx.ext.viewcode #11063
Conversation
The built source is not rendering great: |
👍 on this though! |
What exactly are you referring to? The |
You might be missing it because of the unreleased-Matplotlib header overlay, but the |
Yes, that [docs] links that shift the code. |
c94dc47
to
28e6542
Compare
Fixed by copying css from the standard sphinx css files. Is it intentional, that we maintain a complete css file of our own? Usually, I would use the basic sphinx css file and just add our own adaptions in an additional file. |
We started using sphinx very early which probably predated what are considered current best practices with both sphinx and css. |
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.
Looks great!
Any reason to not backport this? |
+1 on backporting |
Thanks @timhoffm ! |
Backport PR #11063 on branch v2.2.2-doc
PR Summary
Closes #10676.