Hi,

I have a question about the relative paths, and hope you can help.

In ~/project/doc/ I have index.rst and model.rst (model.rst is in
toctree in index.rst).

Further, in ~/project/src/dynamics/ I have documentation.rst and
plot.png. I include documentation.rst in model.rst using its relative
path from /doc.

My question is then, is it possible somehow to include plot.png in
documentation.rst, relative to documentation.rst itself (i.e. just ..
image:: plot.png) without having to write the entire path to this
directory again in a file already in the directory?

When I do this now, I get

../src/dynamics/documentation.rst::11: WARNING: image file not
readable: plot.png

--
Anders

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to sphinx-dev@googlegroups.com.
To unsubscribe from this group, send email to 
sphinx-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en.

Reply via email to