-
Notifications
You must be signed in to change notification settings - Fork 947
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Include example notebooks as data files in package #2831
base: main
Are you sure you want to change the base?
Include example notebooks as data files in package #2831
Conversation
fb61b21
to
239feaa
Compare
This comment has been minimized.
This comment has been minimized.
211290f
to
6ff0929
Compare
|
||
html: | ||
rm -rf ./source/notebooks/ && mkdir ./source/notebooks && cp -r ./../share/jupyter/notebook_templates/ipywidgets/* ./source/notebooks/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not very happy that we need to refer to the current (makefile) directory as .
. There is no variable storing the location of the makefile.
Note that this would likely also need a change to the |
Yes |
6ff0929
to
af7d60a
Compare
IPywidgets users who installed ipywidgets from PyPI or conda often have to consult the GitHub repository to find example notebooks.
In this PR we include the notebooks in the package as data files, so that they are installed alongside the package.
These "example notebooks" are picked up by lab extensions such as jupyterlab templates.
I would like to adopt this approach to include example notebooks with libraries.