Skip to content

Commit

Permalink
Fix vars showing
Browse files Browse the repository at this point in the history
  • Loading branch information
philippamarkovics committed Aug 28, 2023
1 parent cb4c987 commit ec2abe7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion notebooks/doc.clj
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@

(defn ns-node-with-branches [nss-map ns-name]
(let [sub-nss (get nss-map ns-name)
vars (some-> ns-name symbol find-ns ns-publics not-empty vals vec)]
vars (some-> ns-name symbol find-ns ns-publics not-empty keys vec sort)]
(cond-> {:name ns-name}
sub-nss (assoc :nss (mapv (partial ns-node-with-branches nss-map) sub-nss))
vars (assoc :vars vars))))
Expand Down

0 comments on commit ec2abe7

Please sign in to comment.