Browse Source

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

tags/2021-05-28
tpoole 7 years ago
parent
commit
3616dae64c
1 changed files with 9 additions and 2 deletions
  1. +9
    -2
      doxygen/process_source_files.py

+ 9
- 2
doxygen/process_source_files.py 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)


Loading…
Cancel
Save