Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Adds scala support #143

Merged
merged 1 commit into from

2 participants

@marioaquino

I've added support for scala to docco. There is already a scala port of docco (found here: https://github.com/philcali/sbt-cx-docco), but it doesn't build nor is it usable in a scala project that I am trying to generate docs for. This simple fix lets me use docco for scala. Would you mind accepting it?

@justindujardin justindujardin merged commit aa2876b into jashkenas:master
@justindujardin
Collaborator

Thanks for your contribution, this has been merged.

:thumbsup: on the test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 15, 2013
  1. @marioaquino

    Added scala support.

    marioaquino authored
This page is out of date. Refresh to see the latest.
Showing with 15 additions and 2 deletions.
  1. +4 −2 resources/languages.json
  2. +11 −0 test/comments/scala.scala
View
6 resources/languages.json
@@ -41,5 +41,7 @@
".less":
{"name" : "scss", "symbol": "//"},
".m":
- {"name" : "objc", "symbol": "//"}
-}
+ {"name" : "objc", "symbol": "//"},
+ ".scala":
+ {"name" : "scala", "symbol": "//"}
+}
View
11 test/comments/scala.scala
@@ -0,0 +1,11 @@
+// 1
+
+def foo {
+ val bar = "heynow"
+}
+
+/**
+ * These comments are meaningful too
+ */
+def commentAbove(param : String) {
+}
Something went wrong with that request. Please try again.