Commit 1a32ca70 by Timothée Peignier

add a word about PIPELINE_MIMETYPES

parent b547fabe
...@@ -91,9 +91,9 @@ Group options ...@@ -91,9 +91,9 @@ Group options
For CSS, if you do not specify ``extra_context``/``media``, the default media in For CSS, if you do not specify ``extra_context``/``media``, the default media in
the ``<link>`` output will be ``media="all"``. the ``<link>`` output will be ``media="all"``.
For JS, the default templates support the ``async`` and ``defer`` tag attributes which are controlled via ``extra_context``: :: For JS, the default templates support the ``async`` and ``defer`` tag attributes which are controlled via ``extra_context``: ::
'extra_context': { 'extra_context': {
'async': True, 'async': True,
}, },
...@@ -170,11 +170,27 @@ Other settings ...@@ -170,11 +170,27 @@ Other settings
``PIPELINE_TEMPLATE_SEPARATOR`` ``PIPELINE_TEMPLATE_SEPARATOR``
............................... ...............................
Charater chain used by Pipeline as replacement for directory separator. Character chain used by Pipeline as replacement for directory separator.
Defaults to ``"_"`` Defaults to ``"_"``
``PIPELINE_MYMETYPES``
......................
Tuple that match file extension with their corresponding mimetypes.
Defaults to ::
(
(b'text/coffeescript', '.coffee'),
(b'text/less', '.less'),
(b'application/javascript', '.js'),
(b'text/x-sass', '.sass'),
(b'text/x-scss', '.scss')
)
Embedding fonts and images Embedding fonts and images
========================== ==========================
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment