New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Planck namespaces as Jar #875
Comments
FYI this is the analysis that goes wrong: https://circleci.com/gh/martinklepsch/cljdoc-builder/8981 |
Planck has an (undocumented) For example, if you do
you will see all of the bundled namespaces in that directory, with the Planck-specific ones under I wonder if this capability could be used to address your issue. |
I was able to make it work just by building the jar and uploading it - https://clojars.org/l3nz/planck - but it would make sense that it is uploaded under the projects' name. Unfortunately Cljdocs won't build docs for Planck itself. |
If you are using |
The problem is that the consumer is Cljdocs, and it expects to fetch all deps from a Maven repository. So in any case I have to create a Maven manifest - and for what it's worth, Leiningen does it for me. |
Ahh. I see. Hmm. I wonder if it is possible to avoid actually publishing a JAR. Does Cljdocs use For example, if Cljdoc is using {:deps {github-planck-repl/planck
{:git/url "https://github.com/planck-repl/planck"
:deps/root "planck-cljs"
:sha "9952447688da2211edae8a680b653be555ae1c14"
:tag "2.21.0"}}} is effectively the same as {:deps {l3nz/planck {:mvn/version "0.0.0"}}} |
@l3nz, are the references to the Planck namespace coming solely from these lines? Can you use |
Deployed: https://clojars.org/planck |
I am having a weird issue with Cljdocs.
As CLI-matic uses function in the Plack namespaces, when I try building the docs on Cljdoc it breaks - https://cljdoc.org/d/cli-matic/cli-matic/0.3.3/doc/readme - because I reference functions that are not explicitly available in
deps.edn
. It would be easy to just add a reference:provided
to Planck, if the JAR was available as a Maven resource.... but I'm not finding it.I think this would not only benefit me, but everyone who writes libraries that target Planck (and it would be cool to have Planck namespace references on Cljdocs!)
The text was updated successfully, but these errors were encountered: