Skip to content
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

FEAT: Support to specify data or support files for a notebook #107

Closed
1 task
mmcky opened this issue Sep 18, 2018 · 1 comment
Closed
1 task

FEAT: Support to specify data or support files for a notebook #107

mmcky opened this issue Sep 18, 2018 · 1 comment
Milestone

Comments

@mmcky
Copy link
Contributor

mmcky commented Sep 18, 2018

python_essentials
screenshot from 2018-09-12 11-47-23

  • @mmcky will need to review handling of static files here. We would ideally like the _static/us_cities.txt file to be available at the notebook level for this situation.

I think what we should do is add this to .. jupyter:: to specify a file dependence. In the case of a local dependency (such as a data file) we could add:

.. jupyter::
   :attachment: <reference to file>

probably shouldn't use this term as it is something we can support for markdown cells (https://nbformat.readthedocs.io/en/latest/format_description.html?highlight=attachment#cell-attachments)

or

.. jupyter::
   :file: <reference to file>
@mmcky
Copy link
Contributor Author

mmcky commented Sep 17, 2019

This has been implemented in #250. Not through a jupyter directive but as a dependency list in the conf.py file.

@mmcky mmcky closed this as completed Sep 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant