Skip to content

Commit

Permalink
Merge pull request #516 from slafs/slafs/fix-doc-headings
Browse files Browse the repository at this point in the history
Fix literal markup for settings
  • Loading branch information
cyberdelia committed Dec 29, 2015
2 parents 78dce26 + 741d378 commit e9ecc73
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions docs/configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ If empty or ``None``, CSS files won't be compressed.

Defaults to ``'pipeline.compressors.yuglify.YuglifyCompressor'``.

JS_COMPRESSOR``
``JS_COMPRESSOR``
...........................

Compressor class to be applied to JavaScript files.
Expand All @@ -156,7 +156,7 @@ Defaults to ``'pipeline.compressors.yuglify.YuglifyCompressor'``

Please note that in order to use Yuglify compressor, you need to install Yuglify (see :doc:`installation` for more details).

TEMPLATE_NAMESPACE``
``TEMPLATE_NAMESPACE``
...............................

Object name where all of your compiled templates will be added, from within your browser.
Expand All @@ -165,15 +165,15 @@ To access them with your own JavaScript namespace, change it to the object of yo
Defaults to ``"window.JST"``


TEMPLATE_EXT``
``TEMPLATE_EXT``
.........................

The extension for which Pipeline will consider the file as a Javascript template.
To use a different extension, like ``.mustache``, set this settings to ``.mustache``.

Defaults to ``".jst"``

TEMPLATE_FUNC``
``TEMPLATE_FUNC``
..........................

JavaScript function that compiles your JavaScript templates.
Expand All @@ -183,15 +183,15 @@ setting is to use the

Defaults to ``"_.template"``

TEMPLATE_SEPARATOR``
``TEMPLATE_SEPARATOR``
...............................

Character chain used by Pipeline as replacement for directory separator.

Defaults to ``"_"``


MIMETYPES``
``MIMETYPES``
......................

Tuple that match file extension with their corresponding mimetypes.
Expand Down Expand Up @@ -241,15 +241,15 @@ Overriding embedding settings

You can override these rules using the following settings:

EMBED_MAX_IMAGE_SIZE``
``EMBED_MAX_IMAGE_SIZE``
.................................

Setting that controls the maximum image size (in bytes) to embed in CSS using Data-URIs.
Internet Explorer 8 has issues with assets over 32 kilobytes.

Defaults to ``32700``

EMBED_PATH``
``EMBED_PATH``
.......................

Setting the directory that an asset needs to be in so that it is embedded
Expand All @@ -275,4 +275,4 @@ All javascript output is wrapped in an anonymous function : ::

This safety wrapper, make it difficult to pollute the global namespace by accident and improve performance.

You can override this behavior by setting DISABLE_WRAPPER`` to ``True``.
You can override this behavior by setting ``DISABLE_WRAPPER`` to ``True``.

0 comments on commit e9ecc73

Please sign in to comment.