Skip to content
This repository

Clone git repos into your repository somewhere before each complete regeneration

branch: dev

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 src
Octocat-spinner-32 test
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .npmignore
Octocat-spinner-32 .travis.yml
Octocat-spinner-32 Cakefile
Octocat-spinner-32 Contributing.md
Octocat-spinner-32 History.md
Octocat-spinner-32 LICENSE.md
Octocat-spinner-32 README.md
Octocat-spinner-32 package.json
README.md

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

Install

docpad install repocloner

Usage

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

    plugins:
        repocloner:
            repos: [
                name: 'Plugin Wiki'
                path: 'src/documents/wiki'
                branch: 'master'
                url: 'https://github.com/docpad/docpad-plugin-repocloner.wiki.git'
            ]

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

History

You can discover the history inside the History.md file

Contributing

You can discover the contributing instructions inside the Contributing.md file

License

Licensed under the incredibly permissive MIT License
Copyright © 2013+ Bevry Pty Ltd us@bevry.me

Something went wrong with that request. Please try again.