>> 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:
> [clip]
> 
> I think some revamping is needed so that it could be done the same way 
> that you override HTML templates in Sphinx. I'll look into this.
Thanks for your effort!

I would suggest:

.. autosummary::
    :toctree: DIRNAME
    :nostubsignatures:
    :nostubmembers:

    sphinx.environment.BuildEnvironment
    sphinx.util.relative_uri

  or alternatively:


.. autosummary::
    :toctree: DIRNAME
    :stubtemplate: ../_static/mytemplate

    sphinx.environment.BuildEnvironment
    sphinx.util.relative_uri

I added an issue here:
http://bitbucket.org/birkenfeld/sphinx/issue/163/autosummary-control-generated-stub-files

Kind regards,
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to