module helpgen.sphinxm_custom_app
¶
Short summary¶
module pyquickhelper.helpgen.sphinxm_custom_app
Inspired from module sphinx-testing
Classes¶
class |
truncated documentation |
---|---|
A subclass of class Sphinx, the goal is to interpret RST with custom directives. |
Methods¶
method |
truncated documentation |
---|---|
usual |
|
Adds extra elements in config such as |
|
do some cleanup |
Documentation¶
Inspired from module sphinx-testing
- class pyquickhelper.helpgen.sphinxm_custom_app.CustomSphinxApp(srcdir, outdir, confdir=None, doctreedir=None, buildername='html', confoverrides=None, status=None, warning=None, freshenv=False, warningiserror=False, tags=None, copy_srcdir_to_tmpdir=False, create_new_srcdir=False, cleanup_on_errors=True, verbosity=0, parallel=0, extensions='all')[source]¶
Bases:
Sphinx
A subclass of class Sphinx, the goal is to interpret RST with custom directives.
- Parameters:
srcdir – source folder
outdir – output folder
confdir – configuration folder, default is srcdir
doctreedir – doc tree folder
buildername – HTML by default
confoverrides – None or dictionary
status – StringIO to retrieve them
warning – StringIO to retrieve them
freshenv – boolean
warningiserror – warning as errors?
tags – additional documentation
copy_srcdir_to_tmpdir – copy the source to a temporary directory
create_new_srcdir – create a new source directory
cleanup_on_errors – force cleanup on errors
verbosity – integer
parallel – integer (number of threads)
extensions – if
'all'
, add extensions implemented by this module, useNone
for an empty list, ‘extensions’ must not be in confoverrides
- __init__(srcdir, outdir, confdir=None, doctreedir=None, buildername='html', confoverrides=None, status=None, warning=None, freshenv=False, warningiserror=False, tags=None, copy_srcdir_to_tmpdir=False, create_new_srcdir=False, cleanup_on_errors=True, verbosity=0, parallel=0, extensions='all')[source]¶
- Parameters:
srcdir – source folder
outdir – output folder
confdir – configuration folder, default is srcdir
doctreedir – doc tree folder
buildername – HTML by default
confoverrides – None or dictionary
status – StringIO to retrieve them
warning – StringIO to retrieve them
freshenv – boolean
warningiserror – warning as errors?
tags – additional documentation
copy_srcdir_to_tmpdir – copy the source to a temporary directory
create_new_srcdir – create a new source directory
cleanup_on_errors – force cleanup on errors
verbosity – integer
parallel – integer (number of threads)
extensions – if
'all'
, add extensions implemented by this module, useNone
for an empty list, ‘extensions’ must not be in confoverrides