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

Provide a mechanism to download data files for an example #67

Merged
merged 3 commits into from
Aug 14, 2024

Conversation

ceriottm
Copy link
Contributor

Sometimes it is just not worth setting up a zotero repo to provide a couple of small data files that are needed to run an example. With this PR, if there is a data/ folder within an example, it will be zipped and made into a download link (using the same hack that is used to provide a environment.yml link. It would be even nicer to include it in the zip file that is generated by sphinx-gallery, but seems non-trivial.

Copy link

github-actions bot commented Aug 14, 2024

Here is the build version of the cookbook in this pull request: documentation.zip, you can view it locally by unzipping documentation.zip and open the index.html with your favorite browser.

This is for small data files that are not worth making a zotero link
@DavideTisi DavideTisi merged commit 05c178f into main Aug 14, 2024
11 checks passed
@DavideTisi DavideTisi deleted the download-data branch August 14, 2024 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants