New in version 3.2.
- Compile your own customised CSS using a CSS preprocessor like Sass.
- Manage the versions and interdependencies of such projects.
- Some code is hosted on Content Delivery Networks (CDNs).
- Some code is minified.
Library is the way to do it going forward.
An ordered collection of
Libraries in a LibraryIndex are included on a page in the order that they appear in the LibraryIndex.
Parameters: libraries –
Libraryinstances (in order) to initialise this LibraryIndex with.
Removes all Libraries from the list.
Adds a Library to the end of the list.
An implementation of the in operator, so that one can ask whether a library with given name is in this index.
Parameters: name – The unique name of the Library to check for.
To create your own Library, subclass from this class and set its attributes to indicate which files to include as part of it and where to find them.
Parameters: name – A unique name for this Library.
The unique name of this Library
The component (egg) that contains the files of this library
The directory that contains the files of this library (relative to the egg root)