[ 
https://issues.apache.org/jira/browse/YUNIKORN-2048?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17776014#comment-17776014
 ] 

Wilfred Spiegelenburg commented on YUNIKORN-2048:
-------------------------------------------------

Digging further the other two errors point to the same file but in different 
versions:
{code:java}
×ERROR in ./docs/developer_guide/env_setup.md
×ERROR in ./versioned_docs/version-1.2.0/developer_guide/env_setup.md
×ERROR in ./versioned_docs/version-1.3.0/developer_guide/env_setup.md{code}
That rules out that the issue was introduced by the change from YUNIKORN-1876

The problematic URL must have been added to the documentation as part of the 
1.2.0 release. Research on the docusaurus website and mdx-loader shows that any 
text could be interpreted as a URL. 

Similar issue was found on the docusaurus git and left a comment

The broken URL was introduced in 1.2.0 for the first time and that allowed a 
traceback to YUNIKORN-1299 as the source which narrowed down the changes to 
check. The culprit in the end was the text {{[email protected]}} the removal of the @ 
sign fixes the issue.

> Invalid URL detected in dev_guide
> ---------------------------------
>
>                 Key: YUNIKORN-2048
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-2048
>             Project: Apache YuniKorn
>          Issue Type: Bug
>          Components: website
>    Affects Versions: 1.4.0
>            Reporter: Wilfred Spiegelenburg
>            Assignee: Wilfred Spiegelenburg
>            Priority: Blocker
>
> After the changes for YUNIKORN-1974 the site build failed. The issue shows in 
> the CI push only as:
> {code:java}
> TypeError: Invalid URL
> TypeError: Invalid URL
> TypeError: Invalid URL {code}
> When run locally the webserver shows the following:
> {code:java}
> Compiled with problems:
> ×ERROR in ./docs/developer_guide/env_setup.md
> Module build failed (from ./node_modules/@docusaurus/mdx-loader/lib/index.js):
> TypeError: Invalid URL
>     at new NodeError (node:internal/errors:405:5) {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to