Start functions between DocPad events
Install this DocPad plugin by entering
docpad install functions into your terminal.
This plugin was inspired by docpad-plugin-gulp and behaviour of this plugin is almost the same code-wise and in implementation BUT with slight differences:
render since they caused memory spikes and shouldn't be used in this plugin)
The following will run function
validateDocuments during the
validateDocuments = require 'validator.js' #this require should be at the top of docpad.coffeeplugins:functions:generateBefore: validateDocumentswriteAfter: asyncFunction1someOtherAsyncFunction2
someOtherAsyncFunction2 will be run in series
Every passed function should have following structure with callback:
To be implemented if there is someone to actually use it, so feel free to file issues
These amazing people are maintaining this project:
No sponsors yet! Will you be the first?
These amazing people have contributed code to this project:
Unless stated otherwise all works are:
and licensed under: