-
Notifications
You must be signed in to change notification settings - Fork 97
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
Various Enhancements #179
Open
martinklepsch
wants to merge
10
commits into
weavejester:master
Choose a base branch
from
cljdoc:cljs-proper
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Various Enhancements #179
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
More details in this Gist: https://gist.github.com/martinklepsch/9f885feb061ec3f03f365e22d0d9bf5b Fixes cljdoc/cljdoc#201
Thanks for telling me about these changes. I'll take a closer look at them later this week, but they all look like useful additions that can be merged back into Codox, so thank you for your work on this! |
I'd love to see this included into the codox project 👍 |
roosta
added a commit
to roosta/herb
that referenced
this pull request
Jul 17, 2019
Switch to cljdoc, issues where macros ns and cljs ns would generate duplicate doc entries. See: weavejester/codox#179 cljdoc/cljdoc#155
This was referenced Jul 5, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hey @weavejester, I've forked Codox for https://cljdoc.org for a while running on some commits that may also be interesting for mainline Codox. This PR includes a lot of unnecessary commits but I will describe the few relevant ones below and you can cherry pick whatever you like. I can also create a new PR with the ones you're interested in.
Feel free to close this PR after seeing it, it's not really intended to be merged as-is but more of a heads up and an offer to contribute some of the changes below back to Codox.
Trust cljs analyser to read macros correctly
Codox previously did two passes to also read macros for ClojureScript. This is actually no longer necessary with more recent versions of ClojureScript.
cljdoc@3079986
Remove
'quote
from arglistsFor some reason the
list?
check wasn't enough to remove'quote
and I ended up with'quote
in arglists.seq?
did the trick (and might be more appropriate anyways?).cljdoc@25b01ae
Better handle namespaces defined by multiple files
When there are multiple files (e.g.
.clj
and.cljc
) for a namespace Codox would analyse those namespaces twice returning the analysis result twice as well. (See cljdoc/cljdoc#155.)cljdoc@3f2ea84
Better support ClojureScript 1.10.439
I noticed some issues (+ more details) with the new CLJS version. Turns out setting
*analyze-deps*
tofalse
was never really supported for macro-containing namespaces and we just got lucky.cljdoc@e0cd269
Thanks
Thanks for your excellent work on Codox, it really helped with cljdoc and has been an inspiration in many regards 🙌 If you want I'd be happy to send you some stickers as well, just send me your address via email 🙂