Coder Social home page Coder Social logo

rayantony / docpad-plugin-repocloner Goto Github PK

View Code? Open in Web Editor NEW

This project forked from docpad/docpad-plugin-repocloner

0.0 1.0 0.0 195 KB

Clone git repos into your repository somewhere before each complete regeneration

License: Other

CoffeeScript 100.00%

docpad-plugin-repocloner's Introduction

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 [email protected]

docpad-plugin-repocloner's People

Contributors

balupton avatar robloach avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.