MCPcopy Create free account

hub / github.com/Seeed-Studio/wiki-documents / functions

Functions432 in github.com/Seeed-Studio/wiki-documents

↓ 94 callersFunctioncreateLocalizedWikiUrl
(enUrl: string)
src/components/jetson/productData.ts:23
↓ 22 callersFunctionuseLocalizedTexts
(lang)
src/components/jetson/FlashCodeBlock.jsx:47
↓ 20 callersFunctionlog
(...args)
static/js/language-switcher.js:10
↓ 16 callersFunctiongetLocaleValue
(obj: Partial<Record<Lang, T>> | undefined, lang: Lang, fallback?: T)
src/components/jetson/index.tsx:948
↓ 15 callersFunctiontr
(dict, text)
src/components/robotics/SensingGMSLCam.jsx:292
↓ 14 callersFunctionlocalizeHref
(href: string, locale: Locale)
src/pages/home/lib/locale.ts:70
↓ 12 callersFunctiontryReadTitle
(absFile)
scripts/generateWiki.js:49
↓ 8 callersFunctiondetectLocaleFromPath
(pathname: string)
src/pages/home/lib/locale.ts:44
↓ 6 callersFunctiongetT
(lang)
src/components/robotics/SensingGMSLCam.jsx:291
↓ 6 callersFunctionqueryData
()
src/pages/contributors/index.tsx:34
↓ 5 callersFunction_skip_string
(js: str, i: int)
scripts/sidebars_ai_pipeline.py:354
↓ 5 callersFunctioncleanValue
(value)
scripts/generate-jetson-config.js:214
↓ 5 callersFunctiongetCurrentLanguageAndPath
()
static/js/language-switcher.js:16582
↓ 5 callersFunctionhandleHistoryChange
(source)
static/js/language-switcher.js:17072
↓ 5 callersFunctioninjectOrUpdateMobileTopbarSwitcherLogo
()
static/js/language-switcher.js:16967
↓ 5 callersFunctionnormPath
(p)
sites/ja/docusaurus.config.js:49
↓ 5 callersFunctionnormPath
(p)
sites/pt-BR/docusaurus.config.js:49
↓ 5 callersFunctionnormPath
(p)
sites/en/docusaurus.config.js:49
↓ 5 callersFunctionnormPath
(p)
sites/es/docusaurus.config.js:49
↓ 5 callersFunctionnormPath
(p)
sites/zh-CN/docusaurus.config.js:49
↓ 5 callersFunctionrunGit
(cmd)
scripts/normalize-frontmatter.js:34
↓ 4 callersFunctionbuildComparableFromRaw
(raw)
scripts/normalize-frontmatter.js:217
↓ 4 callersFunctionfindAvailableLanguages
(basePath, currentLanguage)
static/js/language-switcher.js:16608
↓ 4 callersFunctiongetLocalizedTitle
(item, lang /* 'cn'|'ja'|'es'|'pt' */)
scripts/generateWiki.js:116
↓ 4 callersFunctionhandleOperate
(item: any, type: OperateType, action: ActionType, is_cancel: number, callback)
src/pages/contributors/index.tsx:271
↓ 4 callersFunctioninjectOrUpdateSwitcher
()
static/js/language-switcher.js:16672
↓ 4 callersFunctionshellQuoteDouble
(str)
scripts/normalize-frontmatter.js:50
↓ 4 callersFunctiontoUrl
(url: string)
src/pages/contributors/index.tsx:27
↓ 4 callersFunctiontransform_doc_id
(val:str, folder_prefix:str, file_prefix:str)
scripts/sidebars_ai_pipeline.py:344
↓ 3 callersFunction_collect
(pattern: re.Pattern, s: str)
scripts/fix_links.py:147
↓ 3 callersFunction_match_span
(js: str, lpos: int, lchar: str, rchar: str)
scripts/sidebars_ai_pipeline.py:368
↓ 3 callersFunction_post_with_http
()
scripts/sidebars_ai_pipeline.py:198
↓ 3 callersFunctionclearCloseTimer
()
src/pages/home/_Home.tsx:133
↓ 3 callersFunctionensure_trailing_slash
(s:str)
scripts/sidebars_ai_pipeline.py:336
↓ 3 callersFunctionextractLocs
(xml)
scripts/gen-giscus-dup.mjs:92
↓ 3 callersFunctiongetCommitDateYMD
(commit)
scripts/normalize-frontmatter.js:126
↓ 3 callersFunctiongetFileContentAtCommit
(commit, filePathAtThatCommit)
scripts/normalize-frontmatter.js:114
↓ 3 callersFunctiongetFilteredProjects
()
src/components/jetson/index.tsx:1041
↓ 3 callersFunctiongetL4TData
(product, l4t)
src/components/jetson/DownloadLink.jsx:171
↓ 3 callersFunctiongetSidebarMenuList
()
static/js/language-switcher.js:16806
↓ 3 callersFunctionisEnglishOnlyWiki
(url: string)
src/components/home/BazaarAffiliate.tsx:207
↓ 3 callersFunctionlinkFor
(rawHref: string, locale: Locale)
src/components/topNav/index.tsx:20
↓ 3 callersFunctionlocalizedLink
(path: string, locale: Locale)
src/pages/home/lib/locale.ts:53
↓ 3 callersFunctionprepareUserState
()
src/pages/knowledgebase/KnowledgebasePage.tsx:36
↓ 3 callersFunctionreadSearchTags
(search: string)
src/pages/knowledgebase/_components/ShowcaseTagSelect/index.tsx:31
↓ 3 callersFunctiontranslateNavbarLabel
( label: ReactNode, locale: Locale )
src/theme/NavbarItem/navLabelHelper.ts:202
↓ 3 callersFunctionwithSlash
(p)
sites/ja/docusaurus.config.js:58
↓ 3 callersFunctionwithSlash
(p)
sites/pt-BR/docusaurus.config.js:58
↓ 3 callersFunctionwithSlash
(p)
sites/en/docusaurus.config.js:58
↓ 3 callersFunctionwithSlash
(p)
sites/es/docusaurus.config.js:58
↓ 3 callersFunctionwithSlash
(p)
sites/zh-CN/docusaurus.config.js:58
↓ 2 callersFunction_extract_balanced_json
从任意文本中提取第一个“配对完整的大括号”JSON 对象子串。
scripts/sidebars_ai_pipeline.py:81
↓ 2 callersFunctionapplyAnnouncementText
()
static/js/custom.js:31
↓ 2 callersFunctionchangeTopicId
(id)
src/pages/contributors/index.tsx:159
↓ 2 callersFunctioncloseMenu
()
static/js/language-switcher.js:16934
↓ 2 callersFunctioncountCards
(sections: FilteredSection[])
src/pages/knowledgebase/KnowledgebasePage.tsx:103
↓ 2 callersFunctionensureAnnouncementBar
()
static/js/custom.js:61
↓ 2 callersFunctionextractTitle
(fileContent)
scripts/generateWiki.js:40
↓ 2 callersFunctionfind_key_array_span
(js_text: str, key: str)
scripts/sidebars_ai_pipeline.py:411
↓ 2 callersFunctionfind_top_object_span
支持: a) export default { ... } b) module.exports = { ... } c) export default IDENT / module.exports = IDENT + const/let/var
scripts/sidebars_ai_pipeline.py:383
↓ 2 callersFunctionghGraphQL
-------- GitHub GraphQL --------
scripts/gen-giscus-dup.mjs:227
↓ 2 callersFunctionisEnglishOnlyPath
(path: string)
src/pages/home/lib/locale.ts:25
↓ 2 callersFunctionis_protected_path
仅当去掉末尾斜杠后精确等于受保护基路径时返回 True。 区分大小写:/contributors 保护;/Contributor 不保护。
scripts/fix_links.py:86
↓ 2 callersFunctionjudgeHomePath
()
src/utils/jsUtils.ts:24
↓ 2 callersFunctionjudgeIsMobile
()
src/utils/jsUtils.ts:54
↓ 2 callersFunctionlistSitemapXmlFiles
(buildDir)
scripts/gen-giscus-dup.mjs:67
↓ 2 callersFunctionnew_token
(text: str)
scripts/sidebars_ai_pipeline.py:110
↓ 2 callersFunctionnormalizeLang
(lang = 'en')
src/components/jetson/FlashCodeBlock.jsx:27
↓ 2 callersFunctionnormalizePath
(path: string)
src/pages/home/lib/locale.ts:18
↓ 2 callersFunctionnormalizePathname
(p)
scripts/gen-giscus-dup.mjs:38
↓ 2 callersFunctionnormalizeSlug
(slug)
scripts/normalize-frontmatter.js:140
↓ 2 callersFunctionreadSearchName
(search: string)
src/pages/knowledgebase/KnowledgebasePage.tsx:46
↓ 2 callersFunctionrenderNa
(list, locale: Locale, isExplore?: boolean)
src/components/topNav/index.tsx:32
↓ 2 callersFunctionrun
(cmd)
scripts/setup-links.js:23
↓ 2 callersFunctiontoNumericArray
(value = '')
src/components/jetson/OtaProductSelect.jsx:112
↓ 2 callersFunctiontoNums
src/components/jetson/DownloadLink.jsx:24
↓ 2 callersFunctiontoRepoRelative
(fileAbsPath)
scripts/normalize-frontmatter.js:46
↓ 2 callersFunctiontoYMD
(iso)
scripts/normalize-frontmatter.js:131
↓ 2 callersFunctiontransform_url
(url: str, lang: str)
scripts/fix_links.py:110
↓ 2 callersFunctiontranslateNavItems
(items, locale)
src/define/indexData.js:668
↓ 1 callersFunction_chunk_list
Yield successive n-sized chunks from lst.
scripts/sidebars_ai_pipeline.py:363
↓ 1 callersFunction_make_claude_client
()
scripts/sidebars_ai_pipeline.py:59
↓ 1 callersFunction_make_placeholder
(idx: int)
scripts/fix_links.py:144
↓ 1 callersFunction_restore_comments_from_tokens
(js: str, tokens: Dict[str, str])
scripts/sidebars_ai_pipeline.py:154
↓ 1 callersFunction_rewrite_and_format_items_arrays
安全改写 items 数组(任意嵌套层级): - 顶层字符串元素:替换为加前缀后的文档 id - 若顶层所有元素都是字符串:美化为一行一个(保留 items 行缩进) - 若混合(含对象/数组/表达式等):仅替换字符串,整体排版完全保持原样 (注
scripts/sidebars_ai_pipeline.py:480
↓ 1 callersFunction_strip_code_fences
(s: str)
scripts/sidebars_ai_pipeline.py:73
↓ 1 callersFunction_strip_comments_preserve_tokens
把 JS 单行 // 与多行 /* */ 注释替换成占位符,返回 (去注释文本, 占位映射)。 会跳过字符串内容,避免把字符串里的 // 或 /* 当成注释。
scripts/sidebars_ai_pipeline.py:99
↓ 1 callersFunctionapply_mapping_to_field
(array_text:str, field:str, mapping:Dict[str,str])
scripts/sidebars_ai_pipeline.py:472
↓ 1 callersFunctionattemptInitialization
()
static/js/language-switcher.js:17133
↓ 1 callersFunctionbindMobileSwitcherBehavior
(li)
static/js/language-switcher.js:16811
↓ 1 callersFunctionbindMobileTopbarDropdown
(container)
static/js/language-switcher.js:16929
↓ 1 callersFunctionbuildSlugFromFilePath
(filePath, lang)
scripts/generate-jetson-config.js:227
↓ 1 callersFunctionbuildTagMeta
(locale: Locale)
src/define/knowledgebase.ts:1102
↓ 1 callersFunctionbuildUrl
(prefix, slug)
scripts/normalize-frontmatter.js:152
↓ 1 callersFunctionbuild_lang_sidebar
(en_array_text:str, *, target_lang:str, translate_dirname:bool, folder_prefix:str, file
scripts/sidebars_ai_pipeline.py:664
↓ 1 callersFunctionchangeTab
(index)
src/components/home/browseBy.tsx:463
↓ 1 callersFunctionclaimRender
(isMobile)
src/pages/contributors/index.tsx:117
↓ 1 callersFunctionclaude_translate
(values: List[str], target_lang: str, what: str, model: str, never_translate: Optional[List[str]] = None)
scripts/sidebars_ai_pipeline.py:162
↓ 1 callersFunctioncleanSlug
(value)
scripts/generate-jetson-config.js:220
↓ 1 callersFunctioncmpVersions
(a, b)
src/components/jetson/DownloadLink.jsx:23
next →1–100 of 432, ranked by callers