You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using this rule to validate broken links in my documentation generated by Docusaurus. The rule is behaving inconsistently.
On my local machine (macos), when I run this rule it does not report any errors. But, when this rule runs on my CI pipeline, it's able to report a broken image link.
The text where it's reporting the error contains a link like this:
![Resource role permission in felix web console](assets/WEBCONSOLE.png)
The actual image file is saved with all lower case name (i.e. webconsole.png). But, not sure why the rule is not reporting this as an error on my mac
The text was updated successfully, but these errors were encountered:
I've been doing some more debugging. Although it's not conclusive yet, I believe the issue is platform related. For example, the file system on mac, I believe, is not case-sensitive while it is case sensitive in linux/unix.
That could explain why on my mac when I execute the test, this linter rule didn't report any error and when the local dev server from Docusaurus runs, the image still appears on the website. But, my CI pipeline runs on a CentOS based machine where the linter is able to report the broken link (due to file name's case sensitivity) and when the site is deployed in AWS S3, the image does not appear on the site because in AWS S3 bucket the file names are case-sensitive.
Only concern right now is that I can't seem to reproduce the issue. I tried running the linter rule on a centos based docker image running on my mac but that didn't help. Might need a base linux environment to test it out.
It'd be good if this rule can validate case-sensitivity of the file/path name.
I'm using this rule to validate broken links in my documentation generated by Docusaurus. The rule is behaving inconsistently.
On my local machine (macos), when I run this rule it does not report any errors. But, when this rule runs on my CI pipeline, it's able to report a broken image link.
The text where it's reporting the error contains a link like this:
![Resource role permission in felix web console](assets/WEBCONSOLE.png)
The actual image file is saved with all lower case name (i.e.
webconsole.png
). But, not sure why the rule is not reporting this as an error on my macThe text was updated successfully, but these errors were encountered: