Include all meson build files under docs/ and check with get_option() there.
Lots of warnings, so something is probably still missing.