(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
(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`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close