To get emacs to syntax color clojurescript files (cljs) add this to your .emacs (or other emacs config file):
(setq auto-mode-alist (cons '("\.cljs" . clojure-mode) auto-mode-alist)) |
To get emacs to syntax color clojurescript files (cljs) add this to your .emacs (or other emacs config file):
(setq auto-mode-alist (cons '("\.cljs" . clojure-mode) auto-mode-alist)) |
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 |