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

Function writeSidebars

scripts/docs-generation/generateDocs.ts:27–33  ·  view source on GitHub ↗
(sidebars: unknown)

Source from the content-addressed store, hash-verified

25}
26
27function writeSidebars(sidebars: unknown) {
28 fs.writeFileSync(
29 path.join(__dirname, '..', '..', 'website', 'sidebars.json'),
30 JSON.stringify(sidebars, null, 2),
31 { encoding: 'utf-8' }
32 )
33}
34
35/**
36 * NOTE: all generate docs functions mutate `sidebars` object!

Callers 1

generateDocs.tsFile · 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…