diff --git a/docs/_scripts/gen_api_pages.py b/docs/_scripts/gen_api_pages.py index 254ec24..ef64c9e 100644 --- a/docs/_scripts/gen_api_pages.py +++ b/docs/_scripts/gen_api_pages.py @@ -20,8 +20,9 @@ for path in py_files: try: path.relative_to('ckanext/list/migration') - except ValueError: continue + except ValueError: + pass module_path = path.relative_to(root).with_suffix('') doc_path = path.relative_to(root).with_suffix('.md')