Commit 55301ab2 authored by Jason Madden's avatar Jason Madden

Tweak generate_rst for RTD. [skip ci]

parent 381b9eec
......@@ -90,8 +90,10 @@ def generate_rst(do=True):
assert os.path.exists('contents.rst'), 'Wrong directory, contents.rst not found'
for module in modules:
if module not in SKIP:
generate_rst_for_module(module, do=do)
try:
generate_rst_for_module(module, do=do)
except ImportError as e:
print("Failed to import and generate module", module, e)
def iter_autogenerated():
for module in modules:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment