literate your scala documentation
A reimagining of sxr, a Scala source browser, in the frame of literate style documentation like docco(node), rocco(ruby), schocco(shell), dox(node), pycco(python), marginalia(clojure).
This library is heavily influenced by the source of sxr. A strong thank you goes out to the hard work done by Mark Harrah on both sxr and sbt. Scala complier plugins are AWESOME.
-
Why another documentation generator?
- Scaladoc is heavy functionality but light on readability. Sxr is great for annotating source files in HTML format and navigating between sources as if you are were in an IDE but doesn't feel like documentation to me. Scholia Attempts to meet somewhere in between readable documentation and sxr documentation.
-
Is this meant as a replacement for scaladoc?
- No, scaladoc is the standard replacement for javadoc-style documentation in the scala community.
scholia is
class Project(info: ProjectInfo) extends DefaultProject(info) with AutoCompilerPlugins {
val scholia = compilerPlugin("me.lessis" %% "scholia" % "0.1.0-SNAPSHOT")
override def compileOptions =
CompileOption("-P:scholia:base-directory:" + mainScalaSourcePath.absolutePath) ::
(compileOptions("-Xplugin-list") ++ super.compileOptions).toList
}
Doug Tangren (softprops) 2011, Mark Harrah->sxr