Skip to content
This repository

Clone git repos into your repository somewhere before each complete regeneration

branch: dev

RepoCloner Plugin for DocPad

Build Status NPM version Gittip donate button Flattr donate button PayPayl donate button

Clone or update repositories into your DocPad website before generation


docpad install repocloner


Add the following inside your DocPad configuration file, changing the repo values to what you desire:

            repos: [
                name: 'Plugin Wiki'
                path: 'src/documents/wiki'
                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:

docpadInstance.action('generate', {populate:true, reload:true})
# populate will cause this plugin to fire, as it emits the populateCollections events
# reload will scan the file system for new files


You can discover the history inside the file


You can discover the contributing instructions inside the file


Licensed under the incredibly permissive MIT License
Copyright © 2013+ Bevry Pty Ltd

Something went wrong with that request. Please try again.