class_docstr: Example Builder for sphinx documentation
docstr: Read contents file
  
  A contents file is a list of filenames within the directory,
  with comments marked by '#' in the normal way.
  
  Parameters
  ----------
  path : str
      directory path *relative to self.target_dir* where the
      contents are located.  The file `self.contents_file`
      at this location will be read
  
  Returns
  -------
  L : list
      list of filenames from the contents
code: def read_contents(self, path, check_for_missing=True):
      """Read contents file
  
      A contents file is a list of filenames within the directory,
      with comments marked by '#' in the normal way.
  
      Parameters
      ----------
      path : str
          directory path *relative to self.target_dir* where the
          contents are located.  The file `self.contents_file`
          at this location will be read
  
      Returns
      -------
      L : list
          list of filenames from the contents
      """
      contents_dir = os.path.join(self.source_dir, path)
      contents_file = os.path.join(contents_dir, self.contents_file)
      return read_contents(contents_file, check_for_missing)
  
imports: import sys
  import os
  import traceback
  import token
  import tokenize
  import gc
  import shutil
  import glob
  import warnings
  import matplotlib
  from matplotlib import image
  from matplotlib import pyplot
label_desc: Use image node_id 2 for calling the ExampleBuilder obj's underlying member method code with example usage: obj.read_contents(path, check_for_missing) and returns: read_contents