You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently using the Codox manually with a shadow-cljs project, which doesn't seem to be officially supported, but does work mostly fine. I'm not sure if I just haven't found it, but there don't seem to be any docs on using the library directly, outside of lein.
A few features don't seem accessible when running generate-docs manually. Namely, {git-commit} in the :source-uri setting seems to be stripped out (no errors, but no commit hashes either), and the :project map does not seem to be used. I'm invoking Codox using the shadow-cljs Clojure runner:
$ shadow-cljs clj-run user/build-docs
And the code that does the work is as follows (with some confidential stuff removed):
(defnbuild-docs
[]
(generate-docs
{:project {:name"frontend":version"0.1.0-SNAPSHOT":description"Frontend for the application."}
:language:clojurescript:source-paths ["src"]
:source-uri"https://our.git.server/dev/frontend/blob/{git-commit}/{filepath}#L{line}":metadata {:doc/format:markdown:doc"FIXME: Write documentation."}
:doc-paths ["doc"]
:themes [:dark]}))
Installed codox version is 0.10.7.
The text was updated successfully, but these errors were encountered:
I'm currently using the Codox manually with a shadow-cljs project, which doesn't seem to be officially supported, but does work mostly fine. I'm not sure if I just haven't found it, but there don't seem to be any docs on using the library directly, outside of lein.
A few features don't seem accessible when running
generate-docs
manually. Namely,{git-commit}
in the:source-uri
setting seems to be stripped out (no errors, but no commit hashes either), and the:project
map does not seem to be used. I'm invoking Codox using the shadow-cljs Clojure runner:And the code that does the work is as follows (with some confidential stuff removed):
Installed codox version is 0.10.7.
The text was updated successfully, but these errors were encountered: