DuneSphinxDoc¶
Build Sphinx-based documentation from rst sources in the current project.
- dune_sphinx_doc¶
Configure and build a Sphinx documentation tree from the current source directory.
dune_sphinx_doc( [CONF <conf.py-or-stem>] [BUILDTYPE <type>...] )
CONFConfiguration file name used for Sphinx. If omitted,
conf.pyis used. If<conf>.inexists, it is configured withconfigure_file(). Otherwise the file is copied verbatim.BUILDTYPESphinx builders to invoke. If omitted,
htmlis built.
For each requested build type, this command creates a target named
sphinx_doc_<type>and also adds it as a dependency of the top-leveldoctarget.
- add_sphinx_targets¶
Convenience wrapper that declares the
sphinx_filestarget, registers a set of documentation input files, and then callsdune_sphinx_doc().add_sphinx_targets(<base> <file>...)
basePrefix used for the generated helper target names.
fileDocumentation input files copied into the Sphinx build tree. Notebook files with the
.ipynbsuffix are additionally converted to.rstwhenjupyteris available.
- add_sphinx_target¶
Internal helper used by
add_sphinx_targets()to register a single documentation input file.
- add_sphinx_files¶
Internal helper used by
add_sphinx_targets()to register multiple documentation input files.