3.1.15. Sphinx
The tool is located in tools/waf-tools
.
3.1.15.1. Tool Documentation
Implements a waf tool to use Sphinx.
- f_sphinx_build.configure(conf)
Check if the following programs are available
sphinx-build
,dot
- f_sphinx_build.rst(self, node)
dummy function to be able to use
bld(features="sphinx", source="abc*.rst", ...)
.
- class f_sphinx_build.sphinx_task(*args: Any, **kwargs: Any)
Bases:
waflib.Task.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
- check_output_html(std_out, std_err)
check if the html task generates any real errors
- check_output_linkcheck(std_out, std_err)
check if the linkcheck task generates any real errors
- check_output_spelling(std_out, std_err)
check if the spelling task generates any real errors
- 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
- static removedinsphinx30warning(_str)
The warning
RemovedInSphinx30Warning
is not a valid warning in our build therefore it can skipped to fail the build.