Template updates.
parent
6025db45a7
commit
3aa1747795
@ -1,9 +1,9 @@
|
||||
{%- if obj.display %}
|
||||
|
||||
.. method:: {{ obj.name.split('.')[-1] }}({{ obj.args[1:]|join(',') }})
|
||||
.. method:: {{ obj.name }}({{ obj.args[1:]|join(',') }})
|
||||
|
||||
{% if obj.docstring %}
|
||||
{{ obj.docstring.strip()|indent(3) }}
|
||||
{{ obj.docstring }}
|
||||
{% endif %}
|
||||
|
||||
{% endif %}
|
@ -0,0 +1,19 @@
|
||||
Package {{ obj.name }}
|
||||
========{{ "=" * obj.name|length }}
|
||||
|
||||
{%- if obj.docstring %}
|
||||
|
||||
{{ obj.docstring }}
|
||||
|
||||
{% endif %}
|
||||
|
||||
.. py:module:: {{ obj.name }}
|
||||
|
||||
{% block content %}
|
||||
{%- for obj_item in obj.children %}
|
||||
|
||||
{{ obj_item.rendered|indent(0) }}
|
||||
|
||||
{%- endfor %}
|
||||
{% endblock %}
|
||||
|
Loading…
Reference in New Issue