[CI](docs)Add deadlink check (#22736)
This commit is contained in:
19
.dlc.json
Normal file
19
.dlc.json
Normal file
@ -0,0 +1,19 @@
|
||||
{
|
||||
"ignorePatterns": [
|
||||
{
|
||||
"pattern": "^http://localhost"
|
||||
},
|
||||
{
|
||||
"pattern": "^https://twitter.com*"
|
||||
}
|
||||
],
|
||||
"timeout": "10s",
|
||||
"retryOn429": true,
|
||||
"retryCount": 10,
|
||||
"fallbackRetryDelay": "1000s",
|
||||
"aliveStatusCodes": [
|
||||
200,
|
||||
401,
|
||||
403
|
||||
]
|
||||
}
|
||||
38
.github/workflows/deadlink-check.yml
vendored
Normal file
38
.github/workflows/deadlink-check.yml
vendored
Normal file
@ -0,0 +1,38 @@
|
||||
# Licensed to the Apache Software Foundation (ASF) under one
|
||||
# or more contributor license agreements. See the NOTICE file
|
||||
# distributed with this work for additional information
|
||||
# regarding copyright ownership. The ASF licenses this file
|
||||
# to you under the Apache License, Version 2.0 (the
|
||||
# "License"); you may not use this file except in compliance
|
||||
# with the License. You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
name: Dead Link Checker
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
schedule:
|
||||
- cron: '0 18 * * *' # TimeZone: UTC 0
|
||||
|
||||
concurrency:
|
||||
group: dlc-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
CheckDeadLinks:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 30
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- run: sudo npm install -g markdown-link-check@3.10.0
|
||||
- run: |
|
||||
for file in $(find . -name "*.md"); do
|
||||
markdown-link-check -c .dlc.json -q "$file"
|
||||
done
|
||||
@ -31,7 +31,7 @@ Realized through flink doris connector
|
||||
|
||||
**Note:** Because the Flink doris connector jar package is not in the Maven central warehouse, you need to compile it
|
||||
separately and add it to the classpath of your project. Refer to the compilation and use of Flink doris connector:
|
||||
[Flink doris connector]: https://doris.apache.org/master/zh-CN/extending-doris/flink-doris-connector.html
|
||||
[Flink doris connector]: https://doris.apache.org/zh-CN/docs/dev/ecosystem/flink-doris-connector
|
||||
|
||||
2.flink jdbc connector
|
||||
|
||||
|
||||
Reference in New Issue
Block a user