KhanhDoHoang opened a new pull request, #977:
URL: https://github.com/apache/dolphinscheduler-website/pull/977

   ### Issues:
   - Navigating from specific pages to another, causing duplicate text in the 
URL, e.g, 
`https://dolphinscheduler.apache.org/en-us/docs/3.3.0-alpha/guide/installation//en-us/docs/3.3.0-alpha/guide/installation/cluster`
   
![image](https://github.com/user-attachments/assets/71a80ee0-ec18-46f5-940b-e833a6285bea)
   
   ### Causes:
   - Having multiple repeated `replaceAll`.
   - E.g: Having `cluster.md` replaceAll to 
`/en-us/docs/3.3.0-alpha/guide/installation/cluster`, then another replaceAll 
for `installation/cluster.md` to again 
`/en-us/docs/3.3.0-alpha/guide/installation/cluster`. Causing duplicates in 
routing URL
   
   ### Fixes:
   - Using regex to match possible route, it will match `cluster.md`, 
`installation/cluster.md`, avoiding duplicate replaceAll usage.
   


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