docs/data/apinav.js
function apilist(items) {
    return ul(items.map(item => li({
        // use innerHTML to generate nested links
        innerHTML : item.replace(/(\w+)/g, apilink)
    })))
}
function apilist(items) {
    return ul(items.map(item => li({
        // use innerHTML to generate nested links
        innerHTML : item.replace(/(\w+)/g, apilink)
    })))
}
Gefine a template function that builds a list of links from the given list of short descriptions