We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a40f650 commit 20cb5c3Copy full SHA for 20cb5c3
scripts.py
@@ -141,7 +141,7 @@ def generate_docusaurus():
141
content = f.read_text(encoding="utf-8")
142
safe_content = clean_mdx_content(content)
143
rel_path = f.relative_to(input)
144
- dest_path = out / rel_path.with_suffix("") / "index.md"
+ dest_path = out / rel_path.parent / rel_path.stem / "index.md"
145
dest_path.parent.mkdir(parents=True, exist_ok=True)
146
147
dest_path.write_text(safe_content, encoding="utf-8")
0 commit comments