forked from airbytehq/airbyte
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI: Add action to check broken doc links (airbytehq#5254)
* Add action to check broken doc links * Ignore localhost * Update config * Fix broken links * Use quiet mode * Ignore PR link * Fix more broken links * Fix more broken links * Fix more broken links * Verify pattern * Fix more broken links * Separate full and pr check * Update pattern * Test invalid link * Remove invalid link
- Loading branch information
Showing
128 changed files
with
251 additions
and
172 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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Perform link check on all markdown files | ||
name: Doc Link Checker (Full) | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
markdown-link-check: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@master | ||
- uses: gaurav-nelson/github-action-markdown-link-check@v1 | ||
with: | ||
use-quiet-mode: 'no' | ||
use-verbose-mode: 'yes' | ||
check-modified-files-only: 'no' | ||
config-file: .github/workflows/doc-link-check.json | ||
base-branch: ${{ github.base_ref }} |
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,17 @@ | ||
# Perform link check on modified markdown files only | ||
name: Doc Link Checker (PR) | ||
|
||
on: [ pull_request ] | ||
|
||
jobs: | ||
markdown-link-check: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@master | ||
- uses: gaurav-nelson/github-action-markdown-link-check@v1 | ||
with: | ||
use-quiet-mode: 'no' | ||
use-verbose-mode: 'yes' | ||
check-modified-files-only: 'yes' | ||
config-file: .github/workflows/doc-link-check.json | ||
base-branch: ${{ github.base_ref }} |
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,51 @@ | ||
{ | ||
"ignorePatterns": [ | ||
{ | ||
"pattern": "localhost" | ||
}, | ||
{ | ||
"pattern": "file://" | ||
}, | ||
{ | ||
"pattern": "slack.airbyte.io" | ||
}, | ||
{ | ||
"reason": "Return 429 frequently", | ||
"pattern": "https://github.com/airbytehq/airbyte" | ||
}, | ||
{ | ||
"reason": "Private page without public access", | ||
"pattern": "https://github.com/airbytehq/airbyte/settings" | ||
}, | ||
{ | ||
"reason": "Page too large and very slow", | ||
"pattern": "https://docs.github.com/en/rest/reference/repos" | ||
}, | ||
{ | ||
"reason": "Links with bash variable", | ||
"pattern": "\\$" | ||
}, | ||
{ | ||
"reason": "Links in HBS templates", | ||
"pattern": "\\{" | ||
}, | ||
{ | ||
"reason": "Test only scaffold connector", | ||
"pattern": "sources/scaffold-" | ||
}, | ||
{ | ||
"reason": "Test only scaffold connector", | ||
"pattern": "sources/python-" | ||
}, | ||
{ | ||
"reason": "Test only scaffold connector", | ||
"pattern": "sources/javascript-" | ||
}, | ||
{ | ||
"reason": "Test only scaffold connector", | ||
"pattern": "destinations/scaffold-" | ||
} | ||
], | ||
"retryOn429": false, | ||
"aliveStatusCodes": [200, 206, 403, 429, 503] | ||
} |
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
2 changes: 1 addition & 1 deletion
2
airbyte-cdk/python/docs/tutorials/cdk-tutorial-any-percent/cdk-speedrun.md
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
2 changes: 1 addition & 1 deletion
2
airbyte-cdk/python/docs/tutorials/cdk-tutorial-python-http/5-declare-schema.md
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
2 changes: 1 addition & 1 deletion
2
...dk/python/docs/tutorials/cdk-tutorial-python-http/7-use-connector-in-airbyte.md
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# Step 7: Use the Connector in Airbyte | ||
|
||
To use your connector in your own installation of Airbyte, build the docker image for your container by running `docker build . -t airbyte/source-python-http-example:dev`. Then, follow the instructions from the [building a connector the hard way tutorial](https://docs.airbyte.io/tutorials/tutorials/build-a-connector-the-hard-way#use-the-connector-in-the-airbyte-ui) for using the connector in the Airbyte UI, replacing the name as appropriate. | ||
To use your connector in your own installation of Airbyte, build the docker image for your container by running `docker build . -t airbyte/source-python-http-example:dev`. Then, follow the instructions from the [building a python source tutorial](https://docs.airbyte.io/connector-development/tutorials/building-a-python-source) for using the connector in the Airbyte UI, replacing the name as appropriate. | ||
|
||
Note: your built docker image must be accessible to the `docker` daemon running on the Airbyte node. If you're doing this tutorial locally, these instructions are sufficient. Otherwise you may need to push your Docker image to Dockerhub. |
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
Oops, something went wrong.