mirror of
https://github.com/hwchase17/langchain
synced 2024-10-31 15:20:26 +00:00
003e1ca9a0
Update API reference documentation. This PR will pick up a number of missing classes, it also applies selective formatting based on the class / object type.
36 lines
672 B
ReStructuredText
36 lines
672 B
ReStructuredText
:mod:`{{module}}`.{{objname}}
|
|
{{ underline }}==============
|
|
|
|
.. currentmodule:: {{ module }}
|
|
|
|
.. autoclass:: {{ objname }}
|
|
|
|
{% block attributes %}
|
|
{% if attributes %}
|
|
.. rubric:: {{ _('Attributes') }}
|
|
|
|
.. autosummary::
|
|
{% for item in attributes %}
|
|
~{{ name }}.{{ item }}
|
|
{%- endfor %}
|
|
{% endif %}
|
|
{% endblock %}
|
|
|
|
{% block methods %}
|
|
{% if methods %}
|
|
.. rubric:: {{ _('Methods') }}
|
|
|
|
.. autosummary::
|
|
{% for item in methods %}
|
|
~{{ name }}.{{ item }}
|
|
{%- endfor %}
|
|
|
|
{% for item in methods %}
|
|
.. automethod:: {{ name }}.{{ item }}
|
|
{%- endfor %}
|
|
|
|
{% endif %}
|
|
{% endblock %}
|
|
|
|
|
|
.. example_links:: {{ objname }} |