-
Notifications
You must be signed in to change notification settings - Fork 29
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
Styling for reference generated using Autodoc #230
Conversation
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.
@Temidayo32 this is a good start but we will have to make some tweaks to get this in.
dl.class {
.sig-object + dd {
margin: 0 0 0.5rem 1.5rem;
}
}
This approach does a few things differently - it 'scopes' the styles to only the elements we care about and also uses rems for margins to ensure we nicely support different zoom & font sizes.
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.
I will merge this in with the recommended changes for now and we can discuss more on the other PR.
Also - please let me know your preferred name for the changelog, I could not find a name on your git commit nor your GitHub profile.
Thanks @lb- for the feedback. I will immediately make the changes and get back to you soonest. |
My preferred is Temidayo, or my full name of you want, Temidayo Azeez |
Changelog added 0368547 |
This pull request addresses an indentation problem ( issue #228) when using
sphinx.ext.autodoc
to generate documentation automatically from the source code.