You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by "KhanhDoHoang (via GitHub)" <gi...@apache.org> on 2025/04/26 15:57:33 UTC

[PR] Update regex for replaced link script [dolphinscheduler-website]

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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Fix duplicating text in URL when navigating to pages in Documentation [dolphinscheduler-website]

Posted by "SbloodyS (via GitHub)" <gi...@apache.org>.
SbloodyS merged PR #977:
URL: https://github.com/apache/dolphinscheduler-website/pull/977


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org