docs: def process_dirty_model_toc(app, doctree):
      """
      Insert items described in autosummary:: to the TOC tree, but do
      not generate the toctree:: list.
  
      """
      env = app.builder.env
      crawled = {}
  
      def crawl_toc(node):
          crawled[node] = True
          for j, subnode in enumerate(node):
              try:
                  if 'remove-node' in subnode['classes']:
                      subnode.replace_self(nodes.comment())
              except Exception:
                  continue
              if subnode not in crawled:
                  crawl_toc(subnode)
  
      crawl_toc(doctree)