Contribute
Bevry
For the most part, DocPad inherits from the Bevry Community's Contribution Guide, with the following exceptions.
Setup
To get started with developing and contributing code, you must first setup your project for development.
Setup the DocPad core for development
To setup a development environment for contributing to the DocPad core follow these steps:
Fork the repository of the DocPad Core: https://github.com/docpad/docpad
Clone your fork to your machine then
cdinto itRun
npm run prepareto install any missing dependenciesRun
npm run compileto compile the projectRun
npm testto test the projectRun
npm linkto make this development instance of the projects available to other projects (vianpm link docpad)
Setup a DocPad plugin for development
To setup a development environment for contributing to a plugin follow these steps:
Ensure you have DocPad setup for development, by running the DocPad core instructions above
Fork the repository of the DocPad plugin you wish to edit
Clone your fork to your machine then
cdinto itRun
npm link docpadto link our local development instance of DocPad that we setup earlier to our DocPad pluginRun
cake installto install any missing dependenciesRun
cake compileto compile the projectRun
cake testto test the projectRun
npm linkto make this development instance of the project available to other projects (vianpm link docpad-plugin-PLUGINNAME)
Last updated
Was this helpful?