I’m working on getting the cljdoc to work from a sourcehut repo, but now I’m running into an issue that seems unrelated: exception-during-import “No matching clause: :cljdoc/plaintext”
I don’t have any cljdoc configuration set up at all. Just a pom with a url to the sourcehut repo. https://cljdoc.org/builds/71843
relevant pom snippet:
<scm>
<tag>11ed63625c112cf5db27640c2f8c5c3ccfd5a1ea</tag>
<url>
</scm>
Ok, seems this was triggered by having a bunch of longish .txt files in the doc directory. Removed those since they weren’t interesting to have (just copies of the JSON Schema reference docs). So my problem is solved, but not sure why this would cause an issue
Hi @joost-diepenmaat, thanks for reporting your issue (and glad you are all sorted out). I recently added support for .txt articles and it looks like I might have missed some detail here. I'll take a peek sometime soon.
@joost-diepenmaat this is now fixed. Note that .txt files in your doc/ (or docs/ ) dir in your git repo are considered articles by cljdoc and will be auto-discovered and displayed.
Here's what that looks like from https://cljdoc.org/d/nl.jomco/openapi-v3-validator/0.1.83 (which I just had cljdoc rebuild).
@lee ah nice. good to know this is working again! thanks