Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions docs/generate_eessi_testsuite_api_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@
# Skip the __main__, if there is one. This is not part of the API
elif parts[-1] == "__main__":
continue
else:
print(f"Error: No __init__ or __main__ found in {module_path} this directory, if this should be a "
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this actually raise an error? Now the code will just continue - and then run into the later (unclear) error we had before, right?

"part of docs please add an __init__.")

# Add an entry for this module to the navigation
nav[parts] = doc_path.as_posix()
Expand Down