You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: scala3doc/README.md
+21-6Lines changed: 21 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,8 @@ We're aiming to support all the features Scaladoc did, plus new and exciting one
13
13
- displaying project and API documentation together on one site!
14
14
- and more!
15
15
16
+
**Yes, this page was generated using scala3doc**
17
+
16
18
## Running the project
17
19
18
20
Use the following commands to generate documentation for this project and for Dotty, respectively:
@@ -29,13 +31,26 @@ cd output
29
31
python3 -m http.server 8080
30
32
```
31
33
32
-
And afterwards point your browser to `http://localhost:8080/self` or
33
-
`http://localhost:8080/stdLib` for this project and for Dotty documentation
34
+
And afterwards point your browser to <http://localhost:8080/self> or
35
+
<http://localhost:8080/stdLib> for this project and for Dotty documentation
34
36
respectively.
35
37
36
38
It's not strictly necessary to go through an HTTP server, but because of CORS
37
39
the documentation won't work completely if you don't.
38
40
41
+
## CLI Documentation
42
+
43
+
CLI command for running our tool is in form: `sbt main -n <name> -o <output> -t <tasty-files> -cp <classpath> -s { <sources> } -d <documentation> ` where:
44
+
-`<name>`: name of module in generated documentation
45
+
-`<output>`: location where documentation should be created
46
+
-`<tasty-files>`: is list of dirs or jars that contains tasty files that should be documented
47
+
-`<classpath>`: classpath that was used to generate tasty files
48
+
-`<sources>`: links to source files of module that are used to link symbols on pages to their source file. They need to be supplied in form:
49
+
`local_dir=remote_dir#line_suffix` e.g. `src/main/scala=https://github.com/lampepfl/scala3doc/tree/master/src/main/scala#L`
50
+
-`<documentation>`: directory of static documentation that you would like to render with API documentation. This feature is provided by dokka-site plugin:
0 commit comments