* CDK Autogenerated reference docs: base version * Update docs config. Add .readthedocs.yaml file. Update build html files. * Update .gitignore. Remove sphinx build files. * Add newline at the end of .gitignore * Update setup.py requirements. Update .readthedocs.yaml config. * Update rst files. Add Makefile rst config. * Update CDK docstring format. Change rst layout. Update sphinx config. * Add Sphinx docs. Update index.rst. Update abstract_source.py docstrings. * Override master_doc and package templates. Add docs schema enerator script. Update sphinx docs. * Add `Publishing to Read the Docs` section to sphinx-docs.md". Replace sphinx-docs.md to `airbyte-cdk` module. * Update sphinx-docs.md section name * Bump airbyte-cdk version. Update CHANGELOG.md. Co-authored-by: ykurochkin <y.kurochkin@zazmic.com> Co-authored-by: Vadym Hevlich <vege1wgw@gmail.com>
52 lines
1016 B
Plaintext
52 lines
1016 B
Plaintext
{%- macro automodule(modname, options) -%}
|
|
.. automodule:: {{ modname }}
|
|
{%- for option in options %}
|
|
:{{ option }}:
|
|
{%- endfor %}
|
|
{%- endmacro %}
|
|
|
|
{%- macro toctree(docnames) -%}
|
|
.. toctree::
|
|
:maxdepth: {{ maxdepth }}
|
|
{% for docname in docnames %}
|
|
{{ docname }}
|
|
{%- endfor %}
|
|
{%- endmacro %}
|
|
|
|
{%- if is_namespace %}
|
|
.. py:module:: {{ pkgname }}
|
|
{% endif %}
|
|
|
|
{%- if modulefirst and not is_namespace %}
|
|
{{ automodule(pkgname, automodule_options) }}
|
|
{% endif %}
|
|
|
|
{%- if subpackages %}
|
|
Subpackages
|
|
-----------
|
|
|
|
{{ toctree(subpackages) }}
|
|
{% endif %}
|
|
|
|
{%- if submodules %}
|
|
Submodules
|
|
----------
|
|
{% if separatemodules %}
|
|
{{ toctree(submodules) }}
|
|
{% else %}
|
|
{%- for submodule in submodules %}
|
|
{% if show_headings %}
|
|
{{- [submodule, "module"] | join(" ") | e | heading(2) }}
|
|
{% endif %}
|
|
{{ automodule(submodule, automodule_options) }}
|
|
{% endfor %}
|
|
{%- endif %}
|
|
{%- endif %}
|
|
|
|
{%- if not modulefirst and not is_namespace %}
|
|
Module contents
|
|
---------------
|
|
|
|
{{ automodule(pkgname, automodule_options) }}
|
|
{% endif %}
|