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

Sphinx plot_directive: _images directory not copied #99

Open
0todd0000 opened this issue Mar 4, 2023 · 1 comment
Open

Sphinx plot_directive: _images directory not copied #99

0todd0000 opened this issue Mar 4, 2023 · 1 comment
Labels
information needed More details are required for clarity or further action on this issue

Comments

@0todd0000
Copy link

Hello, thank you for this excellent action!

I've only experience one problem:

I'm using Sphinx's plot_directive to create some figures, and this creates a directory called _images in the build directory (./build/html/_images). When I attempt to push the html directory to another repo using this push-to-another-repository-deploy-keys-example action, everything is copied EXCEPT the _images directory.

Is there a way to force-copy the _images directory?

Thank you!

@cpina cpina transferred this issue from cpina/push-to-another-repository-deploy-keys-example Mar 5, 2023
@cpina
Copy link
Owner

cpina commented Mar 5, 2023

Please note: I don't have constant access to a computer the next few days so I might be slow to answer.

What I've seen before with this question was that the original repo had a .gitignore that was excluding some files/directores. So the .gitignore gets copied into the "destination repo" and then the git push to the repo is ignoring the files. Could you check all your .gitignores ?

If this fails: could you post a link to the source repo so I can have a look myself? (if the source repo is public)

Cheers!

@cpina cpina added the information needed More details are required for clarity or further action on this issue label Aug 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
information needed More details are required for clarity or further action on this issue
Projects
None yet
Development

No branches or pull requests

2 participants