File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,28 @@ A [paradox](https://github.com/lightbend/paradox/) directive that automatically
13
13
addSbtPlugin(" com.lightbend.paradox" % " sbt-paradox-apidoc" % " <latest>" )
14
14
```
15
15
16
+ You can now create 'grouped' javadoc/scaladoc references in paradox like:
17
+
18
+ ```
19
+ Look into the documentation for @apidoc[MyClass].
20
+ ```
21
+
22
+ This will automatically find the FQDN of the class when it is unique. When the
23
+ name does not uniquely identify the class, the plugin will check for the
24
+ ` scaladsl ` /` javadsl ` package convention found in Akka projects. If that doesn't
25
+ produce an unambigious result, you will have to use the FQDN.
26
+
27
+ To limit the packages that are searched for classes, configure the
28
+ ` apidocRootPackage ` setting:
29
+
30
+ ```
31
+ import com.lightbend.paradox.apidoc.ApidocPlugin.autoImport.apidocRootPackage
32
+
33
+ (...)
34
+ apidocRootPackage := "akka",
35
+ (...)
36
+ ```
37
+
16
38
## License
17
39
18
40
The license is Apache 2.0, see LICENSE.
You can’t perform that action at this time.
0 commit comments