Skip to content

Commit

Permalink
Exclude CustomMethods from documentation parser
Browse files Browse the repository at this point in the history
  • Loading branch information
Foereaper authored Nov 11, 2024
1 parent 39b4231 commit 51da91e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/ElunaDoc/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ def find_class_files(search_path):
# Get the current working dir and switch to the search path.
old_dir = os.getcwd()
os.chdir(search_path)
# Search for all files ending in "Methods.h".
method_file_names = glob.glob('*Methods.h')
# Search for all files ending in "Methods.h", and exclude CustomMethods.h
method_file_names = [file_name for file_name in glob.glob('*Methods.h') if file_name != 'CustomMethods.h']
# Open each file.
method_files = [open(file_name, 'r') for file_name in method_file_names]
# Go back to where we were before.
Expand Down

0 comments on commit 51da91e

Please sign in to comment.