diff --git a/.gitattributes b/.gitattributes index 0c35cf7c5..750e20ba7 100644 --- a/.gitattributes +++ b/.gitattributes @@ -17,3 +17,7 @@ crates/fonts-build/tests/fixture/craft-fonts/fonts/**/OFL.txt -text # DXF drawing goldens assert exact writer bytes, including LF on every platform. crates/dxf/tests/data/drawing_*.dxf -text + +# The generated components index is compared byte for byte with the generator's LF output (craft-ui test +# components_index): a Windows checkout must not convert its line endings. +docs/components-index.md text eol=lf