Hi, I encountered a problem after upgrading from 1.0.6 to 1.0.7:
For Python modules autosummary, the default template base.rst was used
instead of the modules.rst
To repair this, I defined the path to the autosummary templates in my
conf.py (Sphinx-1.0.7-py2.7.egg/sphinx/ext/autosummary/templates/
autosummary) and explicitly asked for the modules.rst template:
.. autosummary::
:toctree: modules/
:template: module.rst
filechecker.ic
filechecker.ic.action
filechecker.ic.AdjustableRelativeIncludeStrategy
This seems an unnecessary workaround, since defining a template path
in the conf.py is really meant for custom templates!???
Also: the autosummaries for functions/classes/exceptions do not seem
to work in the (new?) autosummary/moduls.rst (see below),
Sorry, if any of this seems ignorant to you, I am not a programmer ;-)
Thanks in advance for your help!
Cheers, Susanne
{{ fullname }}
{{ underline }}
.. automodule:: {{ fullname }}
{% block functions %}
{% if functions %}
.. rubric:: Functions
.. autosummary::
{% for item in functions %}
{{ item }}
{%- endfor %}
{% endif %}
{% endblock %}
{% block classes %}
{% if classes %}
.. rubric:: Classes
.. autosummary::
{% for item in classes %}
{{ item }}
{%- endfor %}
{% endif %}
{% endblock %}
{% block exceptions %}
{% if exceptions %}
.. rubric:: Exceptions
.. autosummary::
{% for item in exceptions %}
{{ item }}
{%- endfor %}
{% endif %}
{% endblock %}
--
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.