Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Seeed-Studio/wiki-documents
/ functions
Functions
432 in github.com/Seeed-Studio/wiki-documents
⨍
Functions
432
◇
Types & classes
11
↓ 94 callers
Function
createLocalizedWikiUrl
(enUrl: string)
src/components/jetson/productData.ts:23
↓ 22 callers
Function
useLocalizedTexts
(lang)
src/components/jetson/FlashCodeBlock.jsx:47
↓ 20 callers
Function
log
(...args)
static/js/language-switcher.js:10
↓ 16 callers
Function
getLocaleValue
(obj: Partial<Record<Lang, T>> | undefined, lang: Lang, fallback?: T)
src/components/jetson/index.tsx:948
↓ 15 callers
Function
tr
(dict, text)
src/components/robotics/SensingGMSLCam.jsx:292
↓ 14 callers
Function
localizeHref
(href: string, locale: Locale)
src/pages/home/lib/locale.ts:70
↓ 12 callers
Function
tryReadTitle
(absFile)
scripts/generateWiki.js:49
↓ 8 callers
Function
detectLocaleFromPath
(pathname: string)
src/pages/home/lib/locale.ts:44
↓ 6 callers
Function
getT
(lang)
src/components/robotics/SensingGMSLCam.jsx:291
↓ 6 callers
Function
queryData
()
src/pages/contributors/index.tsx:34
↓ 5 callers
Function
_skip_string
(js: str, i: int)
scripts/sidebars_ai_pipeline.py:354
↓ 5 callers
Function
cleanValue
(value)
scripts/generate-jetson-config.js:214
↓ 5 callers
Function
getCurrentLanguageAndPath
()
static/js/language-switcher.js:16582
↓ 5 callers
Function
handleHistoryChange
(source)
static/js/language-switcher.js:17072
↓ 5 callers
Function
injectOrUpdateMobileTopbarSwitcherLogo
()
static/js/language-switcher.js:16967
↓ 5 callers
Function
normPath
(p)
sites/ja/docusaurus.config.js:49
↓ 5 callers
Function
normPath
(p)
sites/pt-BR/docusaurus.config.js:49
↓ 5 callers
Function
normPath
(p)
sites/en/docusaurus.config.js:49
↓ 5 callers
Function
normPath
(p)
sites/es/docusaurus.config.js:49
↓ 5 callers
Function
normPath
(p)
sites/zh-CN/docusaurus.config.js:49
↓ 5 callers
Function
runGit
(cmd)
scripts/normalize-frontmatter.js:34
↓ 4 callers
Function
buildComparableFromRaw
(raw)
scripts/normalize-frontmatter.js:217
↓ 4 callers
Function
findAvailableLanguages
(basePath, currentLanguage)
static/js/language-switcher.js:16608
↓ 4 callers
Function
getLocalizedTitle
(item, lang /* 'cn'|'ja'|'es'|'pt' */)
scripts/generateWiki.js:116
↓ 4 callers
Function
handleOperate
(item: any, type: OperateType, action: ActionType, is_cancel: number, callback)
src/pages/contributors/index.tsx:271
↓ 4 callers
Function
injectOrUpdateSwitcher
()
static/js/language-switcher.js:16672
↓ 4 callers
Function
shellQuoteDouble
(str)
scripts/normalize-frontmatter.js:50
↓ 4 callers
Function
toUrl
(url: string)
src/pages/contributors/index.tsx:27
↓ 4 callers
Function
transform_doc_id
(val:str, folder_prefix:str, file_prefix:str)
scripts/sidebars_ai_pipeline.py:344
↓ 3 callers
Function
_collect
(pattern: re.Pattern, s: str)
scripts/fix_links.py:147
↓ 3 callers
Function
_match_span
(js: str, lpos: int, lchar: str, rchar: str)
scripts/sidebars_ai_pipeline.py:368
↓ 3 callers
Function
_post_with_http
()
scripts/sidebars_ai_pipeline.py:198
↓ 3 callers
Function
clearCloseTimer
()
src/pages/home/_Home.tsx:133
↓ 3 callers
Function
ensure_trailing_slash
(s:str)
scripts/sidebars_ai_pipeline.py:336
↓ 3 callers
Function
extractLocs
(xml)
scripts/gen-giscus-dup.mjs:92
↓ 3 callers
Function
getCommitDateYMD
(commit)
scripts/normalize-frontmatter.js:126
↓ 3 callers
Function
getFileContentAtCommit
(commit, filePathAtThatCommit)
scripts/normalize-frontmatter.js:114
↓ 3 callers
Function
getFilteredProjects
()
src/components/jetson/index.tsx:1041
↓ 3 callers
Function
getL4TData
(product, l4t)
src/components/jetson/DownloadLink.jsx:171
↓ 3 callers
Function
getSidebarMenuList
()
static/js/language-switcher.js:16806
↓ 3 callers
Function
isEnglishOnlyWiki
(url: string)
src/components/home/BazaarAffiliate.tsx:207
↓ 3 callers
Function
linkFor
(rawHref: string, locale: Locale)
src/components/topNav/index.tsx:20
↓ 3 callers
Function
localizedLink
(path: string, locale: Locale)
src/pages/home/lib/locale.ts:53
↓ 3 callers
Function
prepareUserState
()
src/pages/knowledgebase/KnowledgebasePage.tsx:36
↓ 3 callers
Function
readSearchTags
(search: string)
src/pages/knowledgebase/_components/ShowcaseTagSelect/index.tsx:31
↓ 3 callers
Function
translateNavbarLabel
( label: ReactNode, locale: Locale )
src/theme/NavbarItem/navLabelHelper.ts:202
↓ 3 callers
Function
withSlash
(p)
sites/ja/docusaurus.config.js:58
↓ 3 callers
Function
withSlash
(p)
sites/pt-BR/docusaurus.config.js:58
↓ 3 callers
Function
withSlash
(p)
sites/en/docusaurus.config.js:58
↓ 3 callers
Function
withSlash
(p)
sites/es/docusaurus.config.js:58
↓ 3 callers
Function
withSlash
(p)
sites/zh-CN/docusaurus.config.js:58
↓ 2 callers
Function
_extract_balanced_json
从任意文本中提取第一个“配对完整的大括号”JSON 对象子串。
scripts/sidebars_ai_pipeline.py:81
↓ 2 callers
Function
applyAnnouncementText
()
static/js/custom.js:31
↓ 2 callers
Function
changeTopicId
(id)
src/pages/contributors/index.tsx:159
↓ 2 callers
Function
closeMenu
()
static/js/language-switcher.js:16934
↓ 2 callers
Function
countCards
(sections: FilteredSection[])
src/pages/knowledgebase/KnowledgebasePage.tsx:103
↓ 2 callers
Function
ensureAnnouncementBar
()
static/js/custom.js:61
↓ 2 callers
Function
extractTitle
(fileContent)
scripts/generateWiki.js:40
↓ 2 callers
Function
find_key_array_span
(js_text: str, key: str)
scripts/sidebars_ai_pipeline.py:411
↓ 2 callers
Function
find_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 callers
Function
ghGraphQL
-------- GitHub GraphQL --------
scripts/gen-giscus-dup.mjs:227
↓ 2 callers
Function
isEnglishOnlyPath
(path: string)
src/pages/home/lib/locale.ts:25
↓ 2 callers
Function
is_protected_path
仅当去掉末尾斜杠后精确等于受保护基路径时返回 True。 区分大小写:/contributors 保护;/Contributor 不保护。
scripts/fix_links.py:86
↓ 2 callers
Function
judgeHomePath
()
src/utils/jsUtils.ts:24
↓ 2 callers
Function
judgeIsMobile
()
src/utils/jsUtils.ts:54
↓ 2 callers
Function
listSitemapXmlFiles
(buildDir)
scripts/gen-giscus-dup.mjs:67
↓ 2 callers
Function
new_token
(text: str)
scripts/sidebars_ai_pipeline.py:110
↓ 2 callers
Function
normalizeLang
(lang = 'en')
src/components/jetson/FlashCodeBlock.jsx:27
↓ 2 callers
Function
normalizePath
(path: string)
src/pages/home/lib/locale.ts:18
↓ 2 callers
Function
normalizePathname
(p)
scripts/gen-giscus-dup.mjs:38
↓ 2 callers
Function
normalizeSlug
(slug)
scripts/normalize-frontmatter.js:140
↓ 2 callers
Function
readSearchName
(search: string)
src/pages/knowledgebase/KnowledgebasePage.tsx:46
↓ 2 callers
Function
renderNa
(list, locale: Locale, isExplore?: boolean)
src/components/topNav/index.tsx:32
↓ 2 callers
Function
run
(cmd)
scripts/setup-links.js:23
↓ 2 callers
Function
toNumericArray
(value = '')
src/components/jetson/OtaProductSelect.jsx:112
↓ 2 callers
Function
toNums
src/components/jetson/DownloadLink.jsx:24
↓ 2 callers
Function
toRepoRelative
(fileAbsPath)
scripts/normalize-frontmatter.js:46
↓ 2 callers
Function
toYMD
(iso)
scripts/normalize-frontmatter.js:131
↓ 2 callers
Function
transform_url
(url: str, lang: str)
scripts/fix_links.py:110
↓ 2 callers
Function
translateNavItems
(items, locale)
src/define/indexData.js:668
↓ 1 callers
Function
_chunk_list
Yield successive n-sized chunks from lst.
scripts/sidebars_ai_pipeline.py:363
↓ 1 callers
Function
_make_claude_client
()
scripts/sidebars_ai_pipeline.py:59
↓ 1 callers
Function
_make_placeholder
(idx: int)
scripts/fix_links.py:144
↓ 1 callers
Function
_restore_comments_from_tokens
(js: str, tokens: Dict[str, str])
scripts/sidebars_ai_pipeline.py:154
↓ 1 callers
Function
_rewrite_and_format_items_arrays
安全改写 items 数组(任意嵌套层级): - 顶层字符串元素:替换为加前缀后的文档 id - 若顶层所有元素都是字符串:美化为一行一个(保留 items 行缩进) - 若混合(含对象/数组/表达式等):仅替换字符串,整体排版完全保持原样 (注
scripts/sidebars_ai_pipeline.py:480
↓ 1 callers
Function
_strip_code_fences
(s: str)
scripts/sidebars_ai_pipeline.py:73
↓ 1 callers
Function
_strip_comments_preserve_tokens
把 JS 单行 // 与多行 /* */ 注释替换成占位符,返回 (去注释文本, 占位映射)。 会跳过字符串内容,避免把字符串里的 // 或 /* 当成注释。
scripts/sidebars_ai_pipeline.py:99
↓ 1 callers
Function
apply_mapping_to_field
(array_text:str, field:str, mapping:Dict[str,str])
scripts/sidebars_ai_pipeline.py:472
↓ 1 callers
Function
attemptInitialization
()
static/js/language-switcher.js:17133
↓ 1 callers
Function
bindMobileSwitcherBehavior
(li)
static/js/language-switcher.js:16811
↓ 1 callers
Function
bindMobileTopbarDropdown
(container)
static/js/language-switcher.js:16929
↓ 1 callers
Function
buildSlugFromFilePath
(filePath, lang)
scripts/generate-jetson-config.js:227
↓ 1 callers
Function
buildTagMeta
(locale: Locale)
src/define/knowledgebase.ts:1102
↓ 1 callers
Function
buildUrl
(prefix, slug)
scripts/normalize-frontmatter.js:152
↓ 1 callers
Function
build_lang_sidebar
(en_array_text:str, *, target_lang:str, translate_dirname:bool, folder_prefix:str, file
scripts/sidebars_ai_pipeline.py:664
↓ 1 callers
Function
changeTab
(index)
src/components/home/browseBy.tsx:463
↓ 1 callers
Function
claimRender
(isMobile)
src/pages/contributors/index.tsx:117
↓ 1 callers
Function
claude_translate
(values: List[str], target_lang: str, what: str, model: str, never_translate: Optional[List[str]] = None)
scripts/sidebars_ai_pipeline.py:162
↓ 1 callers
Function
cleanSlug
(value)
scripts/generate-jetson-config.js:220
↓ 1 callers
Function
cmpVersions
(a, b)
src/components/jetson/DownloadLink.jsx:23
next →
1–100 of 432, ranked by callers