1scaladoc(1)                      USER COMMANDS                     scaladoc(1)
2
3
4

NAME

6       scaladoc - Documentation generator for the Scala 2 language
7

SYNOPSIS

9       scaladoc  [ <options> ] <source files>
10

PARAMETERS

12       <options>
13              Command line options. See OPTIONS below.
14
15       <source files>
16              One or more source files to be compiled (such as MyClass.scala).
17

DESCRIPTION

19       The  scaladoc  tool  reads class and object definitions, written in the
20       Scala 2 programming language, and generates their API as HTML files.
21
22       By default, the generator puts each HTML file in the same directory  as
23       its  source file. You can specify a separate destination directory with
24       -d (see OPTIONS, below).
25
26       The recognised format of comments in source is described in the  online
27       documentation
28

OPTIONS

30   Standard Options
31       -d <directory>
32              Specify where to generate documentation.
33
34       -version
35              Print product version and exit.
36
37       -help  Print a synopsis of available options.
38
39   Documentation Options
40       -doc-title <title>
41              Define  the  overall  title  of the documentation, typically the
42              name of the library being documented.
43
44       -doc-version <version>
45              Define the overall version number of  the  documentation,  typi‐
46              cally the version of the library being documented.
47
48       -doc-source-url <url>
49              Define  a  URL to be concatenated with source locations for link
50              to source files.
51
52       -doc-external-doc <external-doc>
53              Define a comma-separated  list  of  classpath_entry_path#doc_URL
54              pairs describing external dependencies.
55
56   Compiler Options
57       -verbose
58              Output messages about what the compiler is doing
59
60       -deprecation
61              Indicate  whether  source  should  be  compiled with deprecation
62              information; defaults to off (accepted values are: on, off,  yes
63              and no)
64
65              Available since Scala version 2.2.1
66
67       -classpath <path>
68              Specify  where to find user class files (on Unix-based systems a
69              colon-separated list of paths, on Windows-based systems, a semi‐
70              colon-separate list of paths). This does not override the built-
71              in ("boot") search path.
72
73              The default class path is the  current  directory.  Setting  the
74              CLASSPATH  variable  or using the -classpath command-line option
75              overrides that default, so if you want to  include  the  current
76              directory  in  the  search path, you must include "." in the new
77              settings.
78
79       -sourcepath <path>
80              Specify where to find input source files.
81
82       -bootclasspath <path>
83              Override location of bootstrap class files (where  to  find  the
84              standard built-in classes, such as "scala.List").
85
86       -extdirs <dirs>
87              Override location of installed extensions.
88
89       -encoding <encoding>
90              Specify character encoding used by source files.
91
92              The  default value is platform-specific (Linux: "UTF8", Windows:
93              "Cp1252"). Executing the following code in the Scala interpreter
94              will return the default value on your system:
95
96                  scala> new java.io.InputStreamReader(System.in).getEncoding
97

EXIT STATUS

99       scaladoc  returns  a  zero exit status if it succeeds at processing the
100       specified input files. Non zero is returned in case of failure.
101

AUTHORS

103       This version of Scaladoc was written by Gilles Dubochet with  contribu‐
104       tions  by  Pedro  Furlanetto  and  Johannes Rudolph. It is based on the
105       original Scaladoc (Sean McDirmid, Geoffrey Washburn, Vincent Cremet and
106       Stéphane  Micheloud),  on  vScaladoc  (David Bernard), as well as on an
107       unreleased version of Scaladoc 2 (Manohar Jonnalagedda).
108

SEE ALSO

110       fsc(1), scala(1), scalac(1), scalap(1)
111
112
113
114version 2.0                        June 2010                       scaladoc(1)
Impressum