diff --git a/.github/actions/build_docs/action.yml b/.github/actions/build_docs/action.yml index 19b8801123..27f0f37d4f 100644 --- a/.github/actions/build_docs/action.yml +++ b/.github/actions/build_docs/action.yml @@ -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: | diff --git a/docs/src/ai/configuration.md b/docs/src/ai/configuration.md index 8d8d000320..7345b2b2ae 100644 --- a/docs/src/ai/configuration.md +++ b/docs/src/ai/configuration.md @@ -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. diff --git a/script/check-links b/script/check-links new file mode 100755 index 0000000000..0f9840ec06 --- /dev/null +++ b/script/check-links @@ -0,0 +1,7 @@ +#!/usr/bin/env bash + +set -euo pipefail + +cargo install lychee +cd "$(dirname "$0")/.." +lychee --no-progress './docs/src/**/*'