Skip to content

Commit

Permalink
Revert "Update __init__.py (#162)"
Browse files Browse the repository at this point in the history
This reverts commit 32f8157.
  • Loading branch information
ryanmrichard authored Aug 8, 2024
1 parent 32f8157 commit ab6ba8d
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(directory + "/index.rst")
toctree.text(os.path.join(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 ab6ba8d

Please sign in to comment.