Objects
$ { (await comments(
'../modules/renderer/renderer.js',
'../element/element.js',
'../../fn/modules/nothing.js'
))
.filter((doc) => (doc.type === 'selector'))
//.sort(by(get('name')))
.map((doc) => include('../documentation/templates/entry.literal', doc)) }
Streams
$ { (await comments(
'../modules/scope.js',
'../scope/scope-dom.js',
'../../fn/modules/stream.js',
))
.filter((doc) => (doc.type === 'function' || doc.type === 'constructor'))
.filter((entry) => ['Stream.of', 'Stream.from', 'Stream.combine', 'Stream.merge', 'clock', 'events', 'observe'].includes(entry.name))
.sort(by((entry) => entry.name.toLowerCase()))
.map((doc) => include('../documentation/templates/entry.literal', doc)) }
Functions
$ { (await comments(
'../../fn/modules/by.js',
'../../fn/modules/clamp.js',
'../../fn/modules/denormalise.js',
'../../fn/modules/equals.js',
'../../fn/modules/id.js',
'../../fn/modules/is-defined.js',
'../../fn/modules/last.js',
'../../fn/modules/matches.js',
'../../fn/modules/noop.js',
'../../fn/modules/normalise.js',
'../../fn/modules/overload.js',
'../../fn/modules/remove.js',
'../../fn/modules/slugify.js',
'../../fn/modules/sum.js',
'../../dom/modules/delegate.js',
'../../dom/modules/trigger.js',
'../modules/scope.js',
'../scope/scope-dom.js',
'../modules/include.js',
'../scope/paramify.js',
'../modules/print.js'
))
.filter((doc) => (doc.type === 'function' || doc.type === 'constructor'))
.filter((entry) => !['Stream.of', 'Stream.from', 'Stream.combine', 'Stream.merge', 'clock', 'events', 'observe'].includes(entry.name))
.sort(by((entry) => entry.name.toLowerCase()))
.map((doc) => include('../documentation/templates/entry.literal', doc)) }
$ { (await comments('dom/parse-length.js'))
.filter((doc) => (doc.type === 'function' || doc.type === 'constructor') && doc.name !== 'vmin' && doc.name !== 'vmax')
.map((doc) => include('../documentation/templates/entry.literal', doc)) }
$ { include('./template-scope.md', data) }
$ { (await comments(
'../modules/renderer/to-text.js'
)).map((doc) => include('../documentation/templates/entry.literal', doc)) }
$ { include("./nav.literal", "../nav.json") }
$ { include('../documentation/templates/credit.literal', '../package.json') }
$ { include('../documentation/templates/footer.literal', '../package.json') }
$ { include('../documentation/templates/scripts.literal', '../package.json') }