cljdoc

joost-diepenmaat 2023-09-06T15:25:18.807899Z

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”

joost-diepenmaat 2023-09-06T15:25:49.526389Z

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

joost-diepenmaat 2023-09-06T15:29:03.961719Z

relevant pom snippet: <scm> <tag>11ed63625c112cf5db27640c2f8c5c3ccfd5a1ea</tag> <url></url> </scm>

joost-diepenmaat 2023-09-06T15:37:15.937489Z

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

lread 2023-09-06T17:04:23.637479Z

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.

lread 2023-09-06T21:48:11.890029Z

@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).

joost-diepenmaat 2023-09-07T08:50:18.844369Z

@lee ah nice. good to know this is working again! thanks

👍 1