feat: add help links for message platform adapters in YAML and update documentation retrieval logic

This commit is contained in:
Junyan Qin
2026-03-31 00:29:24 +08:00
parent 7129dd536e
commit ea638cab80
20 changed files with 94 additions and 31 deletions

View File

@@ -803,7 +803,7 @@ function StepPlatform({
</p>
{(() => {
const docUrl = getAdapterDocUrl(
adapter.name,
adapter.spec.help_links,
i18n.language,
);
return docUrl ? (
@@ -896,8 +896,11 @@ function StepBotConfig({
</CardTitle>
{selectedAdapterName &&
(() => {
const selectedAdapter = adapters.find(
(a) => a.name === selectedAdapterName,
);
const docUrl = getAdapterDocUrl(
selectedAdapterName,
selectedAdapter?.spec.help_links,
i18n.language,
);
return docUrl ? (