mirror of
https://github.com/deepseek-ai/deepseek-harness.git
synced 2026-08-29 04:26:38 +00:00
fix(scripts): let the documentation site carry its own images
An image the manifest does not publish was rewritten to a raw.githubusercontent URL, which serves a private repository to nobody: raw answers 404 unauthenticated, and a github.com session does not authenticate it. Every image on the site was broken for every reader, and no gate could say so — link checking asks whether the file exists in the repository, not whether a site reader can fetch it. The projector now copies a referenced image into the generated tree beside the page and points the reference at it, so Vite bundles it like any other site asset and repository visibility cannot reach the published page. The copy lands beside the page so one relative URL is right from both locale trees and a page's assets leave with the page; two sources projecting onto one path throw rather than letting the last copy win. Canonical Markdown keeps writing ordinary repository-relative paths, so the same file still renders when read in the repository. The guide this was found through is renamed to its subject: 配置模型.
This commit is contained in:
@@ -2,5 +2,5 @@
|
||||
# side as of the last confirmed-consistent state. Both languages carry equal authority;
|
||||
# after editing either side, bring the other along and re-record with:
|
||||
# pnpm run verify-translation-pairing --write docs/user/guide/providers.md
|
||||
providers.md: c555e62d5343ccc758c0c6e699d30ffec229f2df
|
||||
providers.zh.md: 6c4154c86db3d95c6b083519533954fc4cc90e45
|
||||
providers.md: d96cab0fa09583d81d98863169819fdd78d636e7
|
||||
providers.zh.md: d413fec2f9d703e31e82e50fcbe83b24bd58ee39
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Configure model providers
|
||||
# Configure models
|
||||
|
||||
English | [中文](providers.zh.md)
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# 配置模型提供方
|
||||
# 配置模型
|
||||
|
||||
[English](providers.md) | 中文
|
||||
|
||||
|
||||
@@ -2,5 +2,5 @@
|
||||
# side as of the last confirmed-consistent state. Both languages carry equal authority;
|
||||
# after editing either side, bring the other along and re-record with:
|
||||
# pnpm run verify-translation-pairing --write docs/user/guide/quickstart.md
|
||||
quickstart.md: 8a9ed716d9395448aadfb97d0935bd42ee06e6c1
|
||||
quickstart.zh.md: 3652b0453f870640b278ce6f1355e67e85983ffe
|
||||
quickstart.md: e81e0ff57384156ee2963d4788519d2384c362ea
|
||||
quickstart.zh.md: 9755da8bf078c817f9c2a00134360b5169c536bf
|
||||
|
||||
@@ -57,6 +57,6 @@ headless-agent uses the `@deepseek-ai/dsh-cli-demo` app. `dsh web` instead compo
|
||||
|
||||
## Next steps
|
||||
|
||||
- [Model providers](./providers.md) — reach providers beyond DeepSeek, and custom gateways
|
||||
- [Configure models](./providers.md) — reach providers beyond DeepSeek, and custom gateways
|
||||
- [Configuration](./config.md) — understand the `cordis.yml` format
|
||||
- [Develop a plugin](../develop/basic/) — build your own tool or backend
|
||||
|
||||
@@ -57,6 +57,6 @@ headless-agent 使用 `@deepseek-ai/dsh-cli-demo` app。`dsh web` 则组合 [`ap
|
||||
|
||||
## 下一步
|
||||
|
||||
- [配置模型提供方](./providers.md) — 接入 DeepSeek 之外的提供方与自定义网关
|
||||
- [配置模型](./providers.md) — 接入 DeepSeek 之外的提供方与自定义网关
|
||||
- [配置文件](./config.md) — 了解 `cordis.yml` 的格式
|
||||
- [开发插件](../develop/basic/) — 编写自己的 tool 或后端
|
||||
|
||||
Reference in New Issue
Block a user