-
-
Notifications
You must be signed in to change notification settings - Fork 40
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
Parameters and Returns headings are not visible #17
Comments
Would you like to send a PR? You'd need to update this python/src/mkdocstrings_handlers/python/templates/material/_base/docstring/parameters.html Line 3 in f2122d7
to something like As for making headings of these titles, I'm a bit against it (it would pollute the ToC IMO, and headings levels are quite limited: 5 max, with category headings enabled it will start to look bad with depth-2 objects). I'm still open to discussion of course 🙂 |
Sure, I'll try to do that. By the way, currently there is not even python/src/mkdocstrings_handlers/python/templates/material/_base/docstring/parameters.html Line 39 in d5ea1c5
|
Yeah there are probably discrepancies between all the different sections, sections styles and themes. I should probably start to create tables like the Griffe ones (https://mkdocstrings.github.io/griffe/docstrings/) to keep track of everything. Feel free to harmonize things when/if you send a PR 🙂 |
Is your feature request related to a problem? Please describe.
"Parameters" and "Returns" headings are simple HTML paragraphes without any CSS class. They currently just look like plain text and there is no way to style them.
Describe the solution you'd like
The easiest solution is to assign a CSS class to these headings such that we can style them arbitrarily.
Additionally, it would be better if they were actual HTML headings (and we could choose the level).
The colons also look rather unpolished.
The text was updated successfully, but these errors were encountered: