Cmake build fails on my Windows giving me the following errors while building some Sphinx html documents “
WARNING: file ‘index.rst’ given on command line is not under the source directory, ignoring
WARNING: file ‘auditlog.rst’ given on command line is not under the source directory, ignoring
WARNING: search index couldn’t be loaded, but not all documents will be built: the index will be incomplete.
“
This happens when using Sphinx version 7.3.7 but works with older version(v6.2.0).
Interestingly, if you try to build the same docs without CMake and with Sphinx 7.3.7, it builds without any error. Is this a CMake or Sphinx problem ? Super Confused.
sphinx-build.exe -b html doc build-output index.rst auditlog.rst
Saikat is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.