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.
In Eclipse I have set the Javadoc Location property of my Scala project to file:/D:/EclipseWorkspace/MyProject/target/scala-2.9.1/api where D:/EclipseWorkspace/MyProject is the location of my scala project.
Now, if I am in a Scala file that…
I'm documenting a Scala class with overloaded methods. How can I distinguish them when referring to them in scaladoc comments? For example, if I have
/**
* The most important method is [[Doc.foo]].
*/
object Doc {
def foo[A]: A = throw new…
Adding the following settings to the build.sbt file of a Play 2.2.x app
does not disable Scaladoc generation. How can it be disabled?
play.Project(appName, appVersion, appDependencies)
.settings(scalaVersion := "2.10.3")
…
I binged or googled for scaladoc 2.0 tutorial or example, I could not find anything, in fact not even a link to official scaladoc 2.0 documentation.
Anyone know where to find one?
Using Scaladoc, is there a way to include hyperlink to some external HTTP URL ?
using Javadoc this was easy.. but I am having trouble figuring out the syntax for Scaladoc. I looked here: https://wiki.scala-lang.org/display/SW/Writing+Documentation,…
Since Scala 2.10.2, I can't find the download link for its API documentation. Is this an intentional omission? Where can I download it?
Alternatively, what is the exact scalac command to generate the same one with…
I'm trying to link classes from the JDK into the scaladoc-generated doc.
I've used the -doc-external-doc option of scaladoc 2.10.1 but without success.
I'm using…
Is there any possibility that i can search for a method in a class, trait or object via scala doc, globally? Example: I have a method name and I don't know which class it belongs to so i can type it in some scaladoc search and it will show me…
I am trying to find the documentation for the Scala operator method #::. I believe that it is defined in the Stream class because of an example I found that uses it.
My question is not particular to this method (although I would like to know where…
I'm attempting to run sbt test:doc and I'm seeing a number of warnings similar to below:
[warn] /Users/tleese/code/my/stuff/src/test/scala/com/my/stuff/common/tests/util/NumberExtractorsSpecs.scala:9: Could not find any member to link for…
What is the correct way to create link to a method in the same class?
Scaladoc documentation doesn't have examples of this.
Consider a class such as:
package controllers
// import ...
class AccountController extends Controller with Secured {
…
I would like to enter math formulae in Scaladoc documentation of mathematical Scala code. In Java, I found a library called LatexTaglet that can do exactly this for Javadoc, by writing formulae in Latex:
http://latextaglet.sourceforge.net/
And it…
When attempting to publish the jars for my project via sbt "++2.11.6 publishLocal" or sbt +publishLocal, I encounter Scaladoc issues when publishing for Scala 2.11.6. It appears that I have invalid links caused by the @throws tag. I am not sure why…
Why do some method descriptions in Scaladoc start with [use case]?
Example: scala.collection.immutable.StringOps.++
Is it just a placeholder to be replaced in the future?
I want that Scaladoc generates a type hierarchy diagram for the following code snippet:
trait A
trait B extends A
But when I execute scaladoc .scala there is no type hierarchy shown - neither in A nor in B. How can I generate such diagrams?