Clone or update repositories into your DocPad website before generation
Install this DocPad plugin by entering
docpad install repocloner into your terminal.
Add the following inside your DocPad configuration file, changing the
repo values to what you desire:
plugins:repocloner:repos:name: 'Some Repository'path: 'src/documents/some-repo'branch: 'master'url: ''
This will update the repository on each initial generation.
If you would like to have repocloner update the repository during subsequent generations, you can do this via the DocPad API:
docpadInstanceaction'generate'populate:truereload:true# populate will cause this plugin to fire, as it emits the populateCollections events# reload will scan the file system for new files
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: