
Commita52c1994aa
("intel/dev: generate declarations for struct intel_device_info") started generating and including intel/dev/intel_device_info_gen.h, but it's not present in the documentation build, leading to errors: docs/isl/formats.rst:222: ERROR: src/intel/dev/intel_device_info.h:39: 'intel/dev/intel_device_info_gen.h' file not found docs/isl/tiling.rst:87: ERROR: src/intel/dev/intel_device_info.h:39: 'intel/dev/intel_device_info_gen.h' file not found Add an empty header stub under docs/header-stubs to fix the build. Fixes:a52c1994aa
("intel/dev: generate declarations for struct intel_device_info") Signed-off-by: Jani Nikula <jani@nikula.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27573>
Mock headers and types used only for building documentation, to avoid a documentation dependency on generated headers, and to allow documentation of the generated types.