diff options
author | Sergey Mashkov <sergey.mashkov@jetbrains.com> | 2015-08-06 11:36:38 +0300 |
---|---|---|
committer | Sergey Mashkov <sergey.mashkov@jetbrains.com> | 2015-08-06 11:36:38 +0300 |
commit | 4ed808d935125ab370d988f9cb32d96839959964 (patch) | |
tree | 1efa5411da382a87ac442f728e4275142a634e07 | |
parent | 6012a2842da93a03c72e6ef6ccc4ed5097801610 (diff) | |
download | dokka-4ed808d935125ab370d988f9cb32d96839959964.tar.gz dokka-4ed808d935125ab370d988f9cb32d96839959964.tar.bz2 dokka-4ed808d935125ab370d988f9cb32d96839959964.zip |
~ description constant
-rw-r--r-- | src/Formats/StructuredFormatService.kt | 2 | ||||
-rw-r--r-- | src/Model/Content.kt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Formats/StructuredFormatService.kt b/src/Formats/StructuredFormatService.kt index a90c60b1..1c2e5338 100644 --- a/src/Formats/StructuredFormatService.kt +++ b/src/Formats/StructuredFormatService.kt @@ -139,7 +139,7 @@ public abstract class StructuredFormatService(locationService: LocationService, fun appendDescription(location: Location, to: StringBuilder, node: DocumentationNode) { if (node.content.description != ContentEmpty) { - appendHeader(to, "Description", 3) + appendHeader(to, ContentTags.Description, 3) appendLine(to, formatText(location, node.content.description)) appendLine(to) } diff --git a/src/Model/Content.kt b/src/Model/Content.kt index cd387b61..0bb78454 100644 --- a/src/Model/Content.kt +++ b/src/Model/Content.kt @@ -150,7 +150,7 @@ public open class MutableContent() : Content() { if (descriptionNodes.isEmpty()) { ContentEmpty } else { - val result = ContentSection("Description", null) + val result = ContentSection(ContentTags.Description, null) result.children.addAll(descriptionNodes) result } |