mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-09 15:29:32 +07:00
Added unique type documentation in wiki
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user