lint
This commit is contained in:
parent
21111549b6
commit
56ed63b25f
@ -40,8 +40,7 @@ export default function DocSearch(props: {
|
||||
onSearch={(s) => {
|
||||
setDocs(index.search(s));
|
||||
}}
|
||||
>
|
||||
</SearchBar>
|
||||
/>
|
||||
<h1 class="text-2xl font-bold">Doc</h1>
|
||||
<ul class="mt-4">
|
||||
{docs.map((doc) => {
|
||||
|
@ -1,5 +1,4 @@
|
||||
import { Command } from "https://deno.land/x/cliffy@v0.25.6/mod.ts";
|
||||
import { fromFileUrl, join } from "path/mod.ts";
|
||||
import { prepareSecretKey } from "./util/secret.ts";
|
||||
|
||||
export const key_out_cmd = new Command();
|
||||
|
@ -1,7 +1,5 @@
|
||||
import {
|
||||
HandlerContext,
|
||||
MiddlewareHandlerContext,
|
||||
Status,
|
||||
} from "$fresh/server.ts";
|
||||
import { getCookies } from "http/cookie.ts";
|
||||
import { verify } from "djwt";
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { Command } from "https://deno.land/x/cliffy@v0.25.6/mod.ts";
|
||||
import { Index } from "./src/client_search.ts";
|
||||
import { Doc, DocCollector, loadDocuments } from "./src/collect.ts";
|
||||
import { DocCollector, loadDocuments } from "./src/collect.ts";
|
||||
|
||||
export async function collectDocuments(path: string, out: string) {
|
||||
const collector = new DocCollector({ summaryOnly: true, dropContent: true });
|
||||
|
@ -1,6 +1,5 @@
|
||||
import {
|
||||
parse as parseYaml,
|
||||
stringify,
|
||||
} from "https://deno.land/std@0.170.0/encoding/yaml.ts";
|
||||
|
||||
function trimSubstring(str: string, start: number, end: number) {
|
||||
|
Loading…
Reference in New Issue
Block a user