Ticket #947: 0001-Fix-947-media_type-configuration-files-location.patch

File 0001-Fix-947-media_type-configuration-files-location.patch, 1.2 KB (added by Loic Dachary, 5 years ago)
  • docs/source/siteadmin/media-types.rst

    From ee8f3f714a3c6a843d993f4cd2509f743c4ebaa0 Mon Sep 17 00:00:00 2001
    From: Loic Dachary <loic@dachary.org>
    Date: Thu, 14 Jan 2016 11:55:18 +0100
    Subject: [PATCH] Fix #947 - media_type configuration files location
    
    Document the location of the config_spec.ini files for media_types.
    
    Signed-off-by: Loic Dachary <loic@dachary.org>
    ---
     docs/source/siteadmin/media-types.rst | 8 ++++++++
     1 file changed, 8 insertions(+)
    
    diff --git a/docs/source/siteadmin/media-types.rst b/docs/source/siteadmin/media-types.rst
    index 70857c2..3877063 100644
    a b The file-extension-based approach is used before the sniffing-based approach, 
    6969if the file-extension-based approach finds a match, the sniffing-based approach
    7070will be skipped as it uses far more processing power.
    7171
     72Configuring Media Types
     73=======================
     74
     75Each media type has a ``config_spec.ini`` file with configurable
     76options and comments explaining their intended side effect. For
     77instance the ``video`` media type configuration can be found in
     78``mediagoblin/media_types/video/config_spec.ini``.
     79
    7280
    7381Video
    7482=====