##// END OF EJS Templates
Temporarily disabling the ipdoctest nose plugin....
Temporarily disabling the ipdoctest nose plugin. This plugin was causing problems with Twisted. We need to go through the plugin to find the source of the problem. For now, our test suite passes though.

File last commit:

r1850:d536fe7e
r1888:3b62eea5
Show More
autogen_api.py
33 lines | 1.2 KiB | text/x-python | PythonLexer
#!/usr/bin/env python
"""Script to auto-generate our API docs.
"""
# stdlib imports
import os
import sys
# local imports
sys.path.append(os.path.abspath('sphinxext'))
from apigen import ApiDocWriter
#*****************************************************************************
if __name__ == '__main__':
pjoin = os.path.join
package = 'IPython'
outdir = pjoin('source','api','generated')
docwriter = ApiDocWriter(package,rst_extension='.txt')
docwriter.package_skip_patterns += [r'\.fixes$',
r'\.externals$',
r'\.Extensions',
r'\.kernel.config',
r'\.attic',
]
docwriter.module_skip_patterns += [ r'\.FakeModule',
r'\.cocoa',
r'\.ipdoctest',
r'\.Gnuplot',
]
docwriter.write_api_docs(outdir)
docwriter.write_index(outdir, 'gen',
relative_to = pjoin('source','api')
)
print '%d files written' % len(docwriter.written_modules)