pdoc3 / pdoc

:snake: :arrow_right: :scroll: Auto-generate API documentation for Python projects
https://pdoc3.github.io/pdoc/
GNU Affero General Public License v3.0
1.11k stars 143 forks source link

Inner classes are showing as class variables #404

Open westy opened 2 years ago

westy commented 2 years ago

Expected Behavior

I would expect an inner class to document similarly to an outer class.

Actual Behavior

The class gets documented as a class variable.

Steps to Reproduce

  1. Create a python module that contains a class and document with a docstring.
  2. Add an inner class, also with documentation.
  3. Build the documentation.
  4. See an example here: https://westy.github.io/pyseext/component_query.html

Additional info