Skip to content

Commit

Permalink
fix rowSpan issue
Browse files Browse the repository at this point in the history
  • Loading branch information
andygrove committed Aug 10, 2021
1 parent babe6c4 commit 92bd4b6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 17 deletions.
12 changes: 0 additions & 12 deletions docs/supported_ops.md
Original file line number Diff line number Diff line change
Expand Up @@ -684,8 +684,6 @@ Accelerator supports are described below.
<td><b>NS</b></td>
</tr>
<tr>
<td></td>
<td></td>
<td>leftKeys</td>
<td>None</td>
<td>S</td>
Expand All @@ -708,8 +706,6 @@ Accelerator supports are described below.
<td><b>NS</b></td>
</tr>
<tr>
<td></td>
<td></td>
<td>rightKeys</td>
<td>None</td>
<td>S</td>
Expand Down Expand Up @@ -804,8 +800,6 @@ Accelerator supports are described below.
<td><b>NS</b></td>
</tr>
<tr>
<td></td>
<td></td>
<td>leftKeys</td>
<td>None</td>
<td>S</td>
Expand All @@ -828,8 +822,6 @@ Accelerator supports are described below.
<td><b>NS</b></td>
</tr>
<tr>
<td></td>
<td></td>
<td>rightKeys</td>
<td>None</td>
<td>S</td>
Expand Down Expand Up @@ -876,8 +868,6 @@ Accelerator supports are described below.
<td><b>NS</b></td>
</tr>
<tr>
<td></td>
<td></td>
<td>leftKeys</td>
<td>None</td>
<td>S</td>
Expand All @@ -900,8 +890,6 @@ Accelerator supports are described below.
<td><b>NS</b></td>
</tr>
<tr>
<td></td>
<td></td>
<td>rightKeys</td>
<td>None</td>
<td>S</td>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1559,14 +1559,14 @@ object SupportedOpsDocs {
nextOutputAt = totalCount + headerEveryNLines
}
println("<tr>")
val count = if (checks.isDefined) {
val rowSpan = if (checks.isDefined) {
val exprChecks = checks.get.asInstanceOf[ExecChecks]
1 + exprChecks.extendedChecks.size
} else {
1
}
println(s"""<td rowspan="$count">${rule.tag.runtimeClass.getSimpleName}</td>""")
println(s"""<td rowspan="$count">${rule.description}</td>""")
println(s"""<td rowspan="$rowSpan">${rule.tag.runtimeClass.getSimpleName}</td>""")
println(s"""<td rowspan="$rowSpan">${rule.description}</td>""")
println(s"<td>Input</td>")
println(s"<td>${rule.notes().getOrElse("None")}</td>")
if (checks.isDefined) {
Expand All @@ -1587,8 +1587,6 @@ object SupportedOpsDocs {
val exprChecks = checks.get.asInstanceOf[ExecChecks]
exprChecks.extendedChecks.keys.toSeq.sorted.foreach { ctx =>
println("<tr>")
println(s"<td></td>")
println(s"<td></td>")
println(s"<td>$ctx</td>")
println(s"<td>${rule.notes().getOrElse("None")}</td>")
TypeEnum.values.foreach { t =>
Expand Down

0 comments on commit 92bd4b6

Please sign in to comment.