Size: 590
Comment:
|
Size: 812
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 15: | Line 15: |
== Adding a new CSS file == Launchpad combines and minifies all of its CSS files into 'combo.css' before publishing them. You can add a new CSS file to the list by editing `buildout-templates/bin/combine-css.in` |
The Launchpad JavaScript Build System
Most of the Launchpad JavaScript is bundled, minified, and distributed in one large stand-alone file: launchpad.js.
Adding new YUI3 JavaScript modules
A special script, utilities/yui_deps.py, looks in the main site template for <script> lines that point to YUI3. The corresponding minified script files are extracted from the current YUI3 build and added to launchpad.js.
To add a new YUI3 dependency, just add a new <script> line to the main site template.
Adding a new CSS file
Launchpad combines and minifies all of its CSS files into 'combo.css' before publishing them. You can add a new CSS file to the list by editing buildout-templates/bin/combine-css.in