Update project configuration and documentation: set version in package.json, enhance spec.md with canvas feature details, add credits URL in zola.toml, and improve footer layout in base.html. Remove unused static files including 404.html, index.html, main.css, robots.txt, site.webmanifest, and sitemap.xml.

This commit is contained in:
Hananoshika Yomaru 2026-05-18 22:33:20 -07:00
parent b3c4332a06
commit 9db231b18e
60 changed files with 986 additions and 895 deletions

82
data/credits.json Normal file
View file

@ -0,0 +1,82 @@
{
"intro": "Open Free Books uses the open source libraries below (in alphabetical order—we try!).",
"contributors_note": "Textbook authors and maintainers are listed on the homepage.",
"project": {
"name": "Open Free Books",
"version": "0.0.1",
"license": "MIT",
"license_url": "https://github.com/hananoshikayomaru/openfreebooks/blob/main/LICENSE",
"copyright": "Copyright (c) 2026 Open Free Books contributors",
"url": "https://openfreebooks.org"
},
"libraries": [
{
"name": "Bun",
"version": "1.3.10",
"license": "MIT",
"license_url": "https://github.com/oven-sh/bun/blob/main/LICENSE.md",
"copyright": "Copyright (c) Oven-sh",
"url": "https://bun.sh"
},
{
"name": "Sass",
"version": "1.89.x",
"license": "MIT",
"license_url": "https://github.com/sass/dart-sass/blob/main/LICENSE",
"copyright": "Copyright (c) Google Inc. and contributors",
"url": "https://sass-lang.com"
},
{
"name": "Solid.js",
"version": "1.9.13",
"license": "MIT",
"license_url": "https://github.com/solidjs/solid/blob/main/LICENSE",
"copyright": "Copyright (c) 2016-2025 Ryan Carniato",
"url": "https://www.solidjs.com"
},
{
"name": "TypeScript",
"version": "5.9.3",
"license": "Apache License 2.0",
"license_url": "https://github.com/microsoft/TypeScript/blob/main/LICENSE.txt",
"copyright": "Copyright (c) Microsoft Corporation",
"url": "https://www.typescriptlang.org"
},
{
"name": "Vite",
"version": "6.4.2",
"license": "MIT",
"license_url": "https://github.com/vitejs/vite/blob/main/LICENSE",
"copyright": "Copyright (c) 2019-present VoidZero Inc. and Vite contributors",
"url": "https://vite.dev"
},
{
"name": "vite-plugin-solid",
"version": "2.11.12",
"license": "MIT",
"license_url": "https://github.com/solidjs/vite-plugin-solid/blob/main/LICENSE",
"copyright": "Copyright (c) 2021-present SolidJS contributors",
"url": "https://github.com/solidjs/vite-plugin-solid"
},
{
"name": "Zola",
"version": "0.22.1",
"license": "MIT",
"license_url": "https://github.com/getzola/zola/blob/master/LICENSE",
"copyright": "Copyright (c) 2017-present Vincent Prouillet and contributors",
"url": "https://www.getzola.org"
}
],
"hosting": [
{
"name": "Cloudflare",
"url": "https://www.cloudflare.com",
"note": "Static site hosting, CDN, and deploy (Workers & Wrangler)"
},
{
"name": "GitHub",
"url": "https://github.com/hananoshikayomaru/openfreebooks",
"note": "Code hosting"
}
]
}

34
data/credits.types.ts Normal file
View file

@ -0,0 +1,34 @@
/** Credits page data (`data/credits.json`). */
export interface CreditProject {
name: string;
version: string;
license: string;
license_url: string;
copyright: string;
url?: string;
}
export interface CreditLibrary {
name: string;
version: string;
license: string;
license_url?: string;
copyright: string;
url: string;
}
export interface CreditHosting {
name: string;
version?: string;
url: string;
note: string;
}
export interface CreditsFile {
intro: string;
contributors_note: string;
project: CreditProject;
libraries: CreditLibrary[];
hosting: CreditHosting[];
}