def run_apidoc(_):
    """This method is required by the setup method below."""
    import os
    dirname = os.path.dirname(__file__)
    ignore_paths = [os.path.join(dirname, '../../aaf2/model'),]
    # https://github.com/sphinx-doc/sphinx/blob/master/sphinx/ext/apidoc.py
    argv = [
        '--force',
        '--no-toc',
        '--separate',
        '--module-first',
        '--output-dir',
        os.path.join(dirname, 'api'),
        os.path.join(dirname, '../../aaf2'),
     ] + ignore_paths

    from sphinx.ext import apidoc
    apidoc.main(argv)
def run_apidoc ( _ ) : import os dirname = os . path . dirname ( __file__ ) ignore_paths = [ os . path . join ( dirname , '../../aaf2/model' ) , ] argv = [ '--force' , '--no-toc' , '--separate' , '--module-first' , '--output-dir' , os . path . join ( dirname , 'api' ) , os . path . join ( dirname , '../../aaf2' ) , ] + ignore_paths from sphinx . ext import apidoc apidoc . main ( argv )
This method is required by the setup method below.