{{ pkgName }}
diff --git a/website/src/.vitepress/theme/components/Extensions/ExtensionList.vue b/website/src/.vitepress/theme/components/Extensions/ExtensionList.vue
index 5e6fe0d1..4042efb9 100644
--- a/website/src/.vitepress/theme/components/Extensions/ExtensionList.vue
+++ b/website/src/.vitepress/theme/components/Extensions/ExtensionList.vue
@@ -1,14 +1,14 @@
diff --git a/website/src/.vitepress/theme/components/Extensions/ExtensionsWrapper.vue b/website/src/.vitepress/theme/components/Extensions/ExtensionsWrapper.vue
index c1225922..de7c621b 100644
--- a/website/src/.vitepress/theme/components/Extensions/ExtensionsWrapper.vue
+++ b/website/src/.vitepress/theme/components/Extensions/ExtensionsWrapper.vue
@@ -1,117 +1,117 @@
diff --git a/website/src/.vitepress/theme/components/News.vue b/website/src/.vitepress/theme/components/News.vue
index d682702d..7b70d93d 100644
--- a/website/src/.vitepress/theme/components/News.vue
+++ b/website/src/.vitepress/theme/components/News.vue
@@ -1,8 +1,8 @@
diff --git a/website/src/.vitepress/theme/components/OgImageTemplate.vue b/website/src/.vitepress/theme/components/OgImageTemplate.vue
index c7c692ea..d9f38f98 100644
--- a/website/src/.vitepress/theme/components/OgImageTemplate.vue
+++ b/website/src/.vitepress/theme/components/OgImageTemplate.vue
@@ -1,27 +1,35 @@
-
+ >
-
-
Tachiyomi
+
+
+ Tachiyomi
+
-
{{ dir }}
-
-
+
+ {{ dir }}
+
+
+
-
{{ title }}
-
{{ description }}
+
+ {{ title }}
+
+
+ {{ description }}
+
diff --git a/website/src/.vitepress/theme/components/ReleaseDate.vue b/website/src/.vitepress/theme/components/ReleaseDate.vue
index b1c9ab91..34185fde 100644
--- a/website/src/.vitepress/theme/components/ReleaseDate.vue
+++ b/website/src/.vitepress/theme/components/ReleaseDate.vue
@@ -1,15 +1,15 @@
diff --git a/website/src/.vitepress/theme/data/changelogs.data.ts b/website/src/.vitepress/theme/data/changelogs.data.ts
index e389fc49..1fba646a 100644
--- a/website/src/.vitepress/theme/data/changelogs.data.ts
+++ b/website/src/.vitepress/theme/data/changelogs.data.ts
@@ -1,13 +1,13 @@
-import { defineLoader } from "vitepress";
-import { Octokit } from "@octokit/rest";
-import type { GetResponseDataTypeFromEndpointMethod } from "@octokit/types";
+import { defineLoader } from "vitepress"
+import { Octokit } from "@octokit/rest"
+import type { GetResponseDataTypeFromEndpointMethod } from "@octokit/types"
-const octokit = new Octokit();
+const octokit = new Octokit()
-type GitHubReleaseList = GetResponseDataTypeFromEndpointMethod
;
+type GitHubReleaseList = GetResponseDataTypeFromEndpointMethod
-declare const data: GitHubReleaseList;
-export { data };
+declare const data: GitHubReleaseList
+export { data }
export default defineLoader({
async load(): Promise {
@@ -15,8 +15,8 @@ export default defineLoader({
owner: "tachiyomiorg",
repo: "tachiyomi",
per_page: 100,
- });
+ })
- return releases;
+ return releases
},
-});
+})
diff --git a/website/src/.vitepress/theme/data/news.data.ts b/website/src/.vitepress/theme/data/news.data.ts
index 6eb2d125..70b14227 100644
--- a/website/src/.vitepress/theme/data/news.data.ts
+++ b/website/src/.vitepress/theme/data/news.data.ts
@@ -1,14 +1,14 @@
-import { defineLoader, createContentLoader } from "vitepress";
+import { createContentLoader } from "vitepress"
export interface News {
- title: string;
- description: string;
- date: string;
- url: string;
+ title: string
+ description: string
+ date: string
+ url: string
}
-declare const data: News[];
-export { data };
+declare const data: News[]
+export { data }
export default createContentLoader("news/*.md", {
excerpt: true,
@@ -22,8 +22,8 @@ export default createContentLoader("news/*.md", {
description: frontmatter.description,
date: frontmatter.date,
url,
- }
+ },
)
- .sort((a, b) => b.date.localeCompare(a.date));
- }
-});
+ .sort((a, b) => b.date.localeCompare(a.date))
+ },
+})
diff --git a/website/src/.vitepress/theme/data/release.data.ts b/website/src/.vitepress/theme/data/release.data.ts
index 1011d12c..a498f765 100644
--- a/website/src/.vitepress/theme/data/release.data.ts
+++ b/website/src/.vitepress/theme/data/release.data.ts
@@ -1,31 +1,31 @@
-import { defineLoader } from "vitepress";
-import { Octokit } from "@octokit/rest";
-import type { GetResponseDataTypeFromEndpointMethod } from "@octokit/types";
+import { defineLoader } from "vitepress"
+import { Octokit } from "@octokit/rest"
+import type { GetResponseDataTypeFromEndpointMethod } from "@octokit/types"
-const octokit = new Octokit();
+const octokit = new Octokit()
-type GitHubRelease = GetResponseDataTypeFromEndpointMethod;
+type GitHubRelease = GetResponseDataTypeFromEndpointMethod
export interface AppRelease {
- stable: GitHubRelease;
- preview: GitHubRelease;
+ stable: GitHubRelease
+ preview: GitHubRelease
}
-declare const data: AppRelease;
-export { data };
+declare const data: AppRelease
+export { data }
export default defineLoader({
async load(): Promise {
const { data: stable } = await octokit.repos.getLatestRelease({
owner: "tachiyomiorg",
repo: "tachiyomi",
- });
+ })
const { data: preview } = await octokit.repos.getLatestRelease({
owner: "tachiyomiorg",
repo: "tachiyomi-preview",
- });
+ })
- return { stable, preview };
+ return { stable, preview }
},
-});
+})
diff --git a/website/src/.vitepress/theme/index.ts b/website/src/.vitepress/theme/index.ts
index a5bf7cb0..37d0b8d4 100644
--- a/website/src/.vitepress/theme/index.ts
+++ b/website/src/.vitepress/theme/index.ts
@@ -1,26 +1,26 @@
// https://vitepress.dev/guide/custom-theme
-import DefaultTheme from "vitepress/theme";
+import DefaultTheme from "vitepress/theme"
// Import Stylus files
-import "./styles/base.styl";
+import "./styles/base.styl"
// Import Global plugins
-import "element-plus/theme-chalk/dark/css-vars.css";
+import "element-plus/theme-chalk/dark/css-vars.css"
-import { VueQueryPlugin } from "@tanstack/vue-query";
+import { VueQueryPlugin } from "@tanstack/vue-query"
-import { enhanceAppWithTabs } from "vitepress-plugin-tabs/client";
+import { enhanceAppWithTabs } from "vitepress-plugin-tabs/client"
// Import Icon components
-import { IconDownload, IconNewspaperVariant, IconBugReport } from "@iconify-prerendered/vue-mdi";
+import { IconBugReport, IconDownload, IconNewspaperVariant } from "@iconify-prerendered/vue-mdi"
export default {
extends: DefaultTheme,
enhanceApp({ app }) {
- app.use(VueQueryPlugin);
- enhanceAppWithTabs(app);
- app.component("IconDownload", IconDownload);
- app.component("IconNewspaperVariant", IconNewspaperVariant);
- app.component("IconBugReport", IconBugReport);
+ app.use(VueQueryPlugin)
+ enhanceAppWithTabs(app)
+ app.component("IconDownload", IconDownload)
+ app.component("IconNewspaperVariant", IconNewspaperVariant)
+ app.component("IconBugReport", IconBugReport)
},
-};
+}
diff --git a/website/src/.vitepress/theme/queries/useExtensionsRepositoryQuery.ts b/website/src/.vitepress/theme/queries/useExtensionsRepositoryQuery.ts
index 7f08502e..12355c39 100644
--- a/website/src/.vitepress/theme/queries/useExtensionsRepositoryQuery.ts
+++ b/website/src/.vitepress/theme/queries/useExtensionsRepositoryQuery.ts
@@ -1,29 +1,30 @@
-import { UseQueryOptions, useQuery } from "@tanstack/vue-query";
-import axios from "axios";
-import { GITHUB_EXTENSION_JSON } from "../../config/constants";
+import type { UseQueryOptions } from "@tanstack/vue-query"
+import { useQuery } from "@tanstack/vue-query"
+import axios from "axios"
+import { GITHUB_EXTENSION_JSON } from "../../config/constants"
-export type ReleaseType = "stable" | "preview";
+export type ReleaseType = "stable" | "preview"
export interface Extension {
- name: string;
- pkg: string;
- apk: string;
- lang: string;
- code: number;
- version: string;
- nsfw: number;
- hasReadme: number;
- hasChangelog: number;
- sources: Source[];
+ name: string
+ pkg: string
+ apk: string
+ lang: string
+ code: number
+ version: string
+ nsfw: number
+ hasReadme: number
+ hasChangelog: number
+ sources: Source[]
}
export interface Source {
- name: string;
- lang: string;
- id: string;
- baseUrl: string;
- versionId: number;
- hasCloudflare: string;
+ name: string
+ lang: string
+ id: string
+ baseUrl: string
+ versionId: number
+ hasCloudflare: string
}
type UseExtensionsRepositoryQueryOptions =
@@ -33,12 +34,12 @@ export default function useExtensionsRepositoryQuery(options: U
return useQuery({
queryKey: ["extensions"],
queryFn: async () => {
- const { data } = await axios.get(GITHUB_EXTENSION_JSON);
+ const { data } = await axios.get(GITHUB_EXTENSION_JSON)
- return data;
+ return data
},
initialData: () => [],
refetchOnWindowFocus: false,
...options,
- });
+ })
}