Make glob pattern recursive (#13)

This commit is contained in:
Jared Dillard
2025-05-18 13:50:29 -07:00
committed by GitHub
parent 8d17c022ee
commit bca0c418d6
+1 -1
View File
@@ -106,7 +106,7 @@ class LLMSFullManager:
# Collect all available source files
txt_files = {}
for f in sources_dir.glob("*.txt"):
for f in sources_dir.glob("**/*.txt"):
logger.debug(f"sphinx-llms-txt: Found source file: {f.stem} at {f}")
txt_files[f.stem] = f