react-docgen-markdown-renderer
react-docgen-markdown-renderer copied to clipboard
Normalize srcLink to Unix style path
Basically to support Windows build systems.
Sorry for the late response!
I'm working on a new version that includes some sort of an "addon" mechanism to hook into custom handlers in react-docgen.
I'll see what I can do to incorporate this into the next version 👍
@tobiasweibel I've thought about it some more and srcLink and the new srcLinkUrl I'm adding in the new version should solve this issue.
srcLink is how the path looks in the build system but srcLinkUrl is the actual url to the source therefore I added .replace(/\\/g, '/') to it.
You can look here at the changes here. Let me know if that's enough 👍