From 35d7d42cd64e40c27875c654c3d22ca99e73215f Mon Sep 17 00:00:00 2001 From: Andrew <15331990+ahuang11@users.noreply.github.com> Date: Fri, 3 Feb 2023 16:26:44 -0800 Subject: [PATCH 1/4] add analytics --- mkdocs.yml | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/mkdocs.yml b/mkdocs.yml index be81bb3..a2b8d06 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -52,4 +52,27 @@ nav: - Connections: connections.md - Exceptions: exceptions.md - Flows: flows.md - - Server: server.md \ No newline at end of file + - Server: server.md +extra: + social: + - icon: fontawesome/brands/slack + link: https://www.prefect.io/slack/ + - icon: fontawesome/brands/discourse + link: https://discourse.prefect.io/ + - icon: fontawesome/brands/youtube + link: https://www.youtube.com/c/PrefectIO/videos + - icon: fontawesome/regular/newspaper + link: https://prefect.io/guide/ + - icon: fontawesome/brands/twitter + link: https://twitter.com/PrefectIO + - icon: fontawesome/brands/linkedin + link: https://www.linkedin.com/company/prefect/ + - icon: fontawesome/brands/github + link: https://github.com/PrefectHQ/prefect + - icon: fontawesome/brands/docker + link: https://hub.docker.com/r/prefecthq/prefect/ + - icon: fontawesome/brands/python + link: https://pypi.org/project/prefect/ + analytics: + provider: google + property: G-8CSMBCQDKN From c86e59c32e69f2a34ed42d76863cc9de515fcbda Mon Sep 17 00:00:00 2001 From: Andrew <15331990+ahuang11@users.noreply.github.com> Date: Fri, 3 Feb 2023 16:47:51 -0800 Subject: [PATCH 2/4] Update .pre-commit-config.yaml --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 80f9b44..2f089e8 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pycqa/isort - rev: 5.10.1 + rev: 5.12.0 hooks: - id: isort language_version: python3 From c12bd3fc8ec664564cff6e092e65c30aa9a349a7 Mon Sep 17 00:00:00 2001 From: ahuang11 Date: Fri, 3 Feb 2023 17:00:05 -0800 Subject: [PATCH 3/4] Add docs url --- prefect_airbyte/connections.py | 1 + prefect_airbyte/server.py | 1 + 2 files changed, 2 insertions(+) diff --git a/prefect_airbyte/connections.py b/prefect_airbyte/connections.py index f588f96..beba9fb 100644 --- a/prefect_airbyte/connections.py +++ b/prefect_airbyte/connections.py @@ -308,6 +308,7 @@ def airbyte_orchestrator(): _block_type_name = "Airbyte Connection" _logo_url = "https://images.ctfassets.net/zscdif0zqppk/6gm7wsC7ANnKYQsm7oiSYz/aac1ad5e054d35d9e24af8d6ed3aed5f/59758427?h=250" # noqa: E501 + _documentation_url = "https://prefecthq.github.io/prefect-airbyte/connections/#prefect_airbyte.connections.AirbyteConnection" # noqa airbyte_server: AirbyteServer = Field( default=..., diff --git a/prefect_airbyte/server.py b/prefect_airbyte/server.py index cf80933..a54529d 100644 --- a/prefect_airbyte/server.py +++ b/prefect_airbyte/server.py @@ -30,6 +30,7 @@ class AirbyteServer(Block): _block_type_name = "Airbyte Server" _block_type_slug = "airbyte-server" _logo_url = "https://images.ctfassets.net/zscdif0zqppk/6gm7wsC7ANnKYQsm7oiSYz/aac1ad5e054d35d9e24af8d6ed3aed5f/59758427?h=250" # noqa + _documentation_url = "https://prefecthq.github.io/prefect-airbyte/server/#prefect_airbyte.server.AirbyteServer" # noqa username: str = Field( default="airbyte", From d0fbf8393f3e7bbdd3e6319a84fe5ee0276c8ced Mon Sep 17 00:00:00 2001 From: Andrew <15331990+ahuang11@users.noreply.github.com> Date: Mon, 6 Feb 2023 12:32:23 -0800 Subject: [PATCH 4/4] Update publish-docs.yml --- .github/workflows/publish-docs.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-docs.yml b/.github/workflows/publish-docs.yml index a08ec67..10166bd 100644 --- a/.github/workflows/publish-docs.yml +++ b/.github/workflows/publish-docs.yml @@ -11,10 +11,17 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Build docs + - name: Set up Python 3.10 + uses: actions/setup-python@v4 + with: + python-version: "3.10" + cache: pip + cache-dependency-path: requirements*.txt + + - name: Install dependencies run: | python -m pip install --upgrade pip - python -m pip install --upgrade --upgrade-strategy eager -e .[dev] + python -m pip install --upgrade --upgrade-strategy eager -e ".[dev]" mkdocs build - name: Publish docs