There is no need to print the notebook_name, don't you think? The code looks good... This enhancement is really great for the generation of interlinked ipynb-based documents and to access to ipynb easily from iframes... I really like it!