Skip to content

Instantly share code, notes, and snippets.

@lbradstreet
Created November 3, 2015 08:49
Show Gist options
  • Save lbradstreet/f2534339917dbfa83164 to your computer and use it in GitHub Desktop.
Save lbradstreet/f2534339917dbfa83164 to your computer and use it in GitHub Desktop.
+
+(comment
+ (spit "st.md" (with-out-str
+ (gen-markdown (:model (:state-aggregation model))
+ [[:optional? "Optional?"]
+ [:doc "Doc"]]
+ 160)))
+
+(spit "rocksdb.md" (with-out-str
+ (gen-markdown (into {}
+ (filter #(re-matches #".*rocksdb.*" (namespace (key %)))
+ (:model (:peer-config model))))
+ [[:optional? "Optional?"]
+ [:doc "Description"]]
+ 800)))
+
+
+
+ (def a
+ (spit "a.txt" (with-out-str
+ (gen-markdown (:model (:peer-config model))
+ [[:doc "Description"]
+ [:optional? "Optional?"]]
+ 800)))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment