Liking cljdoc? Tell your friends :D

file-server.views


(generate-link f sub-dir?)

Takes a java.io.File (f can be a file or a directory) and generates an HTML link for it f must be already served by the server for the link to work Optionally, you can provide the root dir to it from the href to generate the link properly

Takes a java.io.File (`f` can be a file or a directory) and generates an HTML link for it
`f` must be already served by the server for the link to work
Optionally, you can provide the root `dir` to it from the href to generate the link properly
sourceraw docstring

generate-viewsclj

(generate-views serving-dir sub-dir?)

Generates HTML views recursively using the serving-dir to display links for every file and directory inside the serving-dir

Generates HTML views recursively using the `serving-dir`
to display links for every file and directory inside the `serving-dir`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close