I confirmed that Nelson is correct about autodoc_typehints = 'description'
causing the issue, but you can set another option to get rid of the parameters. You don't just have to set autodoc_typehints
to 'none'
or 'signature'
. You can set autodoc_typehints_description_target
to 'documented'
or 'documented_params'
and the parameters section will go away. Here is a link to the option in the Sphinx documentation.