Beispiel #1
0
def setup(app):
    try:
        from nbsite.paramdoc import param_formatter
        app.connect('autodoc-process-docstring', param_formatter)
    except ImportError:
        print('no param_formatter (no param?)')

    nbbuild.setup(app)
Beispiel #2
0
def setup(app):
    try:
        from nbsite.paramdoc import param_formatter, param_skip
        app.connect('autodoc-process-docstring', param_formatter)
        app.connect('autodoc-skip-member', param_skip)
    except ImportError:
        print('no param_formatter (no param?)')

    nbbuild.setup(app)
    app.connect("builder-inited", remove_mystnb_static)