On Wed, Apr 24, 2013 at 4:17 AM, J Luis <[email protected]> wrote: > Hi, > > So my doc directory structure has > ...\source > ...\source\_static > ...\source\_templates > > and the HTML goes to > ...\build\html > that has > ...\build\html\_images > ...\build\html\_static > > So I declare my figures > > .. figure:: _images/fig_bla_bla.png > > which works for html if manually put the "fig_bla_bla.png" under > ...\build\html\_images > > BUT: > > 1- It doesn't avoid the WARNING: image file not readable: > _images/fig_bla_bla.png > 2- It cannot work for formats that require finding the image at compile > time (e.g. PDF) > > I've searched through the docs but found no reference whatsoever to this > matter, as if it didn't even exist. > What am I missing? How is it supposed to work and give NO (annoying) > warnings. > > Thanks > > Joaquim >
I normally put my images in what in your case would be \source\images and then refer to the images by using images/fig_bla_bla.png. See [1] for details. [1] http://sphinx-doc.org/rest.html#images -- You received this message because you are subscribed to the Google Groups "sphinx-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sphinx-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
