-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: all link broken and enable Version-Awareness in README and README-Cn #2476
Conversation
Thank you @yihong0618, A little bit background here that this repo is actually for v1.0.* nebula graph when it's monorepo. We should polish and highlight enough information here to:
Are you interested in/with bandwidth to address it? Or I could co-author this PR for that. |
@wey-gu I found the v1.2 version in the Can we info users that
Somethin like this. |
Sure, let's do it together. For :
That's also the way in my head, could you try from your side first then I'll try to fill my part on this PR? Thanks!! |
@wey-gu |
CONTRIBUTING.md
Outdated
@@ -1,3 +1,3 @@ | |||
# CONTRIBUTING | |||
|
|||
See [How to contribute](https://docs.nebula-graph.io/manual-EN/4.contributions/how-to-contribute/) for details about how to contribute to **Nebula Graph**. | |||
See [How to contribute](https://docs.nebula-graph.io/2.0.1/15.contribution/how-to-contribute/) for details about how to contribute to **Nebula Graph**. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I personally don't think it is a good idea to add a link with version number because new versions come out from time to time, meaning that you have to update the link from time to time.
We have a how-to-contribute file in the nebula-community repo and here is the link: https://github.com/vesoft-inc/nebula-community/blob/master/Contributors/how-to-contribute.md. I think this is a better choice.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed, this is a better choice, will replace it with this link instead.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
README-CN.md
Outdated
## 快速使用 | ||
|
||
请查看[快速使用手册](https://docs.nebula-graph.com.cn/manual-CN/4.contributions/how-to-contribute/),开始使用 **Nebula Graph**。 | ||
请查看[快速使用手册](https://docs.nebula-graph.com.cn/2.0.1/2.quick-start/1.quick-start-workflow/),开始使用 **Nebula Graph**。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since this is the repo of Nebula v1.x, should we just place the Quick Start of v1.0?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For Quick Start Part, it's actually only applied to newcomers here, when the latest version makes more sense to them, and for those who (for some reason, which I consider can barely be the case) actually would like to access the Quick Start
for the old version 1, it's also highlighted in the *note*
part.
What do you think about this perspective?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think now the nebula repo somehow becomes the first impression entry that accidentally being accessed by first-comers, in a not small chance(it was an expected first impression with a decent amount of stars, right?).
It's more than it is on README for version 1 nebula graph
. Thus it may be better to highlight contexts around a. version & hey, this is the old one, and b. ensure navigations are valid as the first impression of a project.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There will be a lot of maintenance work if you put the link to the "latest" version here because the "latest" version changes over time. What about when the v3.x comes out? You will have to keep updating the link here, which is a tedious work to do. My point here is that we put the exact version of Quick Start here and keep visitors informed that this is the 1.x version of Nebula Graph and head to the nebula-graph repo if you are interested in a higher version. Let's keep things clear and simple. What do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jamieliu1023 @wey-gu
I think the better idea is not to add the latest version in the URL.
The doc pointer always points to the latest version.
but users can select the other versions
Something like below.
https://pytorch.org/docs/stable/backends.html
https://zh-hans.reactjs.org/versions/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jamieliu1023 @wey-gu
I think the better idea is not to add the latest version in the URL.The doc pointer always points to the latest version.
but users can select the other versions
Something like below.
https://pytorch.org/docs/stable/backends.html
https://zh-hans.reactjs.org/versions/
I agree with the latest aliases(it's also what's in my head these days, not cheating) ;-).
I will recommend/issue it to the docs, there is such a thing already on the tooling we are using.
https://squidfunk.github.io/mkdocs-material/setup/setting-up-versioning/#publishing-a-new-version
Update: ISSUE: vesoft-inc/nebula-docs-cn#462
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There will be a lot of maintenance work if you put the link to the "latest" version here because the "latest" version changes over time. What about when the v3.x comes out? You will have to keep updating the link here, which is a tedious work to do. My point here is that we put the exact version of Quick Start here and keep visitors informed that this is the 1.x version of Nebula Graph and head to the nebula-graph repo if you are interested in a higher version. Let's keep things clear and simple. What do you think?
I agree with your concerns, maybe let's see if we can have the "latest" alias in a short time soon on vesoft-inc/nebula-docs-cn#462
README-CN.md
Outdated
请查看[快速使用手册](https://docs.nebula-graph.com.cn/manual-CN/4.contributions/how-to-contribute/),开始使用 **Nebula Graph**。 | ||
请查看[快速使用手册](https://docs.nebula-graph.com.cn/2.0.1/2.quick-start/1.quick-start-workflow/),开始使用 **Nebula Graph**。 | ||
|
||
在开始使用 **Nebula Graph** 之前,必须通过[编译源码](https://docs.nebula-graph.com.cn/2.0.1/4.deployment-and-installation/2.compile-and-install-nebula-graph/1.install-nebula-graph-by-compiling-the-source-code/),[rpm/deb 包](https://docs.nebula-graph.com.cn/2.0.1/4.deployment-and-installation/2.compile-and-install-nebula-graph/2.install-nebula-graph-by-rpm-or-deb/) 或者 [docker compose](https://github.com/vesoft-inc/nebula-docker-compose/blob/master/README_zh-CN.md) 方式安装 **Nebula Graph**。您也可以观看[视频](https://space.bilibili.com/472621355)学习如何安装 **Nebula Graph**。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here. Should we use the documentation of v1.0?
README-CN.md
Outdated
@@ -81,7 +95,7 @@ | |||
**Nebula Graph** 是一个完全开源的项目,欢迎开源爱好者通过以下方式参与到 **Nebula Graph** 社区: | |||
|
|||
* 从标记为 [good first issues](https://github.com/vesoft-inc/nebula/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22) 的问题入手 | |||
* 贡献代码,详情请参见 [如何贡献](https://docs.nebula-graph.com.cn/manual-CN/4.contributions/how-to-contribute/) | |||
* 贡献代码,详情请参见 [如何贡献](https://docs.nebula-graph.com.cn/2.0.1/15.contribution/how-to-contribute/) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as the previous comment about the how-to-contribute file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
Co-authored-by: Jamie-VESoft <[email protected]>
Dear @cooper-lzy @randomJoe211 , |
README-CN.md
Outdated
@@ -41,11 +41,25 @@ | |||
|
|||
[Nebula Graph Cloud Service](https://cloud.nebula-graph.com.cn/) 是 Nebula Graph 的图数据库云服务平台(Database-as-a-Service,DBaaS),支持一键部署 Nebula Graph。Nebula Graph Cloud Service 服务目前处于公测阶段。公测期间不会就云服务收取任何费用,欢迎 **免费试用**。 | |||
|
|||
## 关于这个 Repo | |||
|
|||
Please note that this repo is only for Nebula Graph `v1.*.*`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里应该是中文:本仓库为Nebula Graph 1.x,最新的Nebula Graph 2.x已拆分为nebula-graph、nebula-storage和nebula-common三个仓库。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry,我傻了,居然留了英文那句,多谢!
README-CN.md
Outdated
## 快速使用 | ||
|
||
请查看[快速使用手册](https://docs.nebula-graph.com.cn/manual-CN/4.contributions/how-to-contribute/),开始使用 **Nebula Graph**。 | ||
请查看[文档](https://docs.nebula-graph.com.cn)中的【快速使用手册】,开始使用 **Nebula Graph**。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
好的,我看您留了 master 的链接,这是一个好办法。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great!
README-CN.md
Outdated
@@ -41,11 +41,25 @@ | |||
|
|||
[Nebula Graph Cloud Service](https://cloud.nebula-graph.com.cn/) 是 Nebula Graph 的图数据库云服务平台(Database-as-a-Service,DBaaS),支持一键部署 Nebula Graph。Nebula Graph Cloud Service 服务目前处于公测阶段。公测期间不会就云服务收取任何费用,欢迎 **免费试用**。 | |||
|
|||
## 关于这个 Repo |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe move this section to the start of the topic. This should be the first thing that a reader needs to know.
So does in the English version.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed, will do so.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
README-CN.md
Outdated
请查看[快速使用手册](https://docs.nebula-graph.com.cn/manual-CN/4.contributions/how-to-contribute/),开始使用 **Nebula Graph**。 | ||
请查看[文档](https://docs.nebula-graph.com.cn)中的【快速使用手册】,开始使用 **Nebula Graph**。 | ||
|
||
在开始使用 **Nebula Graph** 之前,除了参文档通过:编译源码、rpm/deb 包、 docker compose 三者之一方式安装 **Nebula Graph**。您也可以观看[视频](https://space.bilibili.com/472621355)学习如何安装 **Nebula Graph**。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
“在开始使用 Nebula Graph 之前,除了参文档通过:编译源码、rpm/deb 包、 docker compose 三者之一方式安装 Nebula Graph。您也可以观看视频学习如何安装 Nebula Graph。”
==>
“除了参考文档,您也可以观看[视频]了解如何安装xxxx。”
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
README-CN.md
Outdated
|
||
在开始使用 **Nebula Graph** 之前,必须通过[编译源码](https://docs.nebula-graph.com.cn/manual-CN/3.build-develop-and-administration/1.build/1.build-source-code/),[rpm/deb 包](https://docs.nebula-graph.com.cn/manual-CN/3.build-develop-and-administration/2.install/1.install-with-rpm-deb/) 或者 [docker compose](https://github.com/vesoft-inc/nebula-docker-compose/blob/master/README_zh-CN.md) 方式安装 **Nebula Graph**。您也可以观看[视频](https://space.bilibili.com/472621355)学习如何安装 **Nebula Graph**。 | ||
**注意** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
注意:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
README-CN.md
Outdated
- [Getting started](https://docs.nebula-graph.com.cn/1.2.0/manual-CN/1.overview/2.quick-start/1.get-started/) | ||
- [installing source code](https://docs.nebula-graph.com.cn/1.2.0/manual-CN/3.build-develop-and-administration/1.build/1.build-source-code/) | ||
- [rpm/deb packages](https://docs.nebula-graph.com.cn/1.2.0/manual-CN/3.build-develop-and-administration/2.install/1.install-with-rpm-deb/) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1.2.1 is the latest version
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
README.md
Outdated
|
||
Please note that this repo is only for Nebula Graph `v1.*.*`. | ||
|
||
From `v2.*.*`, which was already GA in 2021 April, Nebula Graph's core code bases are [nebula-graph](https://github.com/vesoft-inc/nebula-graph), [nebula-common](https://github.com/vesoft-inc/nebula-common) and [nebula-storage](https://github.com/vesoft-inc/nebula-storage), it's recommended to start from the repo: [nebula-graph](https://github.com/vesoft-inc/nebula-graph). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the GA version of which has already been released in April 2021,
Codebase is more popular to programmers than code base.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
|
||
Please note that you must install **Nebula Graph** by [installing source code](https://docs.nebula-graph.io/manual-EN/3.build-develop-and-administration/1.build/1.build-source-code/), [rpm/deb packages](https://docs.nebula-graph.io/manual-EN/3.build-develop-and-administration/2.install/1.install-with-rpm-deb/) or [docker compose](https://github.com/vesoft-inc/nebula-docker-compose), before you can actually start using it. If you prefer a video tutorial, visit our [YouTube channel](https://www.youtube.com/channel/UC73V8q795eSEMxDX4Pvdwmw). | ||
For Nebula Graph Installation, in addition to referring to the docs to deploy from one of the three options: source code, RPM/DEB package, or Docker Compose, if you prefer a video tutorial, please check out our [YouTube channel](https://www.youtube.com/channel/UC73V8q795eSEMxDX4Pvdwmw). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
installation
Optimize this paragraph according to the comment for the Chinese version?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure, will do so.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
All comments fix done. If review passed this time I will trigger a CI/TEST. |
Codecov Report
@@ Coverage Diff @@
## master #2476 +/- ##
==========================================
- Coverage 86.46% 86.28% -0.19%
==========================================
Files 649 647 -2
Lines 64374 67278 +2904
==========================================
+ Hits 55662 58048 +2386
- Misses 8712 9230 +518
Continue to review full report at Codecov.
|
It seems there are issues in CLANG test, could we bypass/fix it? @CPWstatic |
…E-Cn (vesoft-inc#2476) * fix: all link broken in README and README-Cn * fix: note links for v1.* * Version awareness links and notices added * Addressed the how-to links to community repo instead Co-authored-by: Jamie-VESoft <[email protected]> * Removed 2.* URLs before we have a Latest Alias on Docs * fixed how-to-contribute link * Update README-CN.md * Address Joe's comments * Update README-CN.md Co-authored-by: wey-gu <[email protected]> Co-authored-by: Jamie-VESoft <[email protected]> Co-authored-by: cooper-lzy <[email protected]>
What changes were proposed in this pull request?
Fix link broken in
README
andREADME-CN
Add version-awareness highlights and background information to new comers
I've run the tests to see all new and existing tests pass
If this Pull Request resolves an issue, I linked to the issue in the text above
I've informed the technical writer about the documentation change if necessary