From 293c352518ccfba828c913848471d00565d6d2f0 Mon Sep 17 00:00:00 2001 From: sky22333 Date: Mon, 13 Jul 2026 07:04:02 +0800 Subject: [PATCH] update docs --- README.md | 6 ++++-- docs/README.md | 3 --- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index c297654..03e4279 100644 --- a/README.md +++ b/README.md @@ -58,13 +58,15 @@ curl -fsSL https://raw.githubusercontent.com/sky22333/hubproxy/main/install.sh | ### 快速上手 +将 `yourdomain.com` 换成你的 `HubProxy` 地址 ```bash -# Docker 镜像加速(将 yourdomain.com 换成你的 HubProxy 地址) +# Docker 镜像加速 docker pull yourdomain.com/nginx -# GitHub Release 加速(完整 URL 前缀) +# GitHub Release 加速 wget "https://yourdomain.com/https://github.com/owner/repo/releases/download/v1.0.0/app.tar.gz" +# Git clone 加速 git clone https://yourdomain.com/https://github.com/sky22333/hubproxy.git ``` diff --git a/docs/README.md b/docs/README.md index 428ffa0..c94e87c 100644 --- a/docs/README.md +++ b/docs/README.md @@ -10,8 +10,6 @@ npm install npm run dev ``` -访问 http://localhost:4321/(与线上 `https://docs.52013120.xyz/` 路径一致)。 - ## 构建 ```bash @@ -36,4 +34,3 @@ astro.config.mjs # Starlight 配置(site: docs.52013120.xyz) 2. 侧边栏结构见 `astro.config.mjs` 3. 向主仓库提交 PR -部署由 `.github/workflows/docs.yml` 自动发布至 GitHub Pages;线上域名为 `docs.52013120.xyz`(在 hubproxy 仓库 **Settings → Pages → Custom domain** 配置,DNS 添加 `CNAME docs → sky22333.github.io`)。