code: def _generate_section(
      template, all_models, print_source, header_name
  ):
      content = [
          _render_section_content(
              template, all_models, print_source, header_name
          )
      ]
  
      for _, source, model_content in all_models:
          if source == print_source:
              content.append(model_content)
  
      return content
  
file_path: fiftyone/docs/scripts/make_model_zoo_docs.py
imports: import logging
  import os
  import re
  from jinja2 import Environment, BaseLoader
  import eta.core.utils
  import fiftyone.zoo
label_desc: Use image node_id 4 for calling a global function with example usage: _generate_section(template, all_models, print_source, header_name) and returns: content