Skip to content

Commit

Permalink
docs: conf.py dont shadow project variable
Browse files Browse the repository at this point in the history
  • Loading branch information
pd0wm committed Jan 4, 2022
1 parent 9f70bea commit 9720dbe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,14 +111,14 @@

parent_dir_abs = os.path.dirname(f)
parent_dir = parent_dir_abs[len(BASEDIR) + 1:]
project = parent_dir.replace('/', '_')
print(f"\tFOUND: {f} in {project}")
parent_project = parent_dir.replace('/', '_')
print(f"\tFOUND: {f} in {parent_project}")

breathe_srcs_list.append(file)
found = True

if found:
breath_src[project] = (parent_dir_abs, breathe_srcs_list)
breath_src[parent_project] = (parent_dir_abs, breathe_srcs_list)
breathe_projects_source.update(breath_src)

print(f"breathe_projects_source: {breathe_projects_source.keys()}")
Expand Down

0 comments on commit 9720dbe

Please sign in to comment.