diff --git a/admin/pages/DocsBrowser.svelte b/admin/pages/DocsBrowser.svelte index 02fc296..87c1802 100644 --- a/admin/pages/DocsBrowser.svelte +++ b/admin/pages/DocsBrowser.svelte @@ -54,8 +54,6 @@ await load_index(); }); - $: console.log("params", params); - $: if(params.wild && params.wild !== url) { load_docs(params.wild); } @@ -159,13 +157,14 @@ toc { display: grid; grid-template-columns: repeat(5, 1fr); + background-color: var(--value3); + color: var(--value9); } toc span { border: 1px solid black; padding: 0.5rem; text-align: center; - background-color: var(--value3); } .no-doc { @@ -185,15 +184,8 @@ - {#if docs_data} - -

{ url }

- {#if docs_data.comment} - {@html docs_data.comment} - {/if} - - + {#each docs_data.exports as exp} jump(exp.slug) }>{ exp.name } {#each exp.caps as cap_word}{/each} @@ -209,6 +201,12 @@ {/each} + +

{ url }

+ {#if docs_data.comment} + {@html docs_data.comment} + {/if} +
{#each docs_data.exports as exp}