build/documentation/generate-typedocs.js
function addAPILinkToReadme(packageName) {

    var readmePath = path.join(destDir, packageName, 'README.md');
    var apiLink = "api";

    var usageText = 
        "\n" + 
        `[API Reference](${apiLink})`;

    fs.appendFile(readmePath, usageText, function (err) {
        if (err) {
            console.log(chalk.red(err));
        } 
    })

}
function addAPILinkToReadme(packageName) {

    var readmePath = path.join(destDir, packageName, 'README.md');
    var apiLink = "api";

    var usageText = 
        "\n" + 
        `[API Reference](${apiLink})`;

    fs.appendFile(readmePath, usageText, function (err) {
        if (err) {
            console.log(chalk.red(err));
        } 
    })

}
function addAPILinkToReadme ( packageName ) { var readmePath = path . join ( destDir , packageName , 'README.md' ) ; var apiLink = "api" ; var usageText = "\n" + ` ${ apiLink } ` ; fs . appendFile ( readmePath , usageText , function ( err ) { if ( err ) { console . log ( chalk . red ( err ) ) ; } } ) }
Creates link in package readme.md docs used by Docusaurus
Said link routes to the TypeDoc API docs generated by this script
Creates link in package readme . md docs used by Docusaurus Said link routes to the TypeDoc API docs generated by this script