Liking cljdoc? Tell your friends :D
Clojure only.

redirect-svg-link

Readmoi produces two files: 'resources/readme.html' and 'README.md' in the project root directory. The svg links are relative to the root directory, so the html file needs to have its links re-pointed to the proper directory.

This utility can't live in the same ns as the readmoi generator because it seems lein run can either

a) eval -main in the context of vars loaded from readmoi.core, or

b) eval a custom -main composed of (do (readmoi.core/-main) (let []...)

but not both. Performing the lein do tasks serially works okay.

Readmoi produces two files: 'resources/readme.html' and 'README.md' in the
project root directory. The svg links are relative to the root directory, so
the html file needs to have its links re-pointed to the proper directory.

This utility can't live in the same ns as the readmoi generator because it
seems `lein run` can either

a) eval `-main` in the context of vars loaded from `readmoi.core`, or

b) eval a custom `-main` composed of `(do (readmoi.core/-main) (let []...)`

but not both. Performing the `lein do` tasks serially works okay.
raw docstring

-mainclj

(-main)

Generator script target.

Generator script target.
raw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close