metosin / malli

High-performance data-driven data specification library for Clojure/Script.
Eclipse Public License 2.0
1.48k stars 210 forks source link

Fix clj-doc API import #887

Closed simonacca closed 1 year ago

simonacca commented 1 year ago

Hi, cljdoc api generation currently fails because it can't find shadow-cljs as a dependency must be in pom.xml. However that dependency is only needed when analyzing malli.dev.* namespaces, which I don't think we want in cljdocs anyway, so I'm just excluding them from cljdoc analysis in this PR. Let me know if this approach works for you.

Simon

simonacca commented 1 year ago

p.s. Technically only malli.dev.cljs-kondo-preload needs to be excluded for cljdoc to be happy, but I am assuming we don't want any of the malli.dev.* namespaces in the docs, so excluded all of them.

p.p.s. If you'd like to run docs generation locally, see here

ikitommi commented 1 year ago

malli.dev.pretty and malli.dev.virhe are something that people can use, so would like to have it in the docs. Maybe just exclude the one that doesn't work?

simonacca commented 1 year ago

done

ikitommi commented 1 year ago

Thanks!