Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
django-pipeline
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
django-pipeline
Commits
012b1149
Commit
012b1149
authored
Jan 01, 2016
by
Timothée Peignier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve compressors documentation
parent
1933eb1f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
15 deletions
+14
-15
docs/compressors.rst
+14
-15
No files found.
docs/compressors.rst
View file @
012b1149
...
...
@@ -20,7 +20,7 @@ To use it for your javascripts add this to your ``PIPELINE['JS_COMPRESSOR']`` ::
PIPELINE['JS_COMPRESSOR'] = 'pipeline.compressors.yuglify.YuglifyCompressor'
``
PIPELINE_
YUGLIFY_BINARY``
``YUGLIFY_BINARY``
---------------------------
Command line to execute for the Yuglify program.
...
...
@@ -28,14 +28,14 @@ To use it for your javascripts add this to your ``PIPELINE['JS_COMPRESSOR']`` ::
Defaults to ``'/usr/bin/env yuglify'``.
``
PIPELINE_
YUGLIFY_CSS_ARGUMENTS``
``YUGLIFY_CSS_ARGUMENTS``
----------------------------------
Additional arguments to use when compressing CSS.
Defaults to ``'--terminal'``.
``
PIPELINE_
YUGLIFY_JS_ARGUMENTS``
``YUGLIFY_JS_ARGUMENTS``
---------------------------------
Additional arguments to use when compressing JavaScript.
...
...
@@ -58,7 +58,7 @@ To use it for your javascripts add this to your ``PIPELINE['JS_COMPRESSOR']`` ::
PIPELINE['JS_COMPRESSOR'] = 'pipeline.compressors.yui.YUICompressor'
``
PIPELINE_
YUI_BINARY``
``YUI_BINARY``
-----------------------
Command line to execute for the YUI program.
...
...
@@ -70,14 +70,14 @@ To use it for your javascripts add this to your ``PIPELINE['JS_COMPRESSOR']`` ::
Don't point to ``yuicompressor.jar`` directly, we expect to find a executable script.
``
PIPELINE_
YUI_CSS_ARGUMENTS``
``YUI_CSS_ARGUMENTS``
------------------------------
Additional arguments to use when compressing CSS.
Defaults to ``''``.
``
PIPELINE_
YUI_JS_ARGUMENTS``
``YUI_JS_ARGUMENTS``
-----------------------------
Additional arguments to use when compressing JavaScript.
...
...
@@ -96,7 +96,7 @@ To use it add this to your ``PIPELINE['JS_COMPRESSOR']`` ::
PIPELINE['JS_COMPRESSOR'] = 'pipeline.compressors.closure.ClosureCompressor'
``
PIPELINE_
CLOSURE_BINARY``
``CLOSURE_BINARY``
---------------------------
Command line to execute for the Closure Compiler program.
...
...
@@ -108,7 +108,7 @@ To use it add this to your ``PIPELINE['JS_COMPRESSOR']`` ::
Don't point to ``compiler.jar`` directly, we expect to find a executable script.
``
PIPELINE_
CLOSURE_ARGUMENTS``
``CLOSURE_ARGUMENTS``
------------------------------
Additional arguments to use when closure is called.
...
...
@@ -127,7 +127,7 @@ To use it add this to your ``PIPELINE['JS_COMPRESSOR']`` ::
PIPELINE['JS_COMPRESSOR'] = 'pipeline.compressors.uglifyjs.UglifyJSCompressor'
``
PIPELINE_
UGLIFYJS_BINARY``
``UGLIFYJS_BINARY``
----------------------------
Command line to execute for the UglifyJS program.
...
...
@@ -135,7 +135,7 @@ To use it add this to your ``PIPELINE['JS_COMPRESSOR']`` ::
Defaults to ``'/usr/bin/env uglifyjs'``.
``
PIPELINE_
UGLIFYJS_ARGUMENTS``
``UGLIFYJS_ARGUMENTS``
-------------------------------
Additional arguments to use when uglifyjs is called.
...
...
@@ -183,7 +183,7 @@ To us it for your stylesheets add this to your ``PIPELINE['CSS_COMPRESSOR']`` ::
PIPELINE['CSS_COMPRESSOR'] = 'pipeline.compressors.csstidy.CSSTidyCompressor'
``
PIPELINE_
CSSTIDY_BINARY``
``CSSTIDY_BINARY``
---------------------------
Command line to execute for csstidy program.
...
...
@@ -191,7 +191,7 @@ To us it for your stylesheets add this to your ``PIPELINE['CSS_COMPRESSOR']`` ::
Defaults to ``'/usr/bin/env csstidy'``
``
PIPELINE_
CSSTIDY_ARGUMENTS``
``CSSTIDY_ARGUMENTS``
------------------------------
Additional arguments to use when csstidy is called.
...
...
@@ -206,7 +206,7 @@ command to compress stylesheets. To use it, add this to your ``PIPELINE['CSS_COM
PIPELINE['CSS_COMPRESSOR'] = 'pipeline.compressors.cssmin.CSSMinCompressor'
``
PIPELINE_
CSSMIN_BINARY``
``CSSMIN_BINARY``
---------------------------
Command line to execute for cssmin program.
...
...
@@ -214,7 +214,7 @@ command to compress stylesheets. To use it, add this to your ``PIPELINE['CSS_COM
Defaults to ``'/usr/bin/env cssmin'``
``
PIPELINE_
CSSMIN_ARGUMENTS``
``CSSMIN_ARGUMENTS``
------------------------------
Additional arguments to use when cssmin is called.
...
...
@@ -264,4 +264,3 @@ Add it to your settings ::
PIPELINE['CSS_COMPRESSOR'] = 'jam.compressors.JamCompressor'
PIPELINE['JS_COMPRESSOR'] = 'jam.compressors.JamCompressor'
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment