Questions tagged [scaladoc]

Scaladoc is a documentation generation system which reads specially formatted comments in Scala source code and generates compiled documentation. It is typically used to produce API documentation in the form of HTML web pages.

Resources

146 questions
2
votes
2 answers

How to create the Scaladoc for a Maven+Scala 2.8+Java-Project with Scaladoc 2

The question says it all. I couldn't find an example on the web how to use the Scaladoc 2, especially on a Maven Project. I'm using Maven, Scala 2.8 and some Java classes, and the Maven Scala Plugin to build the project. But as it seems i cannot…
Wolkenarchitekt
  • 20,170
  • 29
  • 111
  • 174
2
votes
0 answers

how to generate scaladoc on files recursively for files in sub-directories

I am using {scaladoc} to generate documentation for my scala files, is there away to generate from files in subdirectories ?
CruncherBigData
  • 1,112
  • 3
  • 14
  • 34
2
votes
1 answer

Eclipse Scala plugin not showing documentation for classes and methods in scala projects

I installed the scala plugin through eclipse (Mars) and experience problems when it comes to documentation. When I am creating a new Java project and write code I get documentation when hovering over classes and their methods as usual. However when…
Assax91
  • 81
  • 9
2
votes
2 answers

Generating single ScalaDoc for multiple sub-projects using Gradle

I'm using Gradle (v2.3) for a project, that contains multiple Scala sub-projects. Generating the ScalaDoc for each sub-project individually works as expected (running gradle :project-a:scaladoc or gradle :project-b:scaladoc). But how do a get a…
hiddenbit
  • 2,233
  • 14
  • 25
2
votes
1 answer

Scaladoc hide inherited members by default

I'm using sbt doc to generate documentation for a Scala project. Using the default settings the documentation automatically shows inherited members as in the following screenshot. Ideally I would like to generate documentation which hides all the…
stephenmuss
  • 2,445
  • 2
  • 20
  • 29
2
votes
0 answers

Why eclipse open the Scaladoc instead of Javadoc?

I'm working with Apache Spark Java API in Eclipse, but when I click the method and classes in Eclipse, the Scaladoc version of the Apache Spark, will opened! How can I solve this problem?
Milad Khajavi
  • 2,769
  • 9
  • 41
  • 66
2
votes
1 answer

Disable sbt subproject doc generation

I have a multi-project Scala build in SBT, in which I have a root project that effectively just aggregates two subprojects: a macro library and a core library that uses that macro library. I'm using the excellent sbt-unidoc plugin to create a…
Mike Allen
  • 8,139
  • 2
  • 24
  • 46
2
votes
0 answers

how to read scaladoc on ipad?

reading any scaladoc on ipad is not possible, the lower right frame does not scroll, is there any app/browser that can display scaladoc properly ? I did not find any good and simple solution for this problem by googling.
jhegedus
  • 20,244
  • 16
  • 99
  • 167
2
votes
1 answer

Why is it so difficult to browse through Scala api?

Firstly I had an issue finding #:: method of Stream. Which got resolved from this. Now I am looking for the below method in the Stream def iterate[A](start: A, len: Int)(f: A => A): Stream[A] The Stream API has no mention of it. Secondly in the…
Jatin
  • 31,116
  • 15
  • 98
  • 163
2
votes
1 answer

How to change scaladoc default ordering to "by inheritance"?

I generate scaladoc by using the sbt command doc. The generated scaladoc has default ordering set to Alphabetic. I can manually change it to By inheritance, but when I visit another class documentation, the ordering reverts back to alphabetic. Is…
dips
  • 1,627
  • 14
  • 25
1
vote
0 answers

omit type aliases from scaladoc search

I'm currently using a multi-package open source framework that exposes dozens of classes/objects as type aliases in a root package, apparently solely for the purpose of making wildcard importing easy. unfortunately, because these type aliases have…
PopKernel
  • 4,110
  • 5
  • 29
  • 51
1
vote
0 answers

Documenting parameters of Scala functions defined via val

When documenting parameters of methods with Scaladoc, we can write: /** Is number even * @param i number * @return true if i is even, false otherwise */ def isEvenDef(i: Int) = i % 2 == 0 Which after generating the docs (e.g. via doc…
Jozef
  • 2,617
  • 14
  • 19
1
vote
1 answer

How to read scala documentation using reflection

Is there anyway we can read scala doc comments using reflection. My requirement is to read the @group tag value and use it for counting how many functions are there for each group
John
  • 1,531
  • 6
  • 18
  • 30
1
vote
1 answer

Scaladoc sourcepath and source files

This question is directed at Scaladoc for Scala 2.12. scaladoc -help spews out a lot of lines, including these two: Usage: scaladoc -sourcepath Specify location(s) of source files. However, no…
Mike Slinn
  • 7,705
  • 5
  • 51
  • 85
1
vote
0 answers

How can I prevent a class called Index masking the package in scaladoc?

I have a class called Index, representing a secondary index within DynamoDB. When I generate scaladoc for it, it overwrites the documentation of it's parent package, as that's called index.html as is the class's documentation. Is there any way to…
philwills
  • 193
  • 7