Hello, sphinx community,

I have `kernels.py` file with the following doc header:



.. autosummary::
    :toctree: toctree/kernels/

    RectangularKernel


which produces 

.. currentmodule:: elephant.kernels

.. autoclass:: RectangularKernel


   .. rubric:: Methods

   .. autosummary::
   
      ~RectangularKernel.__init__

      ...


However, I want to show the documentation of the 
`RectangularKernel.__call__` function instead of __init__ (default by 
autosummary). How can I do it? I guess, the answer is in templates, but I 
don't know how to use them (sphinx templates documentation
 does not cover it).
Note: I have a bunch of kernel classes (not just one) that need to be 
treated in the same way.
Thank you.

Danylo.

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sphinx-users/6fdcf684-e0c7-470c-9bb5-99b3075d467d%40googlegroups.com.

Reply via email to