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