A XEP building tool that allows you to break the XEP document down into smaller, more manageable sections. A grunt task will also attempt to rebuild the XEP on every file change and build the resulting html.
When linked up with travis (see below) the library can also publish XEPs to your github pages branch and test any pull requests that are made to the repository.
See it being used "fo' realz"™ at https://github.com/buddycloud/buddycloud-xep.
Put your sections in the sections subdirectory. They will be added to the XEP in numerical order when build, e.g.
- 0-introduction.xml
- 1-security.xml
- 3-examples.xml
make
open index.htmlor
grunt build
npm install -g grunt-cli
npm i .
grunt
A task will now monitor the file system and rebuild the XEP on changes.
- Create a Github token: http://docs.travis-ci.com/user/build-configuration/#Secure-environment-variables
- Copy
travis.yml.to.travis.yml - Copy in your encrypted token
- Tell travis/github to run tests against your XEP repo
- The XEP will be deployed to
gh-pages