No description, website, or topics provided.
Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
pydgeot/plugins/lesscss
.gitignore
LICENSE
MANIFEST.in
README.md
setup.py

README.md

LessCSS support for Pydgeot

Add support for LessCSS files to Pydgeot.

Requirements

Installation

git clone https://github.com/broiledmeat/pydgeot_lesscss.git pydgeot_lesscss
cd pydgeot_lesscss
python setup.py install

Configuration

Add lesscss to your pydgeot.conf plugins list to enable the plugin. Then add lesscss to the processors list in pydgeot.conf, or nested .pydgeot.conf's, to use the file processor. Options are placed under a lesscss key.

  • source_ext Extension of source files to build. Default: .css
  • build_ext Extension of built files. Default: .css
  • minify Minify built files. Default: false
{
  "plugins": ["lesscss"],
  "processors": ["lesscss"],
  "lesscss": {
    "source_ext": ".less",
    "minify": true
  }
}

Usage

The LessCSS plugin will process any .css (or extension specified by source_ext) file as a LessCSS template.