module helpgen._nbconvert_preprocessor

Inheritance diagram of pyquickhelper.helpgen._nbconvert_preprocessor

Short summary

module pyquickhelper.helpgen._nbconvert_preprocessor

Custom configuration for nbconvert, see custom_preprocessor

source on GitHub

Classes

class

truncated documentation

LatexRawOutputPreprocessor

Custom processor to apply a different style on raw output.

Properties

property

truncated documentation

cross_validation_lock

A contextmanager for running a block with our cross validation lock set to True. At the end of the block, …

Methods

method

truncated documentation

__init__

Overloads the constructor.

preprocess_cell

Applies a transformation on each cell. See base.py for details, add \begin{verbatim} and \end{verbatim}. …

Documentation

Custom configuration for nbconvert, see custom_preprocessor

source on GitHub

class pyquickhelper.helpgen._nbconvert_preprocessor.LatexRawOutputPreprocessor(**kwargs: Any)[source]

Bases: Preprocessor

Custom processor to apply a different style on raw output.

source on GitHub

Overloads the constructor.

source on GitHub

__init__(*args, **kwargs)[source]

Overloads the constructor.

source on GitHub

_all_trait_default_generators: Dict[str, Any] = {'config': <bound method TraitType.default of <traitlets.traitlets.Instance object>>, 'default_language': <bound method TraitType.default of <traitlets.traitlets.Unicode object>>, 'display_data_priority': <bound method TraitType.default of <traitlets.traitlets.List object>>, 'enabled': <bound method TraitType.default of <traitlets.traitlets.Bool object>>, 'log': <traitlets.traitlets.DefaultHandler object>, 'parent': <bound method TraitType.default of <traitlets.traitlets.Instance object>>}[source]
_cross_validation_lock: bool[source]
_descriptors = [<traitlets.traitlets.ObserveHandler object>, <traitlets.traitlets.DefaultHandler object>, <traitlets.traitlets.ValidateHandler object>, <traitlets.traitlets.Instance object>, <traitlets.traitlets.Unicode object>, <traitlets.traitlets.List object>, <traitlets.traitlets.Bool object>, <traitlets.traitlets.Any object>, <traitlets.traitlets.Instance object>][source]
_instance_inits = [<bound method ObserveHandler.instance_init of <traitlets.traitlets.ObserveHandler object>>, <bound method BaseDescriptor.instance_init of <traitlets.traitlets.DefaultHandler object>>, <bound method ValidateHandler.instance_init of <traitlets.traitlets.ValidateHandler object>>, <bound method Instance.instance_init of <traitlets.traitlets.Instance object>>, <bound method Instance.instance_init of <traitlets.traitlets.Instance object>>][source]
_static_immutable_initial_values: Dict[str, Any] = {'default_language': 'ipython', 'enabled': False, 'parent': None}[source]
_trait_default_generators = {}[source]
_trait_notifiers: Dict[str, Any][source]
_trait_validators: Dict[str, Any][source]
_trait_values: Dict[str, Any][source]
_traits: Dict[str, Any] = {'config': <traitlets.traitlets.Instance object>, 'default_language': <traitlets.traitlets.Unicode object>, 'display_data_priority': <traitlets.traitlets.List object>, 'enabled': <traitlets.traitlets.Bool object>, 'log': <traitlets.traitlets.Any object>, 'parent': <traitlets.traitlets.Instance object>}[source]
preprocess_cell(cell, resources, cell_index)[source]

Applies a transformation on each cell. See base.py for details, add \begin{verbatim} and \end{verbatim}.

source on GitHub