mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-13 01:08:25 +07:00
Comment unique (#10575)
* Comment Unique * Comment Unique translations * Comment Unique more descriptive documentation * New languages
This commit is contained in:
@ -73,6 +73,8 @@ class UniqueDocsWriter {
|
||||
"<${uniqueType.text}>"
|
||||
else uniqueType.text
|
||||
lines += "??? example \"$uniqueText\"" // collapsable material mkdocs block, see https://squidfunk.github.io/mkdocs-material/reference/admonitions/?h=%3F%3F%3F#collapsible-blocks
|
||||
if (uniqueType.docDescription != null)
|
||||
lines += "\t${uniqueType.docDescription}"
|
||||
if (uniqueType.parameterTypeMap.isNotEmpty()) {
|
||||
// This one will give examples for _each_ filter in a "tileFilter/specialist/buildingFilter" kind of parameter e.g. "Farm/Merchant/Library":
|
||||
// `val paramExamples = uniqueType.parameterTypeMap.map { it.joinToString("/") { pt -> pt.docExample } }.toTypedArray()`
|
||||
|
Reference in New Issue
Block a user