aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Formats/StructuredFormatService.kt1
-rw-r--r--test/data/format/orderedList.html1
-rw-r--r--test/data/format/overloadsWithDescription.html1
-rw-r--r--test/data/format/overloadsWithDifferentDescriptions.html2
-rw-r--r--test/data/format/tripleBackticks.html1
5 files changed, 0 insertions, 6 deletions
diff --git a/src/Formats/StructuredFormatService.kt b/src/Formats/StructuredFormatService.kt
index f83f4aa4..2357c0d6 100644
--- a/src/Formats/StructuredFormatService.kt
+++ b/src/Formats/StructuredFormatService.kt
@@ -144,7 +144,6 @@ public abstract class StructuredFormatService(locationService: LocationService,
fun appendDescription(location: Location, to: StringBuilder, node: DocumentationNode) {
if (node.content.description != ContentEmpty) {
- appendHeader(to, "Description", 3)
appendLine(to, formatText(location, node.content.description))
appendLine(to)
}
diff --git a/test/data/format/orderedList.html b/test/data/format/orderedList.html
index 223684ff..9917568f 100644
--- a/test/data/format/orderedList.html
+++ b/test/data/format/orderedList.html
@@ -8,7 +8,6 @@
<h1>Bar</h1>
<code><span class="keyword">class </span><span class="identifier">Bar</span></code><br/>
<p>Usage instructions:</p>
-<h3>Description</h3>
<ol><li><p>Rinse</p>
</li><li><p>Repeat</p>
</li></ol><br/>
diff --git a/test/data/format/overloadsWithDescription.html b/test/data/format/overloadsWithDescription.html
index a0a27b8c..a0efb472 100644
--- a/test/data/format/overloadsWithDescription.html
+++ b/test/data/format/overloadsWithDescription.html
@@ -9,7 +9,6 @@
<code><span class="keyword">fun </span><span class="identifier">f</span><span class="symbol">(</span><span class="identifier">x</span><span class="symbol">:</span>&nbsp;<span class="identifier">Int</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><br/>
<code><span class="keyword">fun </span><span class="identifier">f</span><span class="symbol">(</span><span class="identifier">x</span><span class="symbol">:</span>&nbsp;<span class="identifier">String</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><br/>
<p>Performs an action on <a href="test/f#x">x</a>.</p>
-<h3>Description</h3>
<p>This is a long description.</p>
<br/>
<br/>
diff --git a/test/data/format/overloadsWithDifferentDescriptions.html b/test/data/format/overloadsWithDifferentDescriptions.html
index a2cc21f4..30a37e75 100644
--- a/test/data/format/overloadsWithDifferentDescriptions.html
+++ b/test/data/format/overloadsWithDifferentDescriptions.html
@@ -8,7 +8,6 @@
<h1>f</h1>
<code><span class="keyword">fun </span><span class="identifier">f</span><span class="symbol">(</span><span class="identifier">x</span><span class="symbol">:</span>&nbsp;<span class="identifier">Int</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><br/>
<p>Performs an action on x.</p>
-<h3>Description</h3>
<p>This is a long description.</p>
<br/>
<br/>
@@ -19,7 +18,6 @@
<br/>
<code><span class="keyword">fun </span><span class="identifier">f</span><span class="symbol">(</span><span class="identifier">x</span><span class="symbol">:</span>&nbsp;<span class="identifier">String</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><br/>
<p>Performs an action on x.</p>
-<h3>Description</h3>
<p>This is a long description.</p>
<br/>
<br/>
diff --git a/test/data/format/tripleBackticks.html b/test/data/format/tripleBackticks.html
index 76b5f9e1..13954985 100644
--- a/test/data/format/tripleBackticks.html
+++ b/test/data/format/tripleBackticks.html
@@ -8,7 +8,6 @@
<h1>f</h1>
<code><span class="keyword">fun </span><span class="identifier">f</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><br/>
<p>Description</p>
-<h3>Description</h3>
<pre><code>code sample</code></pre><br/>
<br/>
<br/>