diff --git a/docs/scala_doc.md b/docs/scala_doc.md
index 5a7fe34cc..95f714837 100644
--- a/docs/scala_doc.md
+++ b/docs/scala_doc.md
@@ -1,7 +1,7 @@
# scala_doc
```python
-scala_binary(
+scala_doc(
name,
deps,
)
@@ -45,4 +45,4 @@ pkg_tar(
| --------------------- | ----------------------------------------------------- |
| name | `Name, required`
A unique name for this target.
| deps | `List of labels, optional`
Labels for which you want to create scaladoc.
-| scalacopts | `List of strings, optional`
Extra compiler options for this library to be passed to scalac.
\ No newline at end of file
+| scalacopts | `List of strings, optional`
Extra compiler options for this library to be passed to scalac.