Skip to content

Raynes/dox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dox

dox is a leiningen plugin for updating gh-pages with new documentation, and also creating it if it doesn't exist.

Usage

First of all, you'll want some kind of documentation generator. My favorite is codox. The thing that matters is where the documentation files are put after being generated. You'll want to set that in project.clj:

:dox {:in "somedocs/"}

This tells it to look in somedocs/ for the documentation files. The default is doc/ which also happens to be codox's default!

Once all that's fine and dandy, just generate your docs and run dox:

$ lein do doc, dox

This will switch to (or create) the gh-pages branch, remove everything, add these docs, commit, and then switch back. Pretty simple, eh?

License

Copyright © 2014 Anthony Grimes

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.

About

A leiningen plugin for creating/updating gh-pages.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published