docs: 全局修改描述,在文档中加入版本信息并在发版时自动替换 (#128)

* 暂存

* chore: 修改一些杂项
This commit is contained in:
ᴀᴍᴛᴏᴀᴇʀ
2024-07-05 22:31:26 +08:00
committed by GitHub
parent fa2bc7b5e8
commit 352282f277
5 changed files with 18 additions and 16 deletions

View File

@@ -4,7 +4,7 @@ import taskLists from "markdown-it-task-lists";
// https://vitepress.dev/reference/site-config
export default defineConfig({
title: "bili-sync",
description: "基于 rust tokio 的哔哩哔哩同步工具",
description: "由 Rust & Tokio 驱动的哔哩哔哩同步工具",
lang: "zh-Hans",
sitemap: {
hostname: "https://bili-sync.github.io",
@@ -21,14 +21,14 @@ export default defineConfig({
nav: [
{ text: "主页", link: "/" },
{
text: "更新日志",
text: "v2.0.7",
items: [
{
text: "程序本体",
text: "程序更新",
link: "https://github.com/amtoaer/bili-sync/releases",
},
{
text: "文档页面",
text: "文档更新",
link: "https://github.com/search?q=repo:amtoaer/bili-sync+docs&type=commits",
},
],

View File

@@ -3,9 +3,9 @@
程序支持有限的命令行参数,可以通过执行 `bili-sync-rs --help` 查看说明。
```shell
bili-sync/target/debug docs_vitepress* ⇡
bili-sync/target/debug main* ⇡
./bili-sync-rs --help
基于 rust tokio 编写的 bilibili 收藏夹同步下载工具
由 Rust & Tokio 驱动的哔哩哔哩同步工具
Usage: bili-sync-rs [OPTIONS]

View File

@@ -1,5 +1,8 @@
# bili-sync 是什么?
> [!TIP]
> 当前最新程序版本为 v2.0.7,文档将始终与最新程序版本保持一致。
bili-sync 是一款专为 NAS 用户编写的哔哩哔哩同步工具。
它的基本的工作原理是使用用户填写的凭据定期扫描视频合集、收藏夹等,获取到本地未下载过的内容并保存到本地,维持本地视频库与哔哩哔哩网站的同步。