1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-20 01:14:20 +00:00

Doxygen: Don't create groups for "native" directories

This commit is contained in:
tpoole 2017-08-18 12:36:00 +01:00
parent ee205849f0
commit 6ead92430e

View file

@ -140,8 +140,15 @@ if __name__ == "__main__":
# Create a list of the directories in the module that we can use as
# subgroups and create the Doxygen group hierarchy string.
dir_contents = os.listdir(module_path)
subdirs = [x for x in dir_contents
if os.path.isdir(os.path.join(module_path, x))]
# Ignore "native" folders as these are excluded by doxygen.
try:
dir_contents.remove("native")
except ValueError:
pass
subdirs = []
for item in dir_contents:
if (os.path.isdir(os.path.join(module_path, item))):
subdirs.append(item)
module_groups = {}
for subdir in subdirs:
subgroup_name = "{n}-{s}".format(n=module_name, s=subdir)