build clojure doc and then move the outdir

def build_clojure_docs(app):
    """build clojure doc and then move the outdir"""
    clojure_path = app.builder.srcdir + '/../contrib/clojure-package'
    _run_cmd('cd ' + clojure_path + '; lein codox')
    dest_path = app.builder.outdir + '/api/clojure/docs'
    _run_cmd('rm -rf ' + dest_path)
    _run_cmd('mkdir -p ' + dest_path)
    clojure_doc_path = app.builder.srcdir + '/../contrib/clojure-package/target/doc'
    _run_cmd('cd ' + clojure_doc_path + ' && cp -r *  ' + dest_path + '; exit 0')