Skip to content

Commit

Permalink
Update __init__.py (#162)
Browse files Browse the repository at this point in the history
Fixes #161
  • Loading branch information
ryanmrichard authored Aug 8, 2024
1 parent 5155867 commit 32f8157
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cminx/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ def document(input_file: str, settings: Settings):

if recursive:
for directory in subdirs:
toctree.text(os.path.join(directory, "index.rst"))
toctree.text(directory + "/index.rst")

# Filter filenames for cmake files, then add a toctree entry
for file in [f for f in filenames if f.lower().endswith(".cmake")]:
Expand Down

0 comments on commit 32f8157

Please sign in to comment.