A handlebars.js template for Doxray
Live demo: http://himedlooff.github.io/doxray-template/docs/
Screen cap demo:
docs
.template
folder of this repository. I
recommend using http://bower.io/ so you can easily update the template if
you need to.template
folder into docs
.
I recommend using a task runner like http://gruntjs.com/ or
http://gulpjs.com/ so you can easily move the template files after
downloading them.index.html
and uncomment
<!-- <link rel="stylesheet" href="https://github.com/himedlooff/doxray-template/blob/gh-pages/your-stylesheet-here.css"> -->
and
replace your-stylesheet-here.css
with your own stylesheet so your patterns
will render as expected.doxray-parsed-data.js
into docs
. You
can do this from the command line or by setting up a Grunt or Gulp task.index.html
file in docs
.Questions? Having trouble? File an issue.
# Download the template files
$ bower install doxray-template
// Move the template files into `docs`.
// You only need to do this after installing or updating doxray-template.
gulp.task('move-doxray-template', function() {
return gulp.src(['bower_components/doxray-template/template/*'])
.pipe(gulp.dest('docs'));
});
// Parse the files you want to generate documentation from.
// Saved the parsed data as `doxray-parsed-data.js` into the same folder you
// placed the template files.
gulp.task('doxray', function() {
doxray(['my-file.less'], { jsFile: 'docs/doxray-parsed-data.js' });
});
Feedback and contributions are welcome. Please read CONTRIBUTING.
To file a bug please us this handy template.
Eye icon created by Edward Boatman from the Noun Project: https://thenounproject.com/search/?q=eye&i=421