MCPcopy Create free account
hub / github.com/Bytez-com/docs / constructPageHeader

Function constructPageHeader

docs/scripts/generatePages/index.js:159–173  ·  view source on GitHub ↗
({ title, task, description, icon })

Source from the content-addressed store, hash-verified

157}
158
159function constructPageHeader({ title, task, description, icon }) {
160 const headerLines = [
161 //
162 `---`,
163 `title: '${title || task}'`,
164 `description: ${description}`,
165 `icon: '${icon}'`,
166 `mode: 'wide'`,
167 `---`,
168 ];
169
170 const header = headerLines.join('\n');
171
172 return header;
173}
174
175function toAccordion({
176 exampleTitle,

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected