if (acfg.docs.js) {
    // make path relative to the root
    extra.push('<script src="', path.join(root, acfg.docs.js), '"></script>');
  }