Skip to content

Commit d6a0705

Browse files
committed
Changed color of private methods in bootstrap sidebar.
1 parent 9c3d083 commit d6a0705

File tree

1 file changed

+6
-1
lines changed
  • packages/doxdox-renderer-bootstrap/src

1 file changed

+6
-1
lines changed

packages/doxdox-renderer-bootstrap/src/index.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,12 @@ ${method.returns.map(
6868
const renderFileNav = (file: File) => `<p><b>${file.path}</b></p>
6969
<ul class="list-unstyled ml-0">
7070
${file.methods
71-
.map(method => `<li><a href="#${method.slug}">${method.name}</a></li>`)
71+
.map(
72+
method =>
73+
`<li><a href="#${method.slug}" class="${
74+
method.private ? 'text-muted' : ''
75+
}">${method.name}</a></li>`
76+
)
7277
.join('')}
7378
</ul>`;
7479

0 commit comments

Comments
 (0)