Autodoc is a great tool for automatic documentation generation for your clojure code (the clojure api itself uses it).
If you are using github-pages to publish the docs, here’s a simple little gendocs sh script to dump into your bin folder to do all the work in one go:
#!/bin/sh if [ -d "autodoc" ] then echo "generating docs..." lein autodoc echo "pushing to github..." cd autodoc git add -A git commit -m "Documentation update" git push origin gh-pages cd .. else echo "No autodoc dir! Run this from your project" fi |