diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-02-01 02:28:10 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-02-01 02:28:10 +0900 |
| commit | cd16ed5d6b46d91ae9ac7b2237d6405ad6715a4a (patch) | |
| tree | 0e00d7caf3031fa86decaa0cbc226cc1e521b914 /services/nuldoc/nuldoc-src/generators/not_found.ts | |
| parent | d08e3edb65b215152aa26e3518fb2f2cd7071c4b (diff) | |
| parent | 1964f77d03eb647dcf46d63dde68d7ae7301604f (diff) | |
| download | nsfisis.dev-cd16ed5d6b46d91ae9ac7b2237d6405ad6715a4a.tar.gz nsfisis.dev-cd16ed5d6b46d91ae9ac7b2237d6405ad6715a4a.tar.zst nsfisis.dev-cd16ed5d6b46d91ae9ac7b2237d6405ad6715a4a.zip | |
Merge branch 'feat/ruby-rewrite'
Diffstat (limited to 'services/nuldoc/nuldoc-src/generators/not_found.ts')
| -rw-r--r-- | services/nuldoc/nuldoc-src/generators/not_found.ts | 20 |
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", - }; -} |
