diff --git a/shortcuts/doc/docs_content_compat.go b/shortcuts/doc/docs_content_compat.go new file mode 100644 index 000000000..249d7b8d1 --- /dev/null +++ b/shortcuts/doc/docs_content_compat.go @@ -0,0 +1,51 @@ +// Copyright (c) 2026 Lark Technologies Pte. Ltd. +// SPDX-License-Identifier: MIT + +package doc + +import ( + "fmt" + "regexp" + "strings" +) + +var fetchedVideoTagRe = regexp.MustCompile(`]*?)>`) + +// normalizeDocInputContent keeps the current docs_ai request path intact while +// accepting a small compatibility surface from the legacy converter pipeline. +// Today this is intentionally limited to translating exported