|
|
|
@ -161,6 +161,10 @@ |
|
|
|
|
text-align: center; |
|
|
|
|
background-color: var(--value3); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.no-doc { |
|
|
|
|
background-color: var(--color-error); |
|
|
|
|
} |
|
|
|
|
</style> |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -185,13 +189,13 @@ |
|
|
|
|
|
|
|
|
|
<toc> |
|
|
|
|
{#each docs_data.exports as exp} |
|
|
|
|
<span on:click={ () => jump(exp.slug) }>{ exp.name } |
|
|
|
|
<span class:no-doc={ !exp.comment } on:click={ () => jump(exp.slug) }>{ exp.name } |
|
|
|
|
{#each exp.caps as cap_word}<Icon name={ caps_to_icon[cap_word] } size="24" light={ true }/>{/each} |
|
|
|
|
</span> |
|
|
|
|
|
|
|
|
|
{#if exp.isa == "class"} |
|
|
|
|
{#each exp.methods as member} |
|
|
|
|
<span on:click={ () => jump(member.slug) }>.{ member.name } |
|
|
|
|
<span class:no-doc={ !member.comment } on:click={ () => jump(member.slug) }>.{ member.name } |
|
|
|
|
{#each member.caps as cap_word}<Icon name={ caps_to_icon[cap_word] } size="24" light={ true } />{/each} |
|
|
|
|
</span> |
|
|
|
|
{/each} |
|
|
|
|