From 7dc4d406f6db3ae8804cf9b971721985d3c1743d Mon Sep 17 00:00:00 2001 From: KnorpelSenf Date: Thu, 16 Jan 2025 22:56:09 +0100 Subject: [PATCH] chore: grant global read permissions --- site/api/.gitignore | 1 - site/api/api_gen.tsx | 2 +- site/api/deno.jsonc | 6 +----- site/deno.jsonc | 1 - 4 files changed, 2 insertions(+), 8 deletions(-) delete mode 100644 site/api/.gitignore diff --git a/site/api/.gitignore b/site/api/.gitignore deleted file mode 100644 index 16d3c4dbbf..0000000000 --- a/site/api/.gitignore +++ /dev/null @@ -1 +0,0 @@ -.cache diff --git a/site/api/api_gen.tsx b/site/api/api_gen.tsx index 3c67093a7d..802119a934 100644 --- a/site/api/api_gen.tsx +++ b/site/api/api_gen.tsx @@ -49,7 +49,7 @@ const paths: [string, string, string, string, string, string][] = modules.map( Deno.stdout.writeSync( enc.encode(`Generating docs for ${paths.length} modules`), ); -const cache = createCache({ root: ".cache" }); +const cache = createCache(); const dot = enc.encode("."); const docs = await doc(paths.map(([id]) => id), { load: cache.load }); const refs: Array = paths.map( diff --git a/site/api/deno.jsonc b/site/api/deno.jsonc index 0c6b1024d6..df64b8cab7 100644 --- a/site/api/deno.jsonc +++ b/site/api/deno.jsonc @@ -1,8 +1,7 @@ { "lock": false, "tasks": { - "genapi": "deno -ENRW=.cache,../docs/ref api_gen.tsx ../docs/ref", - "reset": "rm -rf .cache" + "genapi": "deno -ENRW api_gen.tsx ../docs/ref" }, "imports": { "@deno/cache-dir": "jsr:@deno/cache-dir@^0.16.0", @@ -13,9 +12,6 @@ "preact-render-to-string": "npm:preact-render-to-string@^6.5.13", "marked-smartypants": "npm:marked-smartypants@^1.1.9" }, - "exclude": [ - ".cache" - ], "compilerOptions": { "jsx": "react-jsx", "jsxImportSource": "preact" diff --git a/site/deno.jsonc b/site/deno.jsonc index e309016ed8..5a43d6e7c7 100644 --- a/site/deno.jsonc +++ b/site/deno.jsonc @@ -29,7 +29,6 @@ }, "exclude": [ "node_modules", - "api/.cache", "docs/.vitepress/cache", "docs/.vitepress/.temp", "docs/.vitepress/dist",