nanoc Release Notes =================== 2.0.2 ----- * nanoc now requires Ruby 1.8.5 instead of 1.8.6 2.0.1 ----- * Fixed a "too many open files" error that could appear during (auto)compiling 2.0 --- New: * Support for custom layout processors * Support for custom data sources * Database data source * Auto-compiler * Pages have `parent` and `children` Changed: * The source has been restructured and cleaned up a great deal * Filters are defined in a different way now * The 'eruby' filter now uses ERB instead of Erubis Removed: * The `filters` property; use `filters_pre` instead * Support for Liquid 1.6.2 ----- * Fixed an issue which prevented the content capturing plugin from working 1.6.1 ----- * Removed a stray debug message 1.6 --- * Added support for post-layout filters * Added support for getting a File object for the page, so you can now e.g. easily get the modification time for a given page (`@page.file.mtime`) * Cleaned up the source code a lot * Removed deprecated asset-copying functionality 1.5 --- * Added support for custom filters * Improved Liquid support -- Liquid is now a first-class nanoc citizen * Deprecated assets -- use something like rsync instead * Added eruby_engine option, which can be 'erb' or 'erubis' 1.4 --- * nanoc now supports ERB (as well as Erubis); Erubis no longer is a dependency * meta.yaml can now have haml_options property, which is passed to Haml * Pages can now have a 'filename' property, which defaults to 'index' [Dennis Sutch] * Pages now know in what order they should be compiled, eliminating the need for custom page ordering [Dennis Sutch] 1.3.1 ----- * The contents of the 'assets' directory are now copied into the output directory specified in 'config.yaml' 1.3 --- * The @pages array now also contains uncompiled pages * Pages with 'skip_output' set to true will not be outputted * Added new filters * Textile/RedCloth * Sass * nanoc now warns before overwriting in create_site, create_page and create_template (but not in compile) 1.2 --- * Sites now have an 'assets' directory, whose contents are copied to the 'output' directory when compiling [Soryu] * Added support for non-eRuby layouts (Markaby, Haml, Liquid, ...) * Added more filters (Markaby, Haml, Liquid, RDoc [Dmitry Bilunov]) * Improved error reporting * Accessing page attributes using instance variables, and not through @page, is no longer possible * Page attributes can now be accessed using dot notation, i.e. @page.title as well as @page[:title] 1.1.3 ----- * Fixed bug which would cause layoutless pages to be outputted incorrectly 1.1.2 ----- * Backup files (files ending with a “~”) are now ignored * Fixed bug which would cause subpages not to be generated correctly 1.1 --- * Added support for nested layouts * Added coloured logging * @page now hold the page that is currently being processed * Index files are now called “content” files and are now named after the directory they are in [Colin Barrett] * It is now possible to access @page in the page’s content file 1.0.1 ----- * Fixed a bug which would cause a “no such template” error to be displayed when the template existed but compiling it would raise an exception * Fixed bug which would cause pages not to be sorted by order before compiling 1.0 --- * Initial release