code: def get_section_end(docstring, section_start):
      regex_indented_sections_end = re.compile(r"\S\n+(\S|$)")
      end = re.search(
          regex_indented_sections_end, docstring[section_start:]
      )
      section_end = section_start + end.end()
      if section_end == len(docstring):
          return section_end
      else:
          return section_end - 2
  
file_path: autokeras/docs/keras_autodoc/docstring.py
imports: import itertools
  import re
  from sphinx.util.typing import stringify
  from .None import utils
label_desc: Use image node_id 2 for calling a global function with example usage: get_section_end(docstring, section_start) and returns: section_end, unknown