Hide titles for stub pages automatically generated by autosummary for Python modules, classes, functions, etc. #673
-
Hello! I am currently using Sphinx and autosummary to automatically and recursively generate the API documentation for my Python project. I would like to hide the titles for the For example, let's say I have a module called
Currently, the HTML page will show something like mdhelper.analysis.baseAnalysis base classes (
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey @bbye98, have you seen that you can override the You should be able to play around with things in the templates. See https://www.sphinx-doc.org/en/master/usage/extensions/autosummary.html#customizing-templates for more. -- This feature request is not really a question of Furo. Furo has no very little control over what HTML content is generated. As a Sphinx theme, all it can do is change how things are styled via CSS and JS. Also, you can always override Furo's styling by following the instructions at https://pradyunsg.me/furo/customisation/injecting/. For example, we change our autodoc to look like this: |
Beta Was this translation helpful? Give feedback.
Hey @bbye98, have you seen that you can override the
_templates
folder for Autosummary? For example: https://github.com/Qiskit/qiskit_sphinx_theme/blob/76b3b25e04cedc947908ee8781ef8149cf6ad1c9/example_docs/docs/_templates/autosummary/class.rst?plain=1#L1-L41You should be able to play around with things in the templates. See https://www.sphinx-doc.org/en/master/usage/extensions/autosummary.html#customizing-templates for more.
--
This feature request is not really a question of Furo. Furo has no very little control over what HTML content is generated. As a Sphinx theme, all it can do is change how things are styled via CSS and JS.
Also, you can always override Furo's styling by following t…