(reset-routedocs!)
Must be inserted at beginning of file containing main route macros. If not inserted, then an error message will be written to stderr, and an exception thrown for every call to one of the <route>+ macros.
Must be inserted at beginning of file containing main route macros. If not inserted, then an error message will be written to stderr, and an exception thrown for every call to one of the <route>+ macros.
(wrap-routedocs handler & {:keys [path] :or {path "/routedocs"} :as ops})
Standard ring middleware which serves routedocs as Markdown or HTML at ':path' ':path' default to '/routedocs' Examples: (wrap-routedocs) (wrap-routedocs :path "/some/path/for/docs")
Standard ring middleware which serves routedocs as Markdown or HTML at ':path' ':path' default to '/routedocs' Examples: (wrap-routedocs) (wrap-routedocs :path "/some/path/for/docs")
(write-routedocs! file)
Writes your routedocs as Markdown to the specified file. 'file' maybe a String or java.io.File. Must be inserted at end of file containing main route macros. (If not inserted, then no docs are written to file.)
Writes your routedocs as Markdown to the specified file. 'file' maybe a String or java.io.File. Must be inserted at end of file containing main route macros. (If not inserted, then no docs are written to file.)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close