diff --git a/doc/autobuild.py b/doc/autobuild.py index c64faa30d..54b9ef72e 100644 --- a/doc/autobuild.py +++ b/doc/autobuild.py @@ -167,7 +167,7 @@ template_examples_ref = ('# :ref:`Jump directly to Examples' def extract_summary_line(doc): if doc is None: - return + return '' for line in doc.split('\n'): line = line.strip() # don't take empty line