fix #15702, show enum fields documentation (#15792)

This commit is contained in:
Miran 2020-10-30 16:30:00 +01:00 • committed by GitHub
commit 28bbcd9d45
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 46 additions and 2 deletions

View file

@ -109,6 +109,11 @@ function main() {
<li><a class="reference" href="#Foo"
title="Foo = enum
enumValueA2">Foo</a></li>
<li><a class="reference" href="#Shapes"
title="Shapes = enum
Circle, ## A circle
Triangle, ## A three-sided shape
Rectangle ## A four-sided shape">Shapes</a></li>
</ul>
</li>
@ -406,6 +411,16 @@ The enum B.
</dd>
<a id="Shapes"></a>
<dt><pre><a href="testproject.html#Shapes"><span class="Identifier">Shapes</span></a> <span class="Other">=</span> <span class="Keyword">enum</span>
<span class="Identifier">Circle</span><span class="Other">,</span> <span class="Comment">## A circle</span>
<span class="Identifier">Triangle</span><span class="Other">,</span> <span class="Comment">## A three-sided shape</span>
<span class="Identifier">Rectangle</span> <span class="Comment">## A four-sided shape</span></pre></dt>
<dd>
Some shapes.
</dd>
</dl></div>