<commit_before>all:
  sympal_config:
    assets:
      web_path:               ~              # The web path to use to link to the assets. Usually doesn't need to be specified.
      root_dir:               /uploads       # The path to the directory where the assets are located
      thumbnails_enabled:     true           # Enable thumbnail creation on upload
      thumbnails_dir:         .thumbnails    # Directory name for storing thumbnails
      originals_dir:          .originals     # Directory name for storing original copies of the asset
      thumbnails_default_width:   64         # Width to make thumbnails if not specified
      thumbnails_default_height:  64         # Height to make thumbnails if not specified
      thumbnails_method:      fit            # Method used for thumbnailing [fit, scale, inflate, deflate, left, right, top, bottom, center]
      default_render_options:
        embed: true

      file_types:                           # define file_types is usefull for displaying icons in browser
        document:                           # type of file (also used as default icon name)
          extensions: [doc, xls, xcf, ai]   # extensions associated to this type
          icon:       doc                   # optional icon file name, without extension
        image:                              
          extensions: [png, jpg, jpeg, gif]
          class:      sfSympalAssetImageObject
        pdf:
          extensions: [pdf]
        bin:
          extensions: [bin, exe, sh, bat, deb, yum]
        video:
          extensions: [wmv, avi, mpg, mpeg, flv, mp4, swf]
          class:      sfSympalAssetVideoObject
        audio:
          extensions: [ogg, mp3, flac, wma, cda]
        text:
          extensions: [txt]
        tarball:
          extensions: [tar, gz, zip, bzip, gzip, rar, 7z, tgz]

    admin_modules:
      sympal_assets: ~

    # Configure what models are sluggable
    sluggable_models:
      sfSympalAsset:
        fields: [path, name]
        indexName: asset_sluggable
        builder: [sfSympalAsset, slugBuilder]

  inline_object:
    types:
      asset:   sfSympalInlineObjectAsset

  sfImageTransformPlugin:
    mime_type:
      auto_detect: true<commit_msg>[Assets] Adding more documentation to the app.yml file.<commit_after>all:
  sympal_config:
    assets:
      web_path:               ~              # The web path to use to link to the assets. Usually doesn't need to be specified.
      root_dir:               /uploads       # The path to the directory where the assets are located
      thumbnails_enabled:     true           # Enable thumbnail creation on upload
      thumbnails_dir:         .thumbnails    # Directory name for storing thumbnails
      originals_dir:          .originals     # Directory name for storing original copies of the asset
      thumbnails_default_width:   64         # Width to make thumbnails if not specified
      thumbnails_default_height:  64         # Height to make thumbnails if not specified
      thumbnails_method:      fit            # Method used for thumbnailing [fit, scale, inflate, deflate, left, right, top, bottom, center]

      default_render_options:                # Default options to apply when rendering assets
        # option_name:    value

      file_types:                             # defining file_types is useful for displaying icons in browser
        document:                             # type of file (also used as default icon name)
          extensions: [doc, xls, xcf, ai]     # extensions associated to this type
          icon:       doc                     # optional icon file name, without extension
          class:      sfSympalAssetFileObject # (optional) The class used to render the asset. Default: sfSympalAssetFileObject
        image:                              
          extensions: [png, jpg, jpeg, gif]
          class:      sfSympalAssetImageObject
        pdf:
          extensions: [pdf]
        bin:
          extensions: [bin, exe, sh, bat, deb, yum]
        video:
          extensions: [wmv, avi, mpg, mpeg, flv, mp4, swf]
          class:      sfSympalAssetVideoObject
        audio:
          extensions: [ogg, mp3, flac, wma, cda]
        text:
          extensions: [txt]
        tarball:
          extensions: [tar, gz, zip, bzip, gzip, rar, 7z, tgz]

    admin_modules:
      sympal_assets: ~

    # Configure what models are sluggable
    sluggable_models:
      sfSympalAsset:
        fields: [path, name]
        indexName: asset_sluggable
        builder: [sfSympalAsset, slugBuilder]

  # Register the "asset" inline object type if sfInlineObjectPlugin is available
  inline_object:
    types:
      asset:   sfSympalInlineObjectAsset

  # Setup sfImageTransformPlugin
  sfImageTransformPlugin:
    mime_type:
      auto_detect: true
{'fraction_non_alphanumeric': 0.05850622406639004, 'fraction_numerical': 0.002904564315352697, 'mean_word_length': 1.8816497310221159, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '126768', 'n_tokens_mistral': 1316, 'n_tokens_neox': 1272, 'n_words': 449}