brandboat commented on PR #387: URL: https://github.com/apache/yunikorn-site/pull/387#issuecomment-1910379136
> In the PR it looks like you did not touch the 3rd version and only changed the 2nd version into the 1st version. Does that mean the 3rd version worked correctly? Yes, it works fine. We can use both url path or file path in markdown links. (https://docusaurus.io/docs/2.x/markdown-features/links) > Would be good to standardise on one option. That seems to leave us with an option of choosing between 1st and 3rd. I don't think it matters much which one we choose. Making a choice and enforcing it is more important. We can then even enforce it via a build check. Making sure all links comply and prevent breakages. There are two reason some links still use 1st version and 2nd version, and can't be switched to 3rd version. 1. Some documents are not translated to Chinese yet, so the 3rd won't work since the corresponding markdown files not exist, and we use 1st and 2nd to let markdown links direct to English document. 2. The markdown links in files under `src/pages/community` can't be switched to 3rd version, not sure why this is not allowed. (Looks like links in 3rd version only works in [docs](https://docusaurus.io/docs/2.x/docs-introduction), not [pages](https://docusaurus.io/docs/2.x/creating-pages)) If we want to standardize the markdown links format, I believe we can only use the 1st version or the 2nd version, which means the URL path. Perhaps we can open another JIRA to handle this ? I think this will require extensive changes, considering that the majority of links currently use the 3rd version. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
