CMakePP / CMinx

Generates API documentation for CMake functions and macros
https://cmakepp.github.io/CMinx/
Apache License 2.0
14 stars 5 forks source link

Install Sphinx to venv and use that version instead of system sphinx #32

Closed AutonomicPerfectionist closed 3 years ago

AutonomicPerfectionist commented 3 years ago

This pull request changes how sphinx is called from the docs Makefile target. Before, it just re-executed make on the docs Makefile, which indirectly called sphinx-build on the system path. Now, sphinx as well as the default RTD theme are installed to the virtual environment, and the docs target now calls the virtualenv python to invoke sphinx-build from there.

Additionally, minor bugs are fixed in this pull request pertaining to invoking cminx's CMake interface from a different project.