aboutsummaryrefslogtreecommitdiffhomepage
path: root/services/nuldoc/nuldoc-src/generators/not_found.ts
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-02-01 00:49:15 +0900
committernsfisis <nsfisis@gmail.com>2026-02-01 00:49:19 +0900
commit6dedddc545e2f1930bdc2256784eb1551bd4231d (patch)
tree75fcb5a6043dc0f2c31b098bf3cfd17a2b938599 /services/nuldoc/nuldoc-src/generators/not_found.ts
parentd08e3edb65b215152aa26e3518fb2f2cd7071c4b (diff)
downloadnsfisis.dev-6dedddc545e2f1930bdc2256784eb1551bd4231d.tar.gz
nsfisis.dev-6dedddc545e2f1930bdc2256784eb1551bd4231d.tar.zst
nsfisis.dev-6dedddc545e2f1930bdc2256784eb1551bd4231d.zip
feat(nuldoc): rewrite nuldoc in Ruby
Diffstat (limited to 'services/nuldoc/nuldoc-src/generators/not_found.ts')
-rw-r--r--services/nuldoc/nuldoc-src/generators/not_found.ts20
1 files changed, 0 insertions, 20 deletions
diff --git a/services/nuldoc/nuldoc-src/generators/not_found.ts b/services/nuldoc/nuldoc-src/generators/not_found.ts
deleted file mode 100644
index 8a5593c3..00000000
--- a/services/nuldoc/nuldoc-src/generators/not_found.ts
+++ /dev/null
@@ -1,20 +0,0 @@
-import NotFoundPage from "../pages/NotFoundPage.ts";
-import { Config } from "../config.ts";
-import { Page } from "../page.ts";
-
-export type NotFoundPage = Page;
-
-export async function generateNotFoundPage(
- site: "default" | "about" | "blog" | "slides",
- config: Config,
-): Promise<NotFoundPage> {
- const html = await NotFoundPage(site, config);
-
- return {
- root: html,
- renderer: "html",
- site,
- destFilePath: "/404.html",
- href: "/404.html",
- };
-}