lsegal / yard

YARD is a Ruby Documentation tool. The Y stands for "Yay!"
http://yardoc.org
MIT License
1.95k stars 398 forks source link

difference in behavior, MacOS vs Linux/CI #1543

Closed jjb closed 2 months ago

jjb commented 7 months ago

I have these in my readme.md:

locally (MacOS) my build has no errors

on CI (linux ubuntu)

Generating doc/file.README.html⢿ Generating doc/file.README.html.[warn]: In file `README.md':275: Cannot resolve link to the from text:
    ...{the <code>foo-</code> bar}...

the offending code is:

[the `foo-` bar](https://example.com/Path#fragment)

the yard and ruby versions are the same in both places

what could cause the difference in behavior?

jjb commented 7 months ago

MacOS has a case-insensitive file system, I wonder if that's somehow the cause 😆

lsegal commented 7 months ago

This looks related to #1410

jjb commented 7 months ago

thanks! added some docs here https://github.com/lsegal/yard/pull/1544