docs: def _format_templates(name, command, templates):
      ''' Creates a list-table directive
  
      for a set of defined environment variables
  
      Parameters:
          name (str):
              The name of the config section
          command (object):
              The sdss_access path instance
          templates (dict):
              A dictionary of the path templates
  
      Yields:
          A string rst-formated list-table directive
  
      '''
  
      yield '.. list-table:: {0}'.format(name)
      yield _indent(':widths: 20 50 70')
      yield _indent(':header-rows: 1')
      yield ''
      yield _indent('* - Name')
      yield _indent('  - Template')
      yield _indent('  - Kwargs')
      for key, var in templates.items():
          kwargs = command.lookup_keys(key)
          yield _indent('* - {0}'.format(key))
          yield _indent('  - {0}'.format(var))
          yield _indent('  - {0}'.format(', '.join(kwargs)))
      yield ''