Sphinx cannot create sections. You'll have to add them yourself in the .rst file. Something like this:
myclassA
--------
.. autoclass:: myclassA
:members:
myclassB
--------
.. autoclass:: myclassB
:members:
For some alternative suggestions that might be interesting, see these questions (and the answers):