Liking cljdoc? Tell your friends :D

clj-kondo.impl.docstring


docs-from-metaclj

(docs-from-meta meta-node)

Return a tuple of [doc-node docstring] given meta-node.

If meta-node is not a map node or does not contain a :doc entry, return nil.

Return a tuple of `[doc-node docstring]` given `meta-node`.

If `meta-node` is not a map node or does not contain a :doc entry,
return nil.
sourceraw docstring

lint-docstring!clj

(lint-docstring! {:keys [filename config] :as ctx} node docstring)

Lint docstring for styling issues.

node is the node reported when docstring has findings, so ideally it should be the text node for docstring.

Lint `docstring` for styling issues.

`node` is the node reported when docstring has findings, so ideally
it should be the text node for `docstring`.
sourceraw docstring

safe-char-atclj

(safe-char-at s idx len)
source

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

× close