${apiDetail.name}
${apiDetail.description}
${apiDetail.arguments.length ? `Arguments
- ${renderArguments(apiDetail.arguments).join("")}
Returns
${dedent(apiDetailsReturns)}
"use strict"; // P A C K A G E S import asyncHtml from "choo-async/html"; import dedent from "dedent"; import fs from "graceful-fs"; import raw from "choo/html/raw"; const fetch = require("make-fetch-happen").defaults({ cacheManager: "./cache" }); // V A R I A B L E const apiScripts = ""; // E X P O R T module.exports = exports = state => parseApiFile(state.params.wildcard).then(response => { /* state.lbry = { description: "This is the API page for LBRY.tech", "og:image": "/assets/media/images/carlsagan2.jpg", "og:image:height": 300, "og:image:width": 400 }; */ return asyncHtml`
${apiDetail.description}
${apiDetail.arguments.length ? `${dedent(apiDetailsReturns)}
// example(s) for ${apiDetail.name} to come later