From cffae565e4b6d10b6e00aba50afc6d7ff22e9867 Mon Sep 17 00:00:00 2001 From: yanglbme Date: Wed, 11 Jun 2025 15:09:16 +0800 Subject: [PATCH 1/2] docs: update readme guideline --- README.md | 31 ++++++++----------------------- README_EN.md | 11 +---------- images/pr-en.svg | 1 + images/pr.svg | 1 + 4 files changed, 11 insertions(+), 33 deletions(-) create mode 100644 images/pr-en.svg create mode 100644 images/pr.svg diff --git a/README.md b/README.md index 6f7d5c243473d..a8b05a7450092 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ ## 站点 -https://leetcode.doocs.org + ## 算法全解 @@ -190,19 +190,10 @@ https://leetcode.doocs.org 1. 进入 leetcode 目录,切换到一个新的分支; 1. 对项目做出一些变更,然后使用 git add、commit、push 等命令将你的本地变更提交到你的远程 GitHub 仓库; 1. 将你的变更以 PR 的形式提交过来,项目的维护人员会在第一时间对你的变更进行 review! -1. 你也可以参考帮助文档 https://help.github.com/cn 了解更多细节。 +1. 你也可以参考帮助文档 了解更多细节。
- -```mermaid -graph TD; - A[LeetCode 仓库
doocs/leetcode.git] -- 1.Fork(派生) --> B[你的 GitHub 仓库
yourusername/leetcode.git]; - B -- 2.Git 克隆 --> C[本地开发环境]; - C -- 3.创建新分支并修改代码 --> D[本地修改后的代码]; - D -- 4.提交 & 推送到你的仓库 --> B; - B -- 5.提交 Pull Request(合并请求) --> A; -``` - +
[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://github.com/codespaces/new?hide_repo_select=true&ref=main&repo=149001365&machine=basicLinux32gb&location=SoutheastAsia) @@ -228,20 +219,14 @@ graph TD; 本项目著作权归 [GitHub 开源社区 Doocs](https://github.com/doocs) 所有,商业转载请联系 @yanglbme 获得授权,非商业转载请注明出处。 -## 支持我们 - -如果你觉得这个项目对你有帮助,欢迎通过下方的二维码请我们喝一杯 ☕️~ - -
- -
- -## 联系我们 +## 联系我们 & 支持项目 欢迎各位小伙伴们添加 @yanglbme 的个人微信(微信号:YLB0109),备注 「**leetcode**」。后续我们会创建算法、技术相关的交流群,大家一起交流学习,分享经验,共同进步。 -| | -| ------------------------------------------------------------------------------------------------------------------------------ | +如果你觉得这个项目对你有帮助,也欢迎通过微信扫码赞赏我们 ☕️~ + +| | | +| -------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ## 许可证 diff --git a/README_EN.md b/README_EN.md index 7a2365394f12a..7347736dab076 100644 --- a/README_EN.md +++ b/README_EN.md @@ -185,16 +185,7 @@ I'm looking for long-term contributors/partners to this repo! Send me [PRs](http 1. See [CONTRIBUTING](https://github.com/doocs/.github/blob/main/CONTRIBUTING.md) or [GitHub Help](https://help.github.com/en) for more details.
- -```mermaid -graph TD; - A[LeetCode Repo
doocs/leetcode.git] -- 1.Fork --> B[Your GitHub Repo
yourusername/leetcode.git]; - B -- 2.Git Clone --> C[Local Machine]; - C -- 3.Create a New Branch & Make Changes --> D[Modify Code Locally]; - D -- 4.Commit & Push to Your Repo --> B; - B -- 5.Create a Pull Request --> A; -``` - +
[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://github.com/codespaces/new?hide_repo_select=true&ref=main&repo=149001365&machine=basicLinux32gb&location=EastUs) diff --git a/images/pr-en.svg b/images/pr-en.svg new file mode 100644 index 0000000000000..7465d268ffbf0 --- /dev/null +++ b/images/pr-en.svg @@ -0,0 +1 @@ +

1.Fork

2.Git Clone

3.Create a New Branch & Make Changes

4.Commit & Push to Your Repo

5.Create a Pull Request

LeetCode Repo
doocs/leetcode.git

Your GitHub Repo
yourusername/leetcode.git

Local Machine

Modify Code Locally

\ No newline at end of file diff --git a/images/pr.svg b/images/pr.svg new file mode 100644 index 0000000000000..22e333230e98e --- /dev/null +++ b/images/pr.svg @@ -0,0 +1 @@ +

1.Fork(派生)

2.Git 克隆

3.创建新分支并修改代码

4.提交 & 推送到你的仓库

5.提交 Pull Request(合并请求)

LeetCode 仓库
doocs/leetcode.git

你的 GitHub 仓库
yourusername/leetcode.git

本地开发环境

本地修改后的代码

\ No newline at end of file From 2c6c98583afa55cf520b55a630d0582073568b00 Mon Sep 17 00:00:00 2001 From: yanglbme Date: Wed, 11 Jun 2025 15:15:56 +0800 Subject: [PATCH 2/2] fix: update withd --- README.md | 2 +- README_EN.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a8b05a7450092..aa8c9b92c5efa 100644 --- a/README.md +++ b/README.md @@ -193,7 +193,7 @@ 1. 你也可以参考帮助文档 了解更多细节。
- +
[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://github.com/codespaces/new?hide_repo_select=true&ref=main&repo=149001365&machine=basicLinux32gb&location=SoutheastAsia) diff --git a/README_EN.md b/README_EN.md index 7347736dab076..3b461059720a9 100644 --- a/README_EN.md +++ b/README_EN.md @@ -185,7 +185,7 @@ I'm looking for long-term contributors/partners to this repo! Send me [PRs](http 1. See [CONTRIBUTING](https://github.com/doocs/.github/blob/main/CONTRIBUTING.md) or [GitHub Help](https://help.github.com/en) for more details.
- +
[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://github.com/codespaces/new?hide_repo_select=true&ref=main&repo=149001365&machine=basicLinux32gb&location=EastUs)