docs: add API key blocks to agent guides - #4141
Closed
ManAsWind wants to merge 1 commit into
Closed
Conversation
Collaborator
|
Closing as superseded by #4152 (42d3799), which built on the same "add API key blocks to agent guides" changes and extended them with |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
背景
OpenViking 控制台的「接入 Agent」页面会从 docs.openviking.net 拉取 Agent 接入文档,并在文档中的 API Key 占位位置注入当前页面可复制的 API Key。部分 Agent 文档只写了让用户复制/粘贴本页 API Key,但没有显式占位块,导致页面上缺少 API Key 展示和复制入口。
变更内容
{{OPENVIKING_API_KEY_BLOCK}},使「API Key」步骤下方能渲染 API Key 展示与复制块。{{OPENVIKING_API_KEY_BLOCK}},保留 upstream/main 上已有的一段式安装命令。{{OPENVIKING_API_KEY_BLOCK}}。把本页 API Key 贴进去。调整为把本页 API Key 贴进去:,让后续展示的 API Key 块语义更连贯。{{OPENVIKING_API_KEY_BLOCK}}。影响范围
docs/images/agents/{zh,en}下的 Agent 接入文档静态资源。验证
pnpm --dir docs docs:buildgit diff --cached --check