فهرست منبع

删除文档中的多余文件和资源

移除了包括404页面、CNAME文件以及一些不再需要的图片和JavaScript文件,以清理项目结构。这些更改有助于减少冗余并保持项目的整洁。

Signed-off-by: 宋子桓🌈 <songzihuan@song-zh.com>
SongZihuan 3 ماه پیش
والد
کامیت
6bbee323ca

+ 0 - 59
docs/404.html

@@ -1,59 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
-  <!--
-  此文具用于Github Page显示 404 页面。
-
-  此HTML文件已被压缩为单一文件,无需额外加载样式表或脚本。
-  所有必要的样式已内联编写,确保页面在无外部资源的情况下正常显示。
-  这样的设计有利于简化部署和提高加载速度,特别适合静态页面展示。
-  -->
-  <meta charset="UTF-8">
-  <meta name="viewport" content="width=device-width, initial-scale=1.0">
-  <title>404 Error - Page Not Found</title>
-  <style>
-    body {
-      font-family: Arial, sans-serif;
-      text-align: center;
-      padding-top: 50px;
-      background-color: #f8f8f8;
-    }
-
-    h1 {
-      font-size: 7em;
-      margin-bottom: 0.5em;
-      color: #cc0000;
-    }
-
-    h2 {
-      font-size: 2em;
-      color: #666;
-    }
-
-    p {
-      font-size: 1.2em;
-      color: #333;
-    }
-
-    a {
-      color: #007bff;
-      text-decoration: none;
-    }
-
-    a:hover {
-      text-decoration: underline;
-    }
-  </style>
-</head>
-<body>
-<h1>404</h1>
-<h2>Oops! The page you're looking for isn't here.</h2>
-<p>We can't seem to find the page you were trying to reach. This might be because of:</p>
-<ul>
-  <li>An outdated link</li>
-  <li>A mistyped address</li>
-  <li>Or the page has been moved</li>
-</ul>
-<p>Try going back to the <a href="/">homepage</a> or contact us if the problem persists.</p>
-</body>
-</html>

+ 0 - 1
docs/CNAME

@@ -1 +0,0 @@
-song-zh.com

+ 0 - 1
docs/assets/_plugin-vue_export-helper-1b428a4d.js

@@ -1 +0,0 @@
-const o=(o,t)=>{const c=o.__vccOpts||o;for(const[s,n]of t)c[s]=n;return c};export{o as _};

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
docs/assets/index-6404ae47.css


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
docs/assets/index-6a36c26c.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
docs/assets/index-6b9c558e.css


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
docs/assets/index-adc2fb6d.js


+ 0 - 1
docs/assets/notfound-e18f3ae4.css

@@ -1 +0,0 @@
-h1[data-v-e4409fbc]{font-size:7em;margin-bottom:.5em;color:#c00}h2[data-v-e4409fbc]{font-size:2em;color:#666}p[data-v-e4409fbc]{font-size:1.2em;color:#333}a[data-v-e4409fbc]{color:#007bff;text-decoration:none}a[data-v-e4409fbc]:hover{text-decoration:underline}

+ 0 - 1
docs/assets/notfound-f0799adc.js

@@ -1 +0,0 @@
-import{_ as e}from"./_plugin-vue_export-helper-1b428a4d.js";import{o as a,z as l,J as o,a7 as t,a8 as s,C as n,a5 as r}from"./vue-bcf60913.js";const u={},i=e=>(t("data-v-e4409fbc"),e=e(),s(),e),p=i((()=>n("h1",null,"404",-1))),h=i((()=>n("h2",null,"Oops! The page you're looking for isn't here.",-1))),c=i((()=>n("p",null,"We can't seem to find the page you were trying to reach. This might be because of:",-1))),d=i((()=>n("ul",null,[n("li",null,"An outdated link"),n("li",null,"A mistyped address"),n("li",null,"Or the page has been moved")],-1))),f=i((()=>n("p",null,[r("Try going back to the "),n("a",{href:"/"},"homepage"),r(" or contact us if the problem persists.")],-1)));const g=e(u,[["render",function(e,t){return a(),l(o,null,[p,h,c,d,f],64)}],["__scopeId","data-v-e4409fbc"]]);export{g as default};

BIN
docs/assets/songzihuan-cc86507d.jpg


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
docs/assets/vue-bcf60913.js


+ 0 - 24
docs/index.html

@@ -1,24 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
-    <meta charset="UTF-8"/>
-    <link rel="icon" type="image/png" href="/logo-icon.png"/>
-    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
-    <title></title>
-    <style>
-        #app {
-            position: relative;
-            margin: auto;
-            height: 100%;
-            overflow: auto;
-        }
-    </style>
-  <script type="module" crossorigin src="/assets/index-adc2fb6d.js"></script>
-  <link rel="modulepreload" crossorigin href="/assets/vue-bcf60913.js">
-  <link rel="stylesheet" href="/assets/index-6404ae47.css">
-</head>
-<body>
-<div id="app"></div>
-
-</body>
-</html>

BIN
docs/logo-icon.png


+ 1 - 1
src/utils/build_time.json

@@ -1 +1 @@
-{"compile_time":1737319877178,"time_zone":"Asia/Shanghai"}
+{"compile_time":1737321806852,"time_zone":"Asia/Shanghai"}

+ 10 - 3
vite.config.ts

@@ -39,9 +39,16 @@ export default ({ mode }: ConfigEnv): UserConfig => {
   }
   if (VITE_HASH === 'false') {
     const names = {
-      entryFileNames: `assets/[name].js`,
-      chunkFileNames: `assets/[name].js`,
-      assetFileNames: `assets/[name].[ext]`
+      entryFileNames: `[name].js`,
+      chunkFileNames: `[name].js`,
+      assetFileNames: `[name].[ext]`
+    }
+    output = { ...output, ...names }
+  } else {
+    const names = {
+      entryFileNames: `[name].[hash].js`,
+      chunkFileNames: `[name].[hash].js`,
+      assetFileNames: `[name].[hash].[ext]`
     }
     output = { ...output, ...names }
   }

برخی فایل ها در این مقایسه diff نمایش داده نمی شوند زیرا تعداد فایل ها بسیار زیاد است