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

Static files #8

Open
jorshi opened this issue Nov 1, 2023 · 1 comment
Open

Static files #8

jorshi opened this issue Nov 1, 2023 · 1 comment

Comments

@jorshi
Copy link
Collaborator

jorshi commented Nov 1, 2023

We should decide on the main location for static files. For images it seems like the jupyter book way is to use a folder called images -- however, I ran into a bit of trouble trying to include rendered video files which I included in an HTML video tag. These files were not automatically copied into the build folder by sphinx. The sort of hacky solution was to put these into a folder called _static, which happens to be copied by sphinx build. I think this is the only way to support videos, so I went with the approach for all static files in my PR #4

@rodrigodzf
Copy link
Collaborator

I saw the same problem with an audio file just now. For most of the physical modelling part, I generated and rendered the videos within the notebook, which worked fine; however, this isn't a solution for all media content. It is probably better to address the issue once we have merged the rest of the branches.

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

No branches or pull requests

2 participants