Projectslab / rblog

Real time blog
1 stars 0 forks source link

Документация на Marginalia #11

Open fellz opened 10 years ago

fellz commented 10 years ago

Симпатичная бибилиотка для документации, похож на доки по backbone В комментариях можно использовать markdown ;; ## Source File Analysis Сами комментарии традиционно под функцией

(defn dir? "Many Marginalia fns use dir? to recursively search a filepath." [path](.isDirectory %28java.io.File. path%29))

Можно даже писать так

"Parses a project.clj file and returns a map in the following form

   {:name
    :version
    :dependencies
    :dev-dependencies
    etc...}

by merging into the name and version information the rest of the defproject forms (:dependencies, etc)"

программа потом отформатирует этот участок