Introduction

This project provides convenient ways to use Sphinx within a CMake project. The package can be discovered from a specific range of versions on Linux, macOS or Windows using the find_package function:

find_package(Sphinx 7.3.7 REQUIRED)

A sphinx_add_docs() function is provided as a convenience for adding a target for generating documentation with Sphinx.

sphinx_add_docs(docs ALL)

See also

Tutorial