2 import docs from 'stores/docs';
3 import Doc from './Doc.svelte';
9 function navigate({ detail: path }) {
15 <div class="absolute w-full h-full bg-navy opacity-50 cursor-pointer z-50" on:click/>
16 <div class="absolute w-full h-full z-50 overflow-y-auto" on:click={close}>
17 <div class="mx-4 2xs:mx-8 md:max-w-xl md:mx-auto">
18 <div class="py-4 2xs:py-8">
19 <div on:click|stopPropagation>
20 <Doc path={$docs.path} on:close={close} on:navigate={navigate} />
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list