Skip to content

Commit 64c9ca6

Browse files
authored
feat: Add inner section (#1212)
* Add Inner Member section * Update tests
1 parent 8ff9331 commit 64c9ca6

File tree

2 files changed

+41
-0
lines changed

2 files changed

+41
-0
lines changed

__tests__/__snapshots__/test.js.snap

+36
Original file line numberDiff line numberDiff line change
@@ -1732,6 +1732,8 @@ This is a [link to something that does not exist]<a href=\\"DoesNot\\">DoesNot</
17321732

17331733

17341734

1735+
1736+
17351737
</section>
17361738

17371739
</div>
@@ -1799,6 +1801,8 @@ the referenced class type</p>
17991801

18001802

18011803

1804+
1805+
18021806
</section>
18031807

18041808
</div>
@@ -1875,6 +1879,8 @@ the referenced class type</p>
18751879

18761880

18771881

1882+
1883+
18781884
</section>
18791885

18801886
</div>
@@ -1949,6 +1955,8 @@ k.isArrayOfBuffers();</pre>
19491955

19501956

19511957

1958+
1959+
19521960
</section>
19531961

19541962
</div>
@@ -1991,6 +1999,8 @@ k.isArrayOfBuffers();</pre>
19911999

19922000

19932001

2002+
2003+
19942004

19952005

19962006

@@ -2062,6 +2072,8 @@ k.isArrayOfBuffers();</pre>
20622072

20632073

20642074

2075+
2076+
20652077
</section>
20662078

20672079
</div>
@@ -2160,6 +2172,8 @@ k.isArrayOfBuffers();</pre>
21602172

21612173

21622174

2175+
2176+
21632177
</section>
21642178

21652179
</div>
@@ -2260,6 +2274,8 @@ k.isArrayOfBuffers();</pre>
22602274

22612275

22622276

2277+
2278+
22632279
</section>
22642280

22652281
</div>
@@ -2270,6 +2286,8 @@ k.isArrayOfBuffers();</pre>
22702286

22712287

22722288

2289+
2290+
22732291
<div class='py1 quiet mt1 prose-big'>Events</div>
22742292
<div class=\\"clearfix\\">
22752293

@@ -2310,6 +2328,8 @@ k.isArrayOfBuffers();</pre>
23102328

23112329

23122330

2331+
2332+
23132333

23142334

23152335

@@ -2393,6 +2413,8 @@ k.isArrayOfBuffers();</pre>
23932413

23942414

23952415

2416+
2417+
23962418
</section>
23972419

23982420

@@ -2449,6 +2471,8 @@ like a <a href=\\"#klass\\">klass</a></p>
24492471

24502472

24512473

2474+
2475+
24522476
</section>
24532477

24542478

@@ -2516,6 +2540,8 @@ like a <a href=\\"#klass\\">klass</a></p>
25162540

25172541

25182542

2543+
2544+
25192545
</section>
25202546

25212547

@@ -2572,6 +2598,8 @@ like a <a href=\\"#klass\\">klass</a>. This needs a <a href=\\"https://developer
25722598

25732599

25742600

2601+
2602+
25752603
</section>
25762604

25772605

@@ -2656,6 +2684,8 @@ like a <a href=\\"#klass\\">klass</a>. This needs a <a href=\\"https://developer
26562684

26572685

26582686

2687+
2688+
26592689

26602690

26612691

@@ -2669,6 +2699,8 @@ like a <a href=\\"#klass\\">klass</a>. This needs a <a href=\\"https://developer
26692699

26702700

26712701

2702+
2703+
26722704
</section>
26732705

26742706

@@ -2751,6 +2783,8 @@ like a <a href=\\"#klass\\">klass</a>. This needs a <a href=\\"https://developer
27512783

27522784

27532785

2786+
2787+
27542788

27552789

27562790

@@ -2766,6 +2800,8 @@ like a <a href=\\"#klass\\">klass</a>. This needs a <a href=\\"https://developer
27662800

27672801

27682802

2803+
2804+
27692805
</section>
27702806

27712807

src/default_theme/section._

+5
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,11 @@
141141
<%= renderSectionList({ members: section.members.instance, renderSection: renderSection, renderParamProperty: renderParamProperty, noun: 'Instance Member' }) %>
142142
<% } %>
143143

144+
<% if (section.members.inner && section.members.inner.length) { %>
145+
<div class='py1 quiet mt1 prose-big'>Inner Members</div>
146+
<%= renderSectionList({ members: section.members.inner, renderSection: renderSection, renderParamProperty: renderParamProperty, noun: 'Inner Member' }) %>
147+
<% } %>
148+
144149
<% if (section.members.events && section.members.events.length) { %>
145150
<div class='py1 quiet mt1 prose-big'>Events</div>
146151
<%= renderSectionList({ members: section.members.events, renderSection: renderSection, renderParamProperty: renderParamProperty, noun: 'Event' }) %>

0 commit comments

Comments
 (0)