Skip to content

Commit d553d16

Browse files
committed
refactor: apply Biome auto fixes
1 parent 008f8ec commit d553d16

File tree

8 files changed

+25
-25
lines changed

8 files changed

+25
-25
lines changed
Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
// Tabler Icons
22
// https://tabler.io/icons
3-
export { HomeIcon } from "./HomeIcon";
3+
4+
export { AlertTriangleIcon } from "./AlertTriangleIcon";
45
export { CaretRightCircleIcon } from "./CaretRightCircleIcon";
5-
export { InfoCircleIcon } from "./InfoCircleIcon";
6-
export { HelpCircleIcon } from "./HelpCircleIcon";
76
export { ChevronLeftIcon } from "./ChevronLeftIcon";
87
export { ChevronRightIcon } from "./ChevronRightIcon";
9-
export { AlertTriangleIcon } from "./AlertTriangleIcon";
10-
export { MenuIcon } from "./MenuIcon";
118
export { CloseIcon } from "./CloseIcon";
12-
export { SearchIcon } from "./SearchIcon";
13-
export { LanguageIcon } from "./LanguageIcon";
14-
export { WorldIcon } from "./WorldIcon";
15-
9+
export { DiscordIcon } from "./DiscordIcon";
1610
// Simple Icons
1711
// https://simpleicons.org/
1812
export { GitHubIcon } from "./GitHubIcon";
19-
export { DiscordIcon } from "./DiscordIcon";
13+
export { HelpCircleIcon } from "./HelpCircleIcon";
14+
export { HomeIcon } from "./HomeIcon";
15+
export { InfoCircleIcon } from "./InfoCircleIcon";
16+
export { LanguageIcon } from "./LanguageIcon";
17+
export { MenuIcon } from "./MenuIcon";
18+
export { SearchIcon } from "./SearchIcon";
19+
export { WorldIcon } from "./WorldIcon";
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
export { BaseTemplate } from "./BaseTemplate";
2-
export { HtmlTemplate } from "./HtmlTemplate";
32
export { CategoryTemplate } from "./CategoryTemplate";
43
export { FuncTemplate } from "./FuncTemplate";
54
export { GroupTemplate } from "./GroupTemplate";
6-
export { TypeTemplate } from "./TypeTemplate";
5+
export { HtmlTemplate } from "./HtmlTemplate";
76
export { SymbolsTemplate } from "./SymbolsTemplate";
7+
export { TypeTemplate } from "./TypeTemplate";

website/src/components/ui/FunctionDefinition.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import type { FC } from "hono/jsx";
22
import { basePath } from "../../metadata";
33
import type { Func } from "../../types/model";
44
import { joinPath } from "../../utils/path";
5-
import { TypeIcon } from "./TypeIcon";
65
import { genPath } from "./genPath";
6+
import { TypeIcon } from "./TypeIcon";
77
import { buildParamId, type2href } from "./type2href";
88

99
type FunctionDefinitionProps = {
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
export { SiteNoticeBanner } from "./SiteNoticeBanner";
2-
export { Header } from "./Header";
3-
export { SiteTitle } from "./SiteTitle";
4-
export { SideNavigation, type SideNavigationProps } from "./SideNavigation";
51
export { Breadcrumbs, type BreadcrumbsProps } from "./Breadcrumbs";
6-
export { TableOfContents, type TableOfContentsProps } from "./TableOfContents";
72
export { Footer } from "./Footer";
3+
export { Header } from "./Header";
84
export { SearchWindow } from "./SearchWindow";
5+
export { SideNavigation, type SideNavigationProps } from "./SideNavigation";
6+
export { SiteNoticeBanner } from "./SiteNoticeBanner";
7+
export { SiteTitle } from "./SiteTitle";
8+
export { TableOfContents, type TableOfContentsProps } from "./TableOfContents";
99
export { TranslationStatusAlert } from "./TranslationStatusAlert";

website/src/globals.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,9 @@ code,
4646
pre,
4747
kbd,
4848
samp {
49-
font-family: "Cascadia Mono", SFMono-Regular, Menlo, Monaco, Consolas,
50-
"Liberation Mono", "Courier New", monospace;
49+
font-family:
50+
"Cascadia Mono", SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
51+
"Courier New", monospace;
5152
}
5253

5354
/* Information box */

website/src/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import { serveStatic } from "@hono/node-server/serve-static";
22
import { Hono } from "hono";
33
import { appendTrailingSlash, trimTrailingSlash } from "hono/trailing-slash";
4+
// Documentation generated by typst-docs.
5+
import docsJson from "../../docs.json";
46
import {
57
CategoryTemplate,
68
FuncTemplate,
@@ -16,8 +18,6 @@ import { isPageOfKind } from "./utils/isPageOfKind";
1618
import { removeBasePath } from "./utils/path";
1719
import { registerRoutes } from "./utils/translationStatus";
1820

19-
// Documentation generated by typst-docs.
20-
import docsJson from "../../docs.json";
2121
const docs = docsJson as unknown as Page[];
2222

2323
const [flattenedPages, pagePaths] = flattenDocs(docs);

website/src/translation/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,4 +83,4 @@ export type TranslationComponent = FC<TranslationComponentProps>;
8383
/**
8484
* Switch translation language here.
8585
*/
86-
export { translation, Translation } from "./ja-JP";
86+
export { Translation, translation } from "./ja-JP";

website/vite.config.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@ import { rmSync, symlinkSync } from "node:fs";
22
import { resolve } from "node:path";
33
import { robotsTxtPlugin } from "@hono/ssg-plugins-essential/robots-txt";
44
import { sitemapPlugin } from "@hono/ssg-plugins-essential/sitemap";
5-
import { defaultOptions } from "@hono/vite-dev-server";
6-
import devServer from "@hono/vite-dev-server";
5+
import devServer, { defaultOptions } from "@hono/vite-dev-server";
76
import ssg from "@hono/vite-ssg";
87
import tailwindcss from "@tailwindcss/vite";
98
import { defineConfig } from "vite";

0 commit comments

Comments
 (0)