Added unique type documentation in wiki

This commit is contained in:
Yair Morgenstern
2023-07-02 01:28:27 +03:00
parent fd2bfbdc10
commit d0643efe6b
3 changed files with 38 additions and 29 deletions

View File

@ -63,6 +63,10 @@ class UniqueDocsWriter {
for ((targetType, uniqueTypes) in targetTypesToUniques) {
if (uniqueTypes.isEmpty()) continue
lines += "## " + targetType.name + " uniques"
if (targetType.documentationString.isNotEmpty())
lines += "!!! note \"\"\n\n ${targetType.documentationString}"
for (uniqueType in uniqueTypes) {
if (uniqueType.getDeprecationAnnotation() != null) continue