This format is based on Keep a Changelog and this project adheres to Semantic Versioning.
Release date: TBD
Release date: 24 April 2012
- New builtin plugins: css_minifer and js_minifier.
- New builtin jinja test:
activatedin
, for testing whether an engine, plugin, or widget is active. - New feature: widgets
Widgets enable dynamic retrieval of Unit attributes, useful for creating things like a list
of most recent posts or a list of archive links. They are Python functions stored in
widgets.py
in the project root directory. - New feature: logging
Users can now log their entire
volt
run and log their custom engines, plugins, or widgets. - New command:
volt ext
volt ext
creates template files for writing custom engine, plugin, or widget, in the root project directory. It can also be used to copy builtin engines/plugins/widgets into the user'svolt
project directory. - New settings:
SITE.LOG_LEVEL
Integer to set logging level, using values similar to Python's logging module.SITE.WIDGETS
List of widgets that do not retrieve information from engine units.{ENGINE}.WIDGETS
List of widgets that retrieve information from engine units.{ENGINE}.PLUGINS
List of plugins to run on the specified engine units.SITE.PAGES
List of template file names for creating pages independent from any engines. Useful for creating for example a mainindex.html
file or a404.html
file.SITE.FILTERS
List of custom Jinja2 filters.SITE.TESTS
List of custom Jinja2 tests.SITE.SLUG_CHAR_MAP
Dictionary of characters to replace in a slug, useful for specifying custom non-ascii character replacements
- Improved console messages.
- Changed/removed these setting names/values:
{ENGINE}.CONTENT_DATETIME_FORMAT
->{ENGINE}.DATETIME_FORMAT
VOLT.LAYOUT_DIR
->SITE.ASSET_DIR
- default
VOLT.ASSET_DIR
value isassets
- default
VOLT.CONTENT_DIR
value changed tocontents
fromcontent
- Active engines must now define a
units
property method that returns all its units. Engine.activate
renamed toEngine.preprocess
and is not an abstract method anymore.
volt serve
now only runsvolt gen
once- All
volt
commands work from anywhere inside a project directory now
Release date: 25 March 2012
- Preliminary support for more python Versions: 3.2 and 2.6
- Preliminary support for rSt and textile plugins
- Default configuration name changes:
-
PACKS
->PAGINATIONS
-POSTS_PER_PAGE
->UNITS_PER_PAGINATION
-SORT
->SORT_KEY
volt serve
now generates the site first before serving any contents.- Pygments is now an optional dependency.
- Engines and Plugins now store their default settings as a class attribute. Users can override
this by creating a Config object with the designated name (the value of the Engine/Plugin
class attribute
USER_CONF_ENTRY
) in the project'svoltconf.py
.
- PyYAML dependency.
- Windows terminal output does not display ANSI color codes anymore.
volt
server regeneration now works ifvoltconf.py
is changed.
Release date: 6 March 2012
- First
volt
release