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.
This module is a start towards supporting such “front-end frameworks” which Reahl depends upon. By default, Reahl merely includes the correct versions of the front-end libraries it needs.
Library and configure your site to use it.
- class reahl.web.libraries.LibraryIndex(*libraries)¶
An ordered collection of
Libraries in a LibraryIndex are included on a page in the order that they appear in the LibraryIndex.
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.
name – The unique name of the Library to check for.
- class reahl.web.libraries.Library(name)¶
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.
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)
- class reahl.web.libraries.Reahl¶
- class reahl.web.libraries.JQuery¶
Version 3.6.0 of JQuery.
This Library also includes a number of plugins we use internally:
1.19.3 (a heavily modified version) (https://github.com/jquery-validation/jquery-validation/releases/tag/1.19.3)