The solution is to add a capturing group so that the Git Source URL remain untouched.
I'm not sure how the script used to work before. It is possible that Foundry changes something the way the docs are generated, or that sd changed its regex parsing rules.
There's a bug in the autogen script that causes "Git Source" URLs to be incorrect replaced with local URLs:
https://github.com/sablier-labs/v2-docs/blob/2096bb65880a4809ba52a4b06a46ae2ef4fe3058/scripts/autogen.sh#L80-L84
The solution is to add a capturing group so that the Git Source URL remain untouched.
I'm not sure how the script used to work before. It is possible that Foundry changes something the way the docs are generated, or that
sd
changed its regex parsing rules.