-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Additions to be able generate javadoc for akka-http-core #40
Conversation
Heroic effort @bantonsson :-) |
So Let's Greet The Monster :) |
import language.postfixOps | ||
Map() ++ c.getDeclaredClasses.filterNot(_.getName contains "anon").map(x ⇒ x.getName -> x) | ||
Map() ++ c.getDeclaredClasses.filterNot(x => filter && (x.getName contains "anon")).map(x ⇒ x.getName -> x) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
collect?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
toMap?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure
…http-core-ban Additions to be able generate javadoc for akka-http-core
@@ -32,7 +32,11 @@ trait BaseComments { this: TransformCake ⇒ | |||
def apply(pos: Position, text: String) = { | |||
val ll = text.replaceAll("\n[ \t]*", "\n ").split("\n") | |||
.map { | |||
case See(prefix, link) ⇒ prefix + link | |||
case See(prefix, link) ⇒ | |||
if (link.startsWith("http://")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Valid point. I'll add it for the 0.9 version. This has been merged and published.
No description provided.