Skip to content

Commit c225cb2

Browse files
authored
Update link checker config (#22604) (#22710)
1 parent 7a75928 commit c225cb2

3 files changed

Lines changed: 13 additions & 5 deletions

File tree

.github/workflows/link.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,11 @@ jobs:
1919
- name: Check Links
2020
uses: lycheeverse/lychee-action@v1.6.1
2121
with:
22-
# For parameter description, see https://github.com/lycheeverse/lychee#commandline-parameters
23-
# Accept 429 for now due to github rate limit.
24-
# See https://github.com/lycheeverse/lychee/issues/634
25-
args: -E --exclude-mail -i -n -t 45 -- **/*.md *.md
22+
# Don't fail as we want the workflow to continue and run 'Create Issue From File'
23+
# Excluding releases paths as historic releases may have outdated links.
24+
fail: false
25+
failIfEmpty: false
26+
args: --root-dir $(pwd) --cache --max-cache-age 8d -E -i -n -t 45 --exclude-path '^./releases/' --exclude-path '^./tidb-cloud/releases/' --exclude-path '^./resources/' .
2627
output: out.md
2728
env:
2829
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

.lycheeignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ https://bugs\.mysql\.com/bug\.php.*
2929
https://www\.mysql\.com/products/.*
3030
https://help\.openai\.com/en/articles/.*
3131
https://platform\.openai\.com/docs/.*
32+
https://platform\.openai\.com/api-keys
3233
https://openai\.com/.*
3334
https://jwt\.io/
3435
https://typeorm\.io/.*
@@ -38,3 +39,9 @@ https://docs\.pingcap\.com/tidb/v6\.6/system-variables#tidb_pessimistic_txn_aggr
3839
https://docs\.pingcap\.com/tidb/v7\.6/system-variables#tidb_ddl_version-new-in-v760
3940
https://developers\.redhat\.com/blog/2021/01/05/building-red-hat-enterprise-linux-9-for-the-x86-64-v2-microarchitecture-level
4041
https://portal\.azure\.com/.*
42+
https://.*github.*/%7B%7B%7B%20.tidb_operator_version%20%7D%7D%7D
43+
https://.*github.*/%7B%7B%7B.tidb-operator-version%7D%7D%7D
44+
https://portal\.azure\.com/.*
45+
https://azuremarketplace\.microsoft\.com/.*
46+
https://one\.newrelic\.com/.*
47+
https://tidbcloud\.com/.*

tidb-cloud/tidb-cloud-glossary.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ For more information, see [Manage an endpoint](/tidb-cloud/data-service-manage-e
7171

7272
Unlike [Vector Search](/ai/concepts/vector-search-overview.md), which focuses on semantic similarity, full-text search lets you retrieve documents for exact keywords. In Retrieval-Augmented Generation (RAG) scenarios, you can use full-text search together with vector search to improve the retrieval quality.
7373

74-
For more information, see [Full-Text Search with SQL](https://docs.pingcap.com/developer/vector-search-full-text-search-sql) and [Full-Text Search with Python](https://docs.pingcap.com/developer/vector-search-full-text-search-python).
74+
For more information, see [Full-Text Search with SQL](/ai/guides/vector-search-full-text-search-sql.md) and [Full-Text Search with Python](/ai/guides/vector-search-full-text-search-python.md).
7575

7676
## M
7777

0 commit comments

Comments
 (0)