We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f44b94b commit 8c94214Copy full SHA for 8c94214
pypi_index_builder/build.py
@@ -26,7 +26,8 @@ def main():
26
27
template = env.get_template("package.html")
28
for name, entries in index_data.items():
29
- with open(settings.output / f"{name}.html", "w") as package_file:
+ (settings.output / name).mkdir(exist_ok=True)
30
+ with open(settings.output / name / "index.html", "w") as package_file:
31
package_file.write(template.render(data=entries))
32
33
0 commit comments