Hi
I am generating docs using rst/sphinx and am having a problem with images
in referenced files.
The include directive works well to bring in rst files, but I am not
getting the images that are themselves referenced from the included files.
My structure is like this:
/doc_a
/source
/images
picture.jpg
file.rst
includes a figure ref:
.. figure:: images/picture.jpg
/master_doc
/source
pointer_file.rst
and this file calls file.rst:
include:: ../../doc_a/source/file.rst
When I build from doc_a directory, I get text + image. All good. But when I
build from the master_doc directory, where the include directive comes in,
I get only the text and the image is missing in the build.
How can I fix this? I don't want to have to duplicate all my images in both
directories, which is the only thing that seems to work at present.
Thanks
Fiona
--
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 https://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.