Skip to content

Commit

Permalink
优化
Browse files Browse the repository at this point in the history
  • Loading branch information
Soltus committed Jul 21, 2024
1 parent f6d1907 commit b5aeaea
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 14 deletions.
4 changes: 2 additions & 2 deletions docs/starlight/src/content/docs/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ hero:

import { Card, CardGrid } from '@astrojs/starlight/components';
import SpeedInsights from "@vercel/speed-insights/astro";
import ScriptWorkaround from "/src/components/ScriptWorkaround.astro";
import StatusComponent from "/src/components/StatusComponent.astro";
import ScriptWorkaround from "@components/ScriptWorkaround.astro";
import StatusComponent from "@components/StatusComponent.astro";

<StatusComponent />

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
title: 下载
---

import { Image } from "astro:assets"
import myImage from "@assets/shots/2024-07-21-002329.png"

## Github release

https://github.com/Hi-Windom/Sillot/releases
Expand All @@ -18,7 +21,7 @@ https://www.alipan.com/s/FuVG2PhBYTD 提取码: g4k1

找到 GitHub 仓库的 [Release 页面](https://github.com/Hi-Windom/Sillot/releases),并在 Assets 里找到 AppImage 文件。

<img src="/src/assets/shots/2024-07-21-002329.png" />
<Image src={myImage} alt="找到 AppImage 文件" />

复制 Appimage 的链接,在 WSL 中打开终端,输入 `wget <URL>` 命令下载,然后通过 `chmod +x <FILENAME>` 命令赋予可执行权限,最后通过 `./<FILENAME>` 命令运行。

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ sidebar:
---

import { Badge } from '@astrojs/starlight/components';
import "/src/styles/github_labels.css";
import "@styles/github_labels.css";

汐洛全矩阵仓库标签使用海文东标准+绛亽标准+汐洛标准

Expand Down
21 changes: 11 additions & 10 deletions docs/starlight/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{
"extends": "astro/tsconfigs/strict",
"compilerOptions": {
"baseUrl": ".",
"paths": {
"@components/*": ["src/components/*"],
"@assets/*": ["src/assets/*"]
}
}
}
{
"extends": "astro/tsconfigs/strict",
"compilerOptions": {
"baseUrl": ".",
"paths": {
"@components/*": ["src/components/*"],
"@assets/*": ["src/assets/*"],
"@styles/*": ["src/styles/*"]
}
}
}

0 comments on commit b5aeaea

Please sign in to comment.