From 268eb42654d298ef9a3eb42eecc8cc83cf2f4e47 Mon Sep 17 00:00:00 2001 From: radishzzz Date: Sat, 22 Feb 2025 18:30:35 +0000 Subject: [PATCH] docs: update README and add .gitattributes --- .gitattributes | 1 + .vscode/settings.json | 1 + README.md | 12 +++++------- 3 files changed, 7 insertions(+), 7 deletions(-) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..6cc5de0 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.mdx linguist-detectable=false diff --git a/.vscode/settings.json b/.vscode/settings.json index 669cd1a..d4cf432 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -85,6 +85,7 @@ "rehype", "Retypeset", "Roundhand", + "srcset", "STIX", "titlebar", "Umami", diff --git a/README.md b/README.md index 46d9934..8cd50a4 100644 --- a/README.md +++ b/README.md @@ -33,9 +33,9 @@ ## 📦 部署 -1. 点击 [`Fork`](https://github.com/radishzzz/astro-theme-retypeset/fork) 克隆仓库。 +1. 点击 [`Fork`](https://github.com/radishzzz/astro-theme-retypeset/fork) 克隆本仓库。 -2. 点击 `Deploy to Netlify` 或 `Deploy (to Vercel)`。 +2. 点击下方 `Deploy to Netlify` 或 `Deploy (to Vercel)`  [![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start) [![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new) @@ -44,13 +44,11 @@ 参考 [Astro 部署指南](https://docs.astro.build/zh-cn/guides/deploy/) 可选择其它平台进行部署。 -## 更新 +## 🔄 更新 -1. 参考 [GitHub 文档](https://docs.github.com/zh/pull-requests/collaborating-with-pull-requests/working-with-forks/syncing-a-fork)。 - -2. 在克隆仓库中执行 `Sync fork` 同步最新分支。 +1. 参考 [GitHub 文档](https://docs.github.com/zh/pull-requests/collaborating-with-pull-requests/working-with-forks/syncing-a-fork) 在克隆仓库中执行 `Sync fork` 同步最新分支。 -3. 不要点击 `Discard Changes` 放弃你的更改。 +2. 不要点击 `Discard Changes` 放弃你的更改。 ## 📄 文档