V4-V5 Revise * docs: Fixes build docs on msys2/mingw For easier to review. Revise * meson: Move the detection logic for sphinx to meson According Paolo's suggestion with fixes.
V3-V4 Quic fixes of python style if xxx: tested locally V2-V3 No need convert perl trick to python script anymore after Paolo's removal of ninjatool. Revise Meson: Move the detection logic for sphinx to meson for pass other platform by letting SPHINX_ARGS to be empty when build_docs are false v1 - v2 Also move the docs configure part from configure to meson, this also fixed the pending ninjatool removal caused issue that docs can not be build under msys2/mingw Yonggang Luo (4): docs: Fixes build docs on msys2/mingw configure: the docdir option should passed to meson as is. meson: Move the detection logic for sphinx to meson cirrus: Enable doc build on msys2/mingw .cirrus.yml | 6 +++- configure | 62 +++-------------------------------- docs/meson.build | 4 +-- docs/sphinx/kerneldoc.py | 2 +- meson.build | 52 +++++++++++++++++++++++++---- meson_options.txt | 5 ++- tests/qapi-schema/meson.build | 2 +- 7 files changed, 64 insertions(+), 69 deletions(-) -- 2.28.0.windows.1