mirror of
https://github.com/wassname/jupyter_contrib_nbextensions.git
synced 2026-06-27 16:10:24 +08:00
[docs] log use or otherwise of symlinks in docs build
This commit is contained in:
@@ -32,11 +32,14 @@ log.info('nbext_dir = {}'.format(nbext_dir))
|
||||
|
||||
log.info('-------- commencing nbextensions install')
|
||||
log.info('---- installing nbextensions into {}'.format(nbext_dir))
|
||||
do_symlink = hasattr(os, 'symlink') and os.name not in ('nt', 'dos')
|
||||
log.info('---- {}using symlinks for install'.format(
|
||||
'' if do_symlink else 'not '))
|
||||
jupyter_contrib_nbextensions.install.toggle_install_files(
|
||||
True, logger=log,
|
||||
nbextensions_dir=nbext_dir,
|
||||
overwrite=True,
|
||||
symlink=(os.name not in ('nt', 'dos')),
|
||||
symlink=do_symlink,
|
||||
)
|
||||
log.info('-------- finished nbextensions install')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user