Skip to content

[MINOR] Fix build failure caused by bad tag name index#9996

Merged
xushiyan merged 1 commit intoapache:asf-sitefrom
xushiyan:asf-site-fix-build
Nov 7, 2023
Merged

[MINOR] Fix build failure caused by bad tag name index#9996
xushiyan merged 1 commit intoapache:asf-sitefrom
xushiyan:asf-site-fix-build

Conversation

@xushiyan
Copy link
Member

@xushiyan xushiyan commented Nov 7, 2023

Change Logs

remove problematic tag index that messed up with docusaurus generating index.html web pages.

Error:  Unable to build website for locale en.
Error:  Error: Redirect file creation error for "/home/runner/work/hudi/hudi/website/build/blog/tags/index.html/index.html" path: Error: EEXIST: file already exists, mkdir '/home/runner/work/hudi/hudi/website/build/blog/tags/index.html'.
    at writeRedirectFile (/home/runner/work/hudi/hudi/website/node_modules/@docusaurus/plugin-client-redirects/lib/writeRedirectFiles.js:76:15)
    at async Promise.all (index 238)
    at async writeRedirectFiles (/home/runner/work/hudi/hudi/website/node_modules/@docusaurus/plugin-client-redirects/lib/writeRedirectFiles.js:81:5)
    at async Object.postBuild (/home/runner/work/hudi/hudi/website/node_modules/@docusaurus/plugin-client-redirects/lib/index.js:29:13)
    at async /home/runner/work/hudi/hudi/website/node_modules/@docusaurus/core/lib/commands/build.js:153:9
    at async Promise.all (index 11)
    at async buildLocale (/home/runner/work/hudi/hudi/website/node_modules/@docusaurus/core/lib/commands/build.js:149:5)
    at async tryToBuildLocale (/home/runner/work/hudi/hudi/website/node_modules/@docusaurus/core/lib/commands/build.js:33:20)
    at async mapAsyncSequencial (/home/runner/work/hudi/hudi/website/node_modules/@docusaurus/utils/lib/index.js:262:24)
    at async build (/home/runner/work/hudi/hudi/website/node_modules/@docusaurus/core/lib/commands/build.js:68:25)
Error: Process completed with exit code 1.

Impact

Fix website build.

Risk level

None.

Documentation Update

NA

Contributor's checklist

  • Read through contributor's guide
  • Change Logs and Impact were stated clearly
  • Adequate tests were added if applicable
  • CI passed

@xushiyan xushiyan added the docs label Nov 7, 2023
Copy link
Member

@codope codope left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch!

@xushiyan xushiyan merged commit 87a2590 into apache:asf-site Nov 7, 2023
@xushiyan xushiyan deleted the asf-site-fix-build branch November 7, 2023 01:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants