Document class inheriting from LightningModule
❓
What is your question?
Given the code, I would assume that using sphinx, all 3 classes are documented. In fact the class inheriting from LightningModule is not documented. I post this as a how-to and hope for help because that could be a plain problem on my side, otherwise it would be a bug.
Using sphinx-apidoc, relevant generated part:
.. automodule:: ccc.models.exampleClass
   :members:
   :undoc-members:


Code
# ccc/models/exampleClass
from pytorch_lightning import LightningModule


class classA(object):
    def __init__(self, a: int):
        """
        Args:
            a:
                asdf
        """
        pass


class classB(LightningModule):
    def __init__(self, a: int):
        """
        Args:
            a:
                asdf
        """
        pass

class classC(classA):
    def __init__(self, a: int):
        """
        Args:
            a:
                asdf
        """
        pass

What's your environment?

OS: [e.g. iOS, Linux, Win] Windows + WSL
Packaging [e.g. pip, conda] poetry (pip)
Version [e.g. 0.5.2.1] 0.8.5