Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Consensys/doc.linea
/ functions
Functions
163 in github.com/Consensys/doc.linea
⨍
Functions
163
◇
Types & classes
5
↓ 23 callers
Function
assert
(condition, message)
scripts/agent-docs/verify-preview.js:42
↓ 12 callers
Function
writeFile
(root, filePath, content)
scripts/agent-docs/generate.test.js:13
↓ 11 callers
Function
fetchText
(pathname, options)
scripts/agent-docs/verify-preview.js:29
↓ 9 callers
Function
getMarkdownPathForRoute
(route)
scripts/agent-docs/lib.js:37
↓ 7 callers
Function
normalizeRoute
(route)
scripts/agent-docs/lib.js:27
↓ 6 callers
Function
generateAgentDocs
({ siteDir = process.cwd(), buildDir = path.join(siteDir, "build"), baseUrl = DEFAULT_BASE_URL, } = {})
scripts/agent-docs/lib.js:580
↓ 5 callers
Function
checkAgentDocs
({ siteDir = process.cwd(), buildDir = path.join(siteDir, "build"), baseUrl = DEFAULT_BASE_URL, } = {})
scripts/agent-docs/lib.js:659
↓ 5 callers
Function
createFixture
()
scripts/agent-docs/generate.test.js:19
↓ 5 callers
Function
findHtmlPath
(buildDir, route)
scripts/agent-docs/lib.js:58
↓ 5 callers
Function
sanitizeFeedbackText
(text: string)
api/feedback-sanitize.ts:25
↓ 4 callers
Function
readJson
(filePath)
scripts/agent-docs/discovery.test.js:8
↓ 3 callers
Function
assertMarkdownResponse
(label, result)
scripts/agent-docs/verify-preview.js:48
↓ 3 callers
Function
escapeHtml
(value)
scripts/agent-docs/lib.js:199
↓ 3 callers
Function
getHeaderValue
(source, key)
scripts/agent-docs/discovery.test.js:22
↓ 3 callers
Function
getMarkdownUrlForRoute
(route, baseUrl = DEFAULT_BASE_URL)
scripts/agent-docs/lib.js:43
↓ 3 callers
Function
showMessenger
()
src/pages/support.tsx:79
↓ 2 callers
Function
assertApiCatalog
(label, result)
scripts/agent-docs/verify-preview.js:74
↓ 2 callers
Function
escapeHtml
(value)
src/theme/DocItem/Layout/index.js:26
↓ 2 callers
Function
formatBytes
(bytes, decimals = 2)
src/components/NodeSize.jsx:4
↓ 2 callers
Function
getGitHubRawUrl
( editUrl: string | null | undefined, )
src/components/CopyPageButton/utils.ts:9
↓ 2 callers
Function
getPathForSameOriginUrl
(href, baseUrl = DEFAULT_BASE_URL)
scripts/agent-docs/lib.js:552
↓ 2 callers
Function
getReadableText
($, element)
scripts/agent-docs/lib.js:207
↓ 2 callers
Function
handleRating
(selected: Rating)
src/components/FeedbackWidget/index.tsx:28
↓ 2 callers
Function
markScriptError
(script: HTMLScriptElement)
src/pages/support.tsx:99
↓ 2 callers
Function
markScriptReady
(script: HTMLScriptElement)
src/pages/support.tsx:87
↓ 2 callers
Function
normalizeMarkdown
(markdown)
scripts/agent-docs/lib.js:370
↓ 2 callers
Function
normalizePathname
(pathname)
src/theme/Layout/index.js:8
↓ 2 callers
Function
readBuiltHtmlRoutes
(buildDir)
scripts/agent-docs/lib.js:79
↓ 2 callers
Function
readMarkdownAlternateHrefs
(html)
scripts/agent-docs/lib.js:540
↓ 2 callers
Function
readSitemapRoutes
({ buildDir, baseUrl = DEFAULT_BASE_URL, includeSkipped = false, })
scripts/agent-docs/lib.js:101
↓ 2 callers
Function
scheduleUpdate
()
src/clientModules/sidebarOffset.js:13
↓ 2 callers
Function
toPlainText
(value)
src/theme/DocItem/TOC/Desktop/index.js:22
↓ 1 callers
Function
addMarkdownIgnoreAttributes
(html, { route } = {})
scripts/agent-docs/lib.js:434
↓ 1 callers
Function
appendToSheet
(row: string[])
api/feedback.ts:46
↓ 1 callers
Function
assertExpectedHeaders
(label, result, expectedHeaders)
scripts/agent-docs/verify-preview.js:64
↓ 1 callers
Function
bootIntercom
()
src/pages/support.tsx:107
↓ 1 callers
Function
buildLlmsTxt
({ siteDir, pages, baseUrl = DEFAULT_BASE_URL })
scripts/agent-docs/lib.js:499
↓ 1 callers
Function
buildUrl
(pathname)
scripts/agent-docs/verify-preview.js:25
↓ 1 callers
Function
calculateDailyIncrease
(values)
scripts/fetchNodeSize.js:25
↓ 1 callers
Function
classifyCodeBlocks
()
src/clientModules/codeBlockClassifier.js:11
↓ 1 callers
Function
createGitHubIssue
( pageUrl: string, reason: string, )
api/feedback.ts:57
↓ 1 callers
Function
createTurndownService
()
scripts/agent-docs/lib.js:151
↓ 1 callers
Function
enrichReleaseNotesMobileTOC
(toc, releaseMeta)
src/theme/DocItem/Layout/index.js:80
↓ 1 callers
Function
escapeRegExp
(value)
scripts/agent-docs/lib.js:33
↓ 1 callers
Function
fetchData
()
scripts/fetchNodeSize.js:55
↓ 1 callers
Function
fireAnalyticsEvent
(selectedRating: Rating, reasonText: string)
src/components/FeedbackWidget/index.tsx:19
↓ 1 callers
Function
fixChangelogColor
()
static/js/fixChangelogColor.js:1
↓ 1 callers
Function
formatDate
(timestamp)
src/components/LastUpdated.jsx:6
↓ 1 callers
Function
generateSocialCard
(title, outputPath)
scripts/generateSocialCard.js:53
↓ 1 callers
Function
getCodeLanguage
(...nodes)
scripts/agent-docs/lib.js:169
↓ 1 callers
Function
getCodeText
(code)
scripts/agent-docs/lib.js:160
↓ 1 callers
Function
getCompactText
($, element)
scripts/agent-docs/lib.js:226
↓ 1 callers
Function
getContentRoot
($)
scripts/agent-docs/lib.js:387
↓ 1 callers
Function
getDeviceType
(ua: string)
api/feedback.ts:29
↓ 1 callers
Function
getDisplayLabel
(item, parentLabel)
src/theme/DocItem/TOC/Desktop/index.js:30
↓ 1 callers
Function
getHeaderConfig
(source)
scripts/agent-docs/discovery.test.js:12
↓ 1 callers
Function
getHtmlPathCandidates
(route)
scripts/agent-docs/lib.js:47
↓ 1 callers
Function
getLatestData
(nodeSizeData, network, cluster, pvc)
src/components/NodeSize.jsx:13
↓ 1 callers
Function
getLatestTimestamp
(data)
src/components/LastUpdated.jsx:15
↓ 1 callers
Function
getMarkdownFiles
(dir)
scripts/updateCategories.js:31
↓ 1 callers
Function
getMarkdownPath
(pathname)
src/theme/Layout/index.js:16
↓ 1 callers
Function
getMetaText
(meta)
src/theme/DocItem/TOC/Desktop/index.js:38
↓ 1 callers
Function
getReleaseDateText
(meta)
src/theme/DocItem/Layout/index.js:35
↓ 1 callers
Function
getReleaseNotesMobileValue
(item, meta)
src/theme/DocItem/Layout/index.js:55
↓ 1 callers
Function
getRouteConfig
(source)
scripts/agent-docs/discovery.test.js:17
↓ 1 callers
Function
getRouteForHtmlPath
(relativeHtmlPath)
scripts/agent-docs/lib.js:66
↓ 1 callers
Function
getTitleFromArticle
($, fallback)
scripts/agent-docs/lib.js:382
↓ 1 callers
Function
getTitleFromMarkdown
(markdown)
scripts/agent-docs/lib.js:535
↓ 1 callers
Function
getWeekNumber
(d)
scripts/fetchNodeSize.js:47
↓ 1 callers
Function
groupRoutes
(pages)
scripts/agent-docs/lib.js:488
↓ 1 callers
Function
htmlToMarkdown
({ html, route, metadata, baseUrl = DEFAULT_BASE_URL })
scripts/agent-docs/lib.js:400
↓ 1 callers
Function
init
()
src/clientModules/sidebarOffset.js:31
↓ 1 callers
Function
installIntercomQueue
()
src/pages/support.tsx:45
↓ 1 callers
Function
isValidPageUrl
(url: string)
api/feedback.ts:15
↓ 1 callers
Function
loadJson
(filePath)
scripts/updateCategories.js:13
↓ 1 callers
Function
main
()
scripts/agent-docs/verify-preview.js:95
↓ 1 callers
Function
notifySlack
( pageUrl: string, reason: string, issueUrl: string | null, )
api/feedback.ts:91
↓ 1 callers
Function
outdentFencedCodeBlocks
(markdown)
scripts/agent-docs/lib.js:322
↓ 1 callers
Function
prepareRedocForMarkdown
($)
scripts/agent-docs/lib.js:238
↓ 1 callers
Function
processDirectory
(directory)
scripts/generateSocialCard.js:141
↓ 1 callers
Function
processMdxFile
(filePath)
scripts/generateSocialCard.js:108
↓ 1 callers
Function
readBuiltMarkdownAlternateRoutes
( buildDir, baseUrl = DEFAULT_BASE_URL, )
scripts/agent-docs/lib.js:559
↓ 1 callers
Function
readDocsMetadata
(siteDir)
scripts/agent-docs/lib.js:123
↓ 1 callers
Function
readEditorialHeader
(siteDir)
scripts/agent-docs/lib.js:463
↓ 1 callers
Function
readLlmsLinks
(llms, baseUrl = DEFAULT_BASE_URL)
scripts/agent-docs/lib.js:644
↓ 1 callers
Function
removeChrome
($)
scripts/agent-docs/lib.js:289
↓ 1 callers
Function
renderCode
( lang: Language, method: string, params: unknown[], endpoint: string, )
src/components/RpcPlayground/languages.ts:49
↓ 1 callers
Function
replaceOutsideFencedCodeBlocks
(markdown, pattern, replacement)
scripts/agent-docs/lib.js:352
↓ 1 callers
Function
sanitizeSlug
(slug)
scripts/generateSocialCard.js:15
↓ 1 callers
Function
saveJson
(filePath, data)
scripts/updateCategories.js:21
↓ 1 callers
Function
setEqualHeight
()
src/components/CardGrid/index.tsx:53
↓ 1 callers
Function
shouldIgnoreGeneratedDocEmphasisArtifacts
(route)
scripts/agent-docs/lib.js:430
↓ 1 callers
Function
sortItems
(items)
src/theme/DocCardList/index.js:10
↓ 1 callers
Function
splitTitleIntoLines
(title, maxCharsPerLine, maxLines)
scripts/generateSocialCard.js:26
↓ 1 callers
Function
stripHtmlTags
(text: string)
api/feedback-sanitize.ts:3
↓ 1 callers
Function
truncate
(value, maxLength = 140)
scripts/agent-docs/lib.js:455
↓ 1 callers
Function
updateCategories
()
scripts/updateCategories.js:45
↓ 1 callers
Function
updateClearButtonVisibility
()
static/js/clearSearchOnCollapse.js:2
↓ 1 callers
Function
updateSidebarOffset
()
src/clientModules/sidebarOffset.js:3
↓ 1 callers
Function
useRpcCall
( endpoint: string, method: string, params: unknown[], )
src/components/RpcPlayground/useRpcCall.ts:14
next →
1–100 of 163, ranked by callers