docs: update README and add .gitattributes

This commit is contained in:
radishzzz 2025-02-22 18:30:35 +00:00
parent 853d5f5598
commit 268eb42654
3 changed files with 7 additions and 7 deletions

1
.gitattributes vendored Normal file
View file

@ -0,0 +1 @@
*.mdx linguist-detectable=false

View file

@ -85,6 +85,7 @@
"rehype", "rehype",
"Retypeset", "Retypeset",
"Roundhand", "Roundhand",
"srcset",
"STIX", "STIX",
"titlebar", "titlebar",
"Umami", "Umami",

View file

@ -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 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) [![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new)
@ -44,13 +44,11 @@
参考 [Astro 部署指南](https://docs.astro.build/zh-cn/guides/deploy/) 可选择其它平台进行部署。 参考 [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)。 1. 参考 [GitHub 文档](https://docs.github.com/zh/pull-requests/collaborating-with-pull-requests/working-with-forks/syncing-a-fork) 在克隆仓库中执行 `Sync fork` 同步最新分支。
2. 在克隆仓库中执行 `Sync fork` 同步最新分支。
3. 不要点击 `Discard Changes` 放弃你的更改。 2. 不要点击 `Discard Changes` 放弃你的更改。
## 📄 文档 ## 📄 文档