##// END OF EJS Templates
Generate docs correctly if pexpect is not available....
Fernando Perez -
Show More
@@ -58,6 +58,15 b" if __name__ == '__main__':"
58 r'\.frontend\.process\.winprocess',
58 r'\.frontend\.process\.winprocess',
59 r'\.Shell',
59 r'\.Shell',
60 ]
60 ]
61
62 # If we don't have pexpect, we can't load irunner, so skip any code that
63 # depends on it
64 try:
65 import pexpect
66 except ImportError:
67 docwriter.module_skip_patterns += [r'\.lib\.irunner',
68 r'\.testing\.mkdoctests']
69 # Now, generate the outputs
61 docwriter.write_api_docs(outdir)
70 docwriter.write_api_docs(outdir)
62 docwriter.write_index(outdir, 'gen',
71 docwriter.write_index(outdir, 'gen',
63 relative_to = pjoin('source','api')
72 relative_to = pjoin('source','api')
General Comments 0
You need to be logged in to leave comments. Login now