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

broken path when parsing multiple images such foo.* #447

Closed
shimizukawa opened this issue Jan 2, 2015 · 3 comments
Closed

broken path when parsing multiple images such foo.* #447

shimizukawa opened this issue Jan 2, 2015 · 3 comments
Labels

Comments

@shimizukawa
Copy link
Member

Hi,

I'm using sphinx to generate html and latex documentation.
I'm interested in using the multiple image/figure ability of sphinx:

#!python

  .. figure:: ../images/fig.*

This generates the following error : //WARNING: image file not readable: images/fig.png//

if I put in the full path ../images/fig.png or ../images/fig.jpg I got no problem though. Looking at the error message, it seems that the pictures are just not found when using the //fig.*// syntax.


@shimizukawa
Copy link
Member Author

From Georg Brandl on 2010-08-05 17:32:08+00:00

This should be fixed in 1.0.2, can you retry?

@shimizukawa
Copy link
Member Author

From Georg Brandl on 2010-08-14 15:19:31+00:00

Removing version: 1.0beta (automated comment)

@shimizukawa
Copy link
Member Author

From Anonymous on 2010-09-03 21:08:18+00:00

This is still broken in 1.0.3. process_images computes the correct path from srcdir, but it appears Sphinx is using the path from srcdir as the link to the image. If you're down a level, this causes the link to be broken. I think the link needs to be computed as a relative path from the page location.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 4, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant