8000 WIP: Add minimal description for missing Scaladoc tags · scala/docs.scala-lang@a6b688c · GitHub
[go: up one dir, main page]

Skip to content

Commit a6b688c

Browse files
committed
WIP: Add minimal description for missing Scaladoc tags
Added a minimal description for, - @contentDiagram - @documentable
1 parent 6896b70 commit a6b688c

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

overviews/scaladoc/for-library-authors.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,22 @@ include:
8989
definition is too complex or noisy. An example is (in the collections API),
9090
providing documentation for methods that omit the implicit `canBuildFrom`.
9191

92+
93+
### Member grouping tags
94+
- `@group` - TODO
95+
- `@groupname` - TODO
96+
- `@groupdesc` - TODO
97+
- `@groupprio` - TODO
98+
99+
100+
### Diagram tags
101+
- `@contentDiagram` - use with traits and classes to include a content hierarchy diagram showing included types.
102+
The diagram content can be fine tuned with additional specifiers taken from `hideNodes`, `hideOutgoingImplicits`,
103+
`hideSubclasses`, `hideEdges`, `hideIncomingImplicits`, `hideSuperclasses` and `hideInheritedNode`.
104+
`hideDiagram` can be supplied to prevent a diagram from being created if it would be created by default. Packages
105+
and objects have content diagrams by default.
106+
- `@inheritanceDiagram` - TODO
107+
92108
### Other tags
93109
- `@author` provide author information for the following entity
94110
- `@version` the version of the system or API that this entity is a part of.
@@ -103,6 +119,7 @@ include:
103119
ahead of deprecation. Same fields as `@deprecated`.
104120
- `@inheritdoc` take comments from a superclass as defaults if comments are not
105121
provided locally.
122+
- `@documentable` Expand a type alias and abstract type into a full template page. - TODO: Test the "abstract type" claim - no examples of this in the Scala code base
106123

107124

108125
### Macros
@@ -111,6 +128,10 @@ include:
111128
`<definition>`.
112129

113130

131+
### 2.12 tags - TODO: Move these into the above groups with a 2.12 note
132+
- `@shortDescription` ???
133+
- `@hideImplicitConversion` ???
134+
114135
## Comment Inheritance
115136

116137
### Implicit

0 commit comments

Comments
 (0)
0