Skip to content

Commit

Permalink
Merge pull request #47 from PrefectHQ/analytics
Browse files Browse the repository at this point in the history
add analytics
  • Loading branch information
zzstoatzz committed Feb 6, 2023
2 parents 25fda7a + d0fbf83 commit 203782a
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 4 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
25 changes: 24 additions & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,27 @@ nav:
- Connections: connections.md
- Exceptions: exceptions.md
- Flows: flows.md
- Server: server.md
- 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
1 change: 1 addition & 0 deletions prefect_airbyte/connections.py
Original file line number Diff line number Diff line change
Expand Up @@ -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=...,
Expand Down
1 change: 1 addition & 0 deletions prefect_airbyte/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 203782a

Please sign in to comment.