code: def _document_single_collection(
      name: str,
  ) -> CollectionDocumentation:
      """Returns the documentation for a single dataset collection."""
      logging.info("Documenting dataset collection %s", name)
      collection = tfds.dataset_collection(name=name)
      out_str = (
          collection_markdown_builder.get_collection_markdown_string(
              collection=collection
          )
      )
      return CollectionDocumentation(
          name=name,
          content=out_str,
          # TODO(tfds): Add support for display of nightly icon when necessary.
          is_nightly=False,
      )
  
imports: from concurrent import futures
  import dataclasses
  import functools
  from typing import Any, Iterator, List, Optional, Set, Type
  from absl import logging
  import tensorflow_datasets
  from tensorflow_datasets.core.utils.lazy_imports_utils import tensorflow
  from tensorflow_datasets.scripts.documentation import collection_markdown_builder
  from tensorflow_datasets.scripts.documentation import dataset_markdown_builder
  from tensorflow_datasets.scripts.documentation import doc_utils
  import tqdm
label_desc: Use image node_id 8 for calling a global function with example usage: _document_single_collection(name) and returns: CollectionDocumentation