Skip to content

Commit

Permalink
Print message when writing doctr-versions-menu.js
Browse files Browse the repository at this point in the history
  • Loading branch information
goerz committed Mar 18, 2021
1 parent 63ec6aa commit 7a8b142
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/doctr_versions_menu/ext.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ def add_versions_menu_js_file(app):
menu_title="Doctr",
)
context.update(app.config.doctr_versions_menu_conf)
with (Path(tmpdir) / js_file_name).open('w') as js_file:
js_file_path = Path(tmpdir) / js_file_name
print("creating %s for doctr-versions-menu" % js_file_path)
with js_file_path.open('w') as js_file:
js_file.write(
renderer.render(
template_name='doctr-versions-menu.js_t', context=context
Expand Down

0 comments on commit 7a8b142

Please sign in to comment.