Fix documentation folder scanning