Debian Codegraph @

docs/source/api/templates/package.rst_t

raw
1 ..
2 (C) Copyright 2007-2025 Enthought, Inc., Austin, TX
3 All rights reserved.
4
5 This software is provided without warranty under the terms of the BSD
6 license included in LICENSE.txt and may be redistributed only under
7 the conditions described in the aforementioned license. The license
8 is also available online at http://www.enthought.com/licenses/BSD.txt
9
10 Thanks for using Enthought open source!
11
12 {% macro automodule(modname, options) -%}
13 .. automodule:: {{ modname }}
14 {%- for option in options %}
15 :{{ option }}:
16 {%- endfor %}
17 {%- endmacro -%}
18
19 {%- macro toctree(docnames) -%}
20 .. toctree::
21 {% for docname in docnames %}
22 {{ docname }}
23 {%- endfor %}
24 {%- endmacro -%}
25
26 {{ [pkgname, "package"] | join(" ") | e | heading }}
27
28 {{ automodule(pkgname, automodule_options) }}
29
30 {%- if submodules %}
31
32 {{ toctree(submodules) }}
33 {% endif %}
34
35 {%- if subpackages %}
36
37 {{ toctree(subpackages) }}
38 {% endif %}