-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CDK: Autogenerate reference docs (#4759)
* 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 <[email protected]> Co-authored-by: Vadym Hevlich <[email protected]>
- Loading branch information
1 parent
0c7f060
commit 5eb2af6
Showing
29 changed files
with
740 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,3 +60,6 @@ resources/examples/airflow/logs/* | |
|
||
# Cloud Demo | ||
!airbyte-webapp/src/packages/cloud/data | ||
|
||
# Sphinx Docs | ||
_build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# .readthedocs.yaml | ||
# Read the Docs configuration file | ||
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details | ||
|
||
# Required | ||
version: 2 | ||
|
||
# Build documentation in the docs/ directory with Sphinx | ||
sphinx: | ||
builder: html | ||
configuration: airbyte-cdk/python/reference_docs/_source/conf.py | ||
|
||
# Set the version of Python and requirements required to build your docs | ||
python: | ||
version: "3.7" | ||
install: | ||
- method: pip | ||
path: airbyte-cdk/python | ||
extra_requirements: | ||
- sphinx-docs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Minimal makefile for Sphinx documentation | ||
# | ||
|
||
# You can set these variables from the command line, and also | ||
# from the environment for the first two. | ||
SPHINXOPTS ?= | ||
SPHINXBUILD ?= sphinx-build | ||
SOURCEDIR = _source | ||
BUILDDIR = _build | ||
|
||
# Put it first so that "make" without argument is like "make help". | ||
help: | ||
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) | ||
|
||
.PHONY: help Makefile | ||
|
||
# Catch-all target: route all unknown targets to Sphinx using the new | ||
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). | ||
%: Makefile | ||
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) | ||
|
||
rst: | ||
sphinx-apidoc -f -F -o $(SOURCEDIR)/api ../airbyte_cdk |
19 changes: 19 additions & 0 deletions
19
airbyte-cdk/python/reference_docs/_source/api/airbyte_cdk.destinations.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
|
||
Submodules | ||
---------- | ||
|
||
airbyte\_cdk.destinations.destination module | ||
-------------------------------------------- | ||
|
||
.. automodule:: airbyte_cdk.destinations.destination | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
Module contents | ||
--------------- | ||
|
||
.. automodule:: airbyte_cdk.destinations | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
19 changes: 19 additions & 0 deletions
19
airbyte-cdk/python/reference_docs/_source/api/airbyte_cdk.models.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
|
||
Submodules | ||
---------- | ||
|
||
airbyte\_cdk.models.airbyte\_protocol module | ||
-------------------------------------------- | ||
|
||
.. automodule:: airbyte_cdk.models.airbyte_protocol | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
Module contents | ||
--------------- | ||
|
||
.. automodule:: airbyte_cdk.models | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
45 changes: 45 additions & 0 deletions
45
airbyte-cdk/python/reference_docs/_source/api/airbyte_cdk.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
|
||
Subpackages | ||
----------- | ||
|
||
.. toctree:: | ||
:maxdepth: 4 | ||
|
||
airbyte_cdk.destinations | ||
airbyte_cdk.models | ||
airbyte_cdk.sources | ||
|
||
Submodules | ||
---------- | ||
|
||
airbyte\_cdk.connector module | ||
----------------------------- | ||
|
||
.. automodule:: airbyte_cdk.connector | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
airbyte\_cdk.entrypoint module | ||
------------------------------ | ||
|
||
.. automodule:: airbyte_cdk.entrypoint | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
airbyte\_cdk.logger module | ||
-------------------------- | ||
|
||
.. automodule:: airbyte_cdk.logger | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
Module contents | ||
--------------- | ||
|
||
.. automodule:: airbyte_cdk | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
27 changes: 27 additions & 0 deletions
27
airbyte-cdk/python/reference_docs/_source/api/airbyte_cdk.sources.deprecated.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
|
||
Submodules | ||
---------- | ||
|
||
airbyte\_cdk.sources.deprecated.base\_source module | ||
--------------------------------------------------- | ||
|
||
.. automodule:: airbyte_cdk.sources.deprecated.base_source | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
airbyte\_cdk.sources.deprecated.client module | ||
--------------------------------------------- | ||
|
||
.. automodule:: airbyte_cdk.sources.deprecated.client | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
Module contents | ||
--------------- | ||
|
||
.. automodule:: airbyte_cdk.sources.deprecated | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
38 changes: 38 additions & 0 deletions
38
airbyte-cdk/python/reference_docs/_source/api/airbyte_cdk.sources.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
|
||
Subpackages | ||
----------- | ||
|
||
.. toctree:: | ||
:maxdepth: 4 | ||
|
||
airbyte_cdk.sources.deprecated | ||
airbyte_cdk.sources.singer | ||
airbyte_cdk.sources.streams | ||
airbyte_cdk.sources.utils | ||
|
||
Submodules | ||
---------- | ||
|
||
airbyte\_cdk.sources.abstract\_source module | ||
-------------------------------------------- | ||
|
||
.. automodule:: airbyte_cdk.sources.abstract_source | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
airbyte\_cdk.sources.source module | ||
---------------------------------- | ||
|
||
.. automodule:: airbyte_cdk.sources.source | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
Module contents | ||
--------------- | ||
|
||
.. automodule:: airbyte_cdk.sources | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
27 changes: 27 additions & 0 deletions
27
airbyte-cdk/python/reference_docs/_source/api/airbyte_cdk.sources.singer.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
|
||
Submodules | ||
---------- | ||
|
||
airbyte\_cdk.sources.singer.singer\_helpers module | ||
-------------------------------------------------- | ||
|
||
.. automodule:: airbyte_cdk.sources.singer.singer_helpers | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
airbyte\_cdk.sources.singer.source module | ||
----------------------------------------- | ||
|
||
.. automodule:: airbyte_cdk.sources.singer.source | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
Module contents | ||
--------------- | ||
|
||
.. automodule:: airbyte_cdk.sources.singer | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
35 changes: 35 additions & 0 deletions
35
...cdk/python/reference_docs/_source/api/airbyte_cdk.sources.streams.http.auth.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
|
||
Submodules | ||
---------- | ||
|
||
airbyte\_cdk.sources.streams.http.auth.core module | ||
-------------------------------------------------- | ||
|
||
.. automodule:: airbyte_cdk.sources.streams.http.auth.core | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
airbyte\_cdk.sources.streams.http.auth.oauth module | ||
--------------------------------------------------- | ||
|
||
.. automodule:: airbyte_cdk.sources.streams.http.auth.oauth | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
airbyte\_cdk.sources.streams.http.auth.token module | ||
--------------------------------------------------- | ||
|
||
.. automodule:: airbyte_cdk.sources.streams.http.auth.token | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
Module contents | ||
--------------- | ||
|
||
.. automodule:: airbyte_cdk.sources.streams.http.auth | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
27 changes: 27 additions & 0 deletions
27
...ence_docs/_source/api/airbyte_cdk.sources.streams.http.requests_native_auth.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
|
||
Submodules | ||
---------- | ||
|
||
airbyte\_cdk.sources.streams.http.requests\_native\_auth.oauth module | ||
--------------------------------------------------------------------- | ||
|
||
.. automodule:: airbyte_cdk.sources.streams.http.requests_native_auth.oauth | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
airbyte\_cdk.sources.streams.http.requests\_native\_auth.token module | ||
--------------------------------------------------------------------- | ||
|
||
.. automodule:: airbyte_cdk.sources.streams.http.requests_native_auth.token | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
Module contents | ||
--------------- | ||
|
||
.. automodule:: airbyte_cdk.sources.streams.http.requests_native_auth | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
Oops, something went wrong.