DocPad v2.0 Release Notes
Release Date: 2011-11-08 // over 12 years ago-
- โฌ๏ธ Upgrade guide for 1.x users
- โ
Tested and working on Node 0.4, 0.5, and 0.6
- Windows support is still to come - track it's progress here
- ๐ง Configurable via
package.json
- DocPad is now configurable via its and your website's
package.json
file
- DocPad is now configurable via its and your website's
- ๐ New plugin architecture
- Plugins must now be isolated in their own directory
- Plugins can now have their own
package.json
file- Use this for specifying plugin configuration, dependencies, etc
- Plugin events have been renamed to before/after
- New before/after events have been added
-
docpad
andlogger
are now local variables, rather than passed arguments- Arguments are still kept for backwards compatibility - this may change
- Generation changes
- Rendering is now a 2-pass process
- Contextualize is now a sub-step of parse, instead of it's own main step
- Better simplicity, less complexity
- Documents can now have multiple urls
- These are customisable via the document's
urls
array property
- These are customisable via the document's
- ๐ Plugin Changes
- REST plugin supports saving document data via POST (disabled by default)
- Administration plugin adds front-end admin functionality (disabled by default)
- See the client side editing example in the kitchensink skeleton
- SASS plugin
- Adds SASS to CSS support
- Uses TJ Holowaychuk's Sass.js - https://github.com/visionmedia/sass.js
- Adds SASS to CSS support
- Coffee Plugin
- Removed CoffeeCSS support as it had problems