generate_sphinx_template_docs#
- scikitplot.cython.generate_sphinx_template_docs(output_dir, *, title='Cython templates', include_python=True, include_cython=True)[source]#
Generate Sphinx
.rstpages listing templates and their usage.This function does not import any
.pyxcode. It uses metadata files andliteralincludedirectives to embed source text.- Parameters:
- output_dirstr or pathlib.Path
Output directory for generated
.rstfiles.- titlestr, default=’Cython templates’
Title used for the index page.
- include_pythonbool, default=True
Include Python templates.
- include_cythonbool, default=True
Include Cython templates.
- Returns:
- list[pathlib.Path]
Paths of generated
.rstfiles.
- Parameters:
- Return type: