MCPcopy
hub / github.com/josdejong/mathjs / generateDocs

Function generateDocs

gulpfile.js:204–217  ·  view source on GitHub ↗
(done)

Source from the content-addressed store, hash-verified

202}
203
204async function generateDocs (done) {
205 const all = (await import('file://' + REF_SRC + 'defaultInstance.js')).default
206 const functionNames = Object.keys(all)
207 .filter(key => typeof all[key] === 'function')
208
209 if (functionNames.length === 0) {
210 throw new Error('No function names found, is the doc generator broken?')
211 }
212
213 cleanup(REF_DEST, REF_ROOT)
214 iteratePath(functionNames, REF_SRC, REF_DEST, REF_ROOT)
215
216 done()
217}
218
219function generateEntryFilesCallback (done) {
220 generateEntryFiles().then(() => {

Callers

nothing calls this directly

Calls 4

cleanupFunction · 0.90
iteratePathFunction · 0.90
filterMethod · 0.65
keysMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…