Sort the map correctly
This commit is contained in:
@@ -152,7 +152,8 @@
|
||||
(map marg/path-to-doc)
|
||||
(map #(process-groups % java-docs))
|
||||
(apply concat)
|
||||
(group-by :ns)))
|
||||
(group-by :ns)
|
||||
(into (sorted-map))))
|
||||
|
||||
(defn save!
|
||||
[parsed-files]
|
||||
|
||||
@@ -105,7 +105,6 @@
|
||||
(create-embed-file (content group)))))
|
||||
(spit (io/file dir "index.edn")
|
||||
(->> parsed-files
|
||||
sort
|
||||
(map (fn [[ns groups]]
|
||||
(for [{:keys [name]} groups]
|
||||
{:ns ns
|
||||
|
||||
Reference in New Issue
Block a user