Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/docpad/docpad-plugin-repocloner
Clone git repos into your repository somewhere before each complete regeneration
https://github.com/docpad/docpad-plugin-repocloner
docpad-plugin
Last synced: 2 months ago
JSON representation
Clone git repos into your repository somewhere before each complete regeneration
- Host: GitHub
- URL: https://github.com/docpad/docpad-plugin-repocloner
- Owner: docpad
- License: other
- Created: 2013-04-08T00:29:18.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2024-01-07T08:19:18.000Z (almost 1 year ago)
- Last Synced: 2024-04-08T00:51:41.399Z (9 months ago)
- Topics: docpad-plugin
- Language: CoffeeScript
- Size: 220 KB
- Stars: 5
- Watchers: 17
- Forks: 4
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: HISTORY.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
Awesome Lists containing this project
README
Repository Cloner Plugin for DocPad
Clone or update repositories into your DocPad website before generation
## Usage
Add the following inside your [DocPad configuration file](http://docpad.org/docs/config), changing the `repo` values to what you desire:
``` coffee
plugins:
repocloner:
repos: [
name: 'Some Repository'
path: 'src/documents/some-repo'
branch: 'master'
url: 'https://github.com/some-org/some-repo.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](http://docpad.org/docs/api):
``` coffee
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
```Install
Install this DocPad plugin by entering
docpad install repocloner
into your terminal.History
Discover the release history by heading on over to the
HISTORY.md
file.Contribute
Discover how you can contribute by heading on over to the
CONTRIBUTING.md
file.Backers
Maintainers
These amazing people are maintaining this project:
Sponsors
No sponsors yet! Will you be the first?
Contributors
These amazing people have contributed code to this project:
Discover how you can contribute by heading on over to the CONTRIBUTING.md
file.
License
Unless stated otherwise all works are:
- Copyright © Bevry Pty Ltd
and licensed under: