Helpful utilities when writing documentation with Clerk.
Helpful utilities when writing documentation with Clerk.
(git-dependency slug)
(git-dependency slug sha)
Given a GitHub slug
(ie, a string of the form "org-name/project-name"
,
like "mentat-collective/clerk-utils"
), returns a Markdown blob that shows
the correct deps.edn
:deps
entry for the library with that slug.
The git SHA of the dependency defaults to ([[git-sha]])
, but the optional
second argument sha
overrides this.
Given a GitHub `slug` (ie, a string of the form `"org-name/project-name"`, like `"mentat-collective/clerk-utils"`), returns a Markdown blob that shows the correct `deps.edn` `:deps` entry for the library with that slug. The git SHA of the dependency defaults to `([[git-sha]])`, but the optional second argument `sha` overrides this.
(git-sha)
Returns the sha hash of this project's current git revision.
Returns the sha hash of this project's current git revision.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close