Skip to content

docs: fix doc build 'intel/dev/intel_device_info_gen.h' file not found

Jani Nikula requested to merge jani/mesa:fix-doc-build into main

What does this MR do and why?

docs: fix doc build 'intel/dev/intel_device_info_gen.h' file not found

Commit a52c1994aa11 ("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: a52c1994aa11 ("intel/dev: generate declarations for struct intel_device_info")
Signed-off-by: Jani Nikula <jani@nikula.org>

Merge request reports