code: function _cleanUpTOCChildren(node) {
  
    if (!Array.isArray(node.children)) {
      return node;
    }
  
    if (_isExampleOrParameterLink(node)) {
      return null;
    }
  
    const filteredChildren = node.children.reduce((accu, nd) => {
      accu.push(_cleanUpTOCChildren(nd));
      return accu;
    }, []).filter(n => n);
  
    if (!filteredChildren.length) {
      return null;
    }
  
    return {
      ...node,
      children: filteredChildren
    };
  }
docs: Remove example and parameter link from TOC