Improve docs syntax checking and enable it in the meson build

Improve docs syntax checking and enable it in the meson build

Edit