MCPcopy Create free account
hub / github.com/webdriverio/webdriverio / buildPreface

Function buildPreface

scripts/utils/helpers.ts:24–34  ·  view source on GitHub ↗
(id: string, title: string, titleSuffix: string, editUrl: string)

Source from the content-addressed store, hash-verified

22)) as string[]
23
24export function buildPreface(id: string, title: string, titleSuffix: string, editUrl: string) {
25 return [
26 '---',
27 `id: ${id}`,
28 `title: ${title} ${titleSuffix}`,
29 `custom_edit_url: ${editUrl}`,
30 '---\n',
31 'import Tabs from \'@theme/Tabs\';',
32 'import TabItem from \'@theme/TabItem\';\n'
33 ]
34}

Callers 2

generate3rdPartyDocsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…