docs: def generate_all_aliases(fieldfile, include_global):
      """
      Generate all of a file's aliases.
  
      :param fieldfile: A ``FieldFile`` instance.
      :param include_global: A boolean which determines whether to generate
          thumbnails for project-wide aliases in addition to field, model, and
          app specific aliases.
      """
      all_options = aliases.all(fieldfile, include_global=include_global)
      if all_options:
          thumbnailer = get_thumbnailer(fieldfile)
          for key, options in six.iteritems(all_options):
              options['ALIAS'] = key
              thumbnailer.get_thumbnail(options)