code: def _create_collections_section_toc(
      collection_docs: List[document_datasets.CollectionDocumentation],
  ) -> str:
      """Creates the section of the overview.md table of content for collections."""
      heading = "\n## `Dataset Collections`\n"
      entries = [
          f" * [`{doc.name}`]({doc.name}.md)" for doc in collection_docs
      ]
      return "\n".join([heading] + entries)
  
file_path: datasets/tensorflow_datasets/scripts/documentation/build_catalog.py
imports: import argparse
  import collections
  import os
  from typing import Dict, List, Optional
  from absl import app
  from absl.flags import argparse_flags
  from etils import epath
  import tensorflow_datasets
  from tensorflow_datasets.scripts.documentation import doc_utils
  from tensorflow_datasets.scripts.documentation import document_datasets
  import yaml
label_desc: Use image node_id 4 for calling a global function with example usage: _create_collections_section_toc(collection_docs) and returns: str