From 5873ae933a785ab35101bb7d78211a8823eb00c8 Mon Sep 17 00:00:00 2001 From: Jannis Leidel Date: Mon, 18 Apr 2011 13:43:04 +0200 Subject: [PATCH] Extended the extension of the extension of the README. --- README.rst | 79 +++++++++++++++++++++++++++++++----------------------- 1 file changed, 45 insertions(+), 34 deletions(-) diff --git a/README.rst b/README.rst index a60c342..71e8ddd 100644 --- a/README.rst +++ b/README.rst @@ -1,54 +1,65 @@ Django Compressor ================= -Django Compressor can combine and compress linked and inline Javascript -or CSS found inside a Django template into cacheable static files. It does so -through use of a template tag called `compress`. +Django Compressor combines and compresses linked and inline Javascript +or CSS in a Django templates into cacheable static files by using the +``compress`` template tag. -HTML in between `{% compress js/css %}` and `{% endcompress %}` is parsed -and searched for CSS or JS. These styles and scripts are then processed and -concatenated. +HTML in between ``{% compress js/css %}`` and ``{% endcompress %}`` is +parsed and searched for CSS or JS. These styles and scripts are subsequently +processed with optional, configurable compilers and filters. -The default action for CSS is to rewrite paths to static files and fit them -with a cache busting timestamp. For Javascript it is to compress it using -`jsmin`. +The default filter for CSS rewrites paths to static files to be absolute +and adds a cache busting timestamp. For Javascript the default filter +compresses it using ``jsmin``. -As the final result the template tag outputs a `