run_sphinx¶
- 
documenteer.sphinxrunner.run_sphinx(root_dir)¶ Run the Sphinx build process.
- Parameters
 - root_dir
 Root directory of the Sphinx project and content source. This directory conatains both the root
index.rstfile and theconf.pyconfiguration file.
- Returns
 - status
 Sphinx status code.
0is expected. Greater than0indicates an error.
Notes
This function implements similar internals to Sphinx’s own
sphinx-buildcommand. Most configurations are hard-coded to defaults appropriate for building stack documentation, but flexibility can be added later as needs are identified.- Return type