2.1.9. Sphinx
The tool is located in tools/waf-tools
.
2.1.9.1. Tool Documentation
Implements a waf tool to use Sphinx.
- f_sphinx_build.configure(conf: waflib.Configure.ConfigurationContext)
Check that sphinx-build and dot are available
- class f_sphinx_build.sphinx_task(*args: Any, **kwargs: Any)
Bases:
Task
class to compile a conf.py file into documentation using Sphinx.
- always_run = True
Sphinx handles the need for a re-run, so always run this task
- Type:
str
- color = 'BLUE'
color in which the command line is displayed in the terminal
- Type:
str
- keyword()
displayed keyword when the sphinx configuration file is compiled