ci: Move lychee link check to script/check-links (#32460)
Follow-up to: https://github.com/zed-industries/zed/pull/30844 Transient link failure was blocking PR tests passing. [Example run](https://github.com/zed-industries/zed/actions/runs/15560960788/job/43812878693?pr=32458). Release Notes: - N/A
This commit is contained in:
parent
c1a4a24bce
commit
46f98b6001
3 changed files with 8 additions and 7 deletions
6
.github/actions/build_docs/action.yml
vendored
6
.github/actions/build_docs/action.yml
vendored
|
@ -19,12 +19,6 @@ runs:
|
|||
shell: bash -euxo pipefail {0}
|
||||
run: ./script/linux
|
||||
|
||||
- name: Check for broken links
|
||||
uses: lycheeverse/lychee-action@82202e5e9c2f4ef1a55a3d02563e1cb6041e5332 # v2.4.1
|
||||
with:
|
||||
args: --no-progress './docs/src/**/*'
|
||||
fail: true
|
||||
|
||||
- name: Build book
|
||||
shell: bash -euxo pipefail {0}
|
||||
run: |
|
||||
|
|
|
@ -25,7 +25,7 @@ Here's an overview of the supported providers and tool call support:
|
|||
|
||||
## Use Your Own Keys {#use-your-own-keys}
|
||||
|
||||
While Zed offers hosted versions of models through [our various plans](/ai/plans-and-usage), we're always happy to support users wanting to supply their own API keys.
|
||||
While Zed offers hosted versions of models through [our various plans](./plans-and-usage.md), we're always happy to support users wanting to supply their own API keys.
|
||||
Below, you can learn how to do that for each provider.
|
||||
|
||||
> Using your own API keys is _free_—you do not need to subscribe to a Zed plan to use our AI features with your own keys.
|
||||
|
|
7
script/check-links
Executable file
7
script/check-links
Executable file
|
@ -0,0 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
cargo install lychee
|
||||
cd "$(dirname "$0")/.."
|
||||
lychee --no-progress './docs/src/**/*'
|
Loading…
Add table
Add a link
Reference in a new issue