Hello, I would like to use autosummary to create a list of script files and then use the generated stub files to show their top docstrings. But if my script also contains functions, it will create a stub file like:
:mod:`scripts.myscript` ======================= .. automodule:: scripts.myscript Functions ---------- .. autofunction:: myprint I would prefer to have: :mod:`scripts.myscript` ======================= .. automodule:: scripts.myscript * It would also be neat if all options that can be specified for autodoc (like :undoc-members: ) could be included in the stub files. * One suggestion could be to define custom templates based on "ext \autosummary\templates\module" which could then be adapted to the specific needs. Thanks in advance, Timmie --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en -~----------~----~----~----~------~----~------~--~---
