Mark anything with no comments in the UI so it's easy to find them and work on them.

main
Zed A. Shaw 2 years ago
parent 2e2c7c35fb
commit 53eca88150
  1. 8
      admin/pages/DocsBrowser.svelte

@ -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}

Loading…
Cancel
Save