API
===
.. autosummary::
:toctree: autosummary
:recursive:
thing
thing.py
class Thing:
"""The thing
HwProps:
color (str): The color of the thing.
"""
We would expect the section header in the generated HTML documentation to be the original label Hardware Properties, but instead it is the alias label HwProps.
Describe the bug
For a custom Napoleon section alias we would expect the original header label to be rendered, but it is the alias label that is rendered instead.
How to Reproduce
conf.py
:index.rst
thing.py
We would expect the section header in the generated HTML documentation to be the original label
Hardware Properties
, but instead it is the alias labelHwProps
.Environment Information
Sphinx extensions
No response
Additional context
No response