code: def get_documented(filenames):
      """
      Find out what items are documented in source/*.rst
      See `get_documented_in_lines`.
  
      """
      documented = {}
      for filename in filenames:
          f = open(filename)
          lines = f.read().splitlines()
          documented.update(
              get_documented_in_lines(lines, filename=filename)
          )
          f.close()
      return documented
  
file_path: nipy/doc/sphinxext/autosummary_generate.py
imports: import glob
  import inspect
  import optparse
  import os
  import pydoc
  import re
  from autosummary import import_by_name
label_desc: Use image node_id 4 for calling a global function with example usage: get_documented(filenames) and returns: documented