cdmikechen opened a new pull request #117:
URL: https://github.com/apache/incubator-yunikorn-site/pull/117


   Due to my negligence, I didn't verify the result by using `yarn build`.
   `docusaurus` will verify the validity of the associated links in the 
documents at the last stage of `build`. Due to the modification of some title 
names, the links in some other documents fail, resulting in the failure of 
build:
   
   ```
   [WARNING] Docs markdown link couldn't be resolved: 
(../../get_started/get_started.md) in 
/incubator-yunikorn-site/docs/user_guide/workloads/run_tensorflow.md for 
version current
   [WARNING] Docs markdown link couldn't be resolved: 
(../../get_started/get_started.md) in 
/incubator-yunikorn-site/docs/user_guide/workloads/run_tensorflow.md for 
version current
   [WARNING] Docs markdown link couldn't be resolved: 
(../../get_started/get_started.md) in 
/incubator-yunikorn-site/versioned_docs/version-0.12.1/user_guide/workloads/run_tensorflow.md
 for version 0.12.1
   [WARNING] Docs markdown link couldn't be resolved: 
(../../get_started/get_started.md) in 
/incubator-yunikorn-site/versioned_docs/version-0.12.1/user_guide/workloads/run_spark.md
 for version 0.12.1
   [WARNING] Docs markdown link couldn't be resolved: 
(../../get_started/get_started.md) in 
/incubator-yunikorn-site/versioned_docs/version-0.12.1/user_guide/workloads/run_spark.md
 for version 0.12.1
   [WARNING] Docs markdown link couldn't be resolved: 
(../../get_started/get_started.md) in 
/incubator-yunikorn-site/versioned_docs/version-0.12.1/user_guide/workloads/run_tensorflow.md
 for version 0.12.1
   [WARNING] Docs markdown link couldn't be resolved: 
(../../get_started/get_started.md) in 
/incubator-yunikorn-site/versioned_docs/version-0.12.1/user_guide/workloads/run_spark.md
 for version 0.12.1
   Warning:  Docs markdown link couldn't be resolved: 
(../../get_started/get_started.md) in 
/incubator-yunikorn-site/versioned_docs/version-0.12.1/user_guide/workloads/run_spark.md
 for version 0.12.1
   [WARNING] Docs markdown link couldn't be resolved: 
(../../get_started/get_started.md) in 
/incubator-yunikorn-site/docs/user_guide/workloads/run_spark.md for version 
current
   Warning:  Docs markdown link couldn't be resolved: 
(../../get_started/get_started.md) in 
/incubator-yunikorn-site/docs/user_guide/workloads/run_spark.md for version 
current
   [WARNING] Docs markdown link couldn't be resolved: 
(../../get_started/get_started.md) in 
/incubator-yunikorn-site/docs/user_guide/workloads/run_spark.md for version 
current
   Warning:  Docs markdown link couldn't be resolved: 
(../../get_started/get_started.md) in 
/incubator-yunikorn-site/docs/user_guide/workloads/run_spark.md for version 
current
   [WARNING] Docs markdown link couldn't be resolved: 
(../get_started/get_started.md) in 
/incubator-yunikorn-site/versioned_docs/version-0.12.1/user_guide/trouble_shooting.md
 for version 0.12.1
   [WARNING] Docs markdown link couldn't be resolved: 
(../get_started/get_started.md) in 
/incubator-yunikorn-site/versioned_docs/version-0.12.1/user_guide/trouble_shooting.md
 for version 0.12.1
   [WARNING] Docs markdown link couldn't be resolved: 
(../get_started/get_started.md) in 
/incubator-yunikorn-site/docs/user_guide/trouble_shooting.md for version current
   [WARNING] Docs markdown link couldn't be resolved: 
(../get_started/get_started.md) in 
/incubator-yunikorn-site/docs/user_guide/trouble_shooting.md for version current
   ✔ Client: Compiled successfully in 1.13m
   ✔ Server: Compiled successfully in 1.33m
   [ERROR] Unable to build website for locale zh-cn.
   [ERROR] Error: Docusaurus found broken links!
   
   Please check the pages of your site in the list below, and make sure you 
don't reference any path that does not exist.
   Note: it's possible to ignore broken links with the 'onBrokenLinks' 
Docusaurus configuration, and let the build pass.
   
   Exhaustive list of all broken links found:
   
   - On source page path = /zh-cn/docs/next/user_guide/trouble_shooting:
      -> linking to ../get_started/get_started.md#access-the-web-ui (resolved 
as: /zh-cn/docs/next/get_started/get_started.md)
   
   - On source page path = /zh-cn/docs/next/user_guide/workloads/run_spark:
      -> linking to ../../get_started/get_started.md (resolved as: 
/zh-cn/docs/next/get_started/get_started.md)
      -> linking to ../../get_started/get_started.md#access-the-web-ui 
(resolved as: /zh-cn/docs/next/get_started/get_started.md)
   
   - On source page path = /zh-cn/docs/next/user_guide/workloads/run_tf:
      -> linking to ../../get_started/get_started.md#access-the-web-ui 
(resolved as: /zh-cn/docs/next/get_started/get_started.md)
   
   - On source page path = /zh-cn/docs/user_guide/trouble_shooting:
      -> linking to ../get_started/get_started.md#access-the-web-ui (resolved 
as: /zh-cn/docs/get_started/get_started.md)
   
   - On source page path = /zh-cn/docs/user_guide/workloads/run_spark:
      -> linking to ../../get_started/get_started.md (resolved as: 
/zh-cn/docs/get_started/get_started.md)
      -> linking to ../../get_started/get_started.md#access-the-web-ui 
(resolved as: /zh-cn/docs/get_started/get_started.md)
   
   - On source page path = /zh-cn/docs/user_guide/workloads/run_tf:
      -> linking to ../../get_started/get_started.md#access-the-web-ui 
(resolved as: /zh-cn/docs/get_started/get_started.md)
   
       at reportMessage 
(/incubator-yunikorn-site/node_modules/@docusaurus/utils/lib/index.js:306:19)
       at handleBrokenLinks 
(/incubator-yunikorn-site/node_modules/@docusaurus/core/lib/server/brokenLinks.js:138:35)
       at async buildLocale 
(/incubator-yunikorn-site/node_modules/@docusaurus/core/lib/commands/build.js:155:5)
       at async tryToBuildLocale 
(/incubator-yunikorn-site/node_modules/@docusaurus/core/lib/commands/build.js:33:20)
       at async mapAsyncSequencial 
(/incubator-yunikorn-site/node_modules/@docusaurus/utils/lib/index.js:262:24)
       at async build 
(/incubator-yunikorn-site/node_modules/@docusaurus/core/lib/commands/build.js:68:25)
   error Command failed with exit code 1.
   ```
   
   This PR fixes this problem and adds the related documents. 
   And please do not think that some documents are unnecessary in this PR. Each 
file solves some of the dependency problems in the build phase. At present, it 
has been guaranteed that the number of documents should be the minimum required


-- 
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]


Reply via email to