You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sphinx-dev
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
sajan mushini
unread,
Mar 6, 2017, 6:42:10 PM3/6/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sphinx-users, sphin...@googlegroups.com
hey
A newbie here and I have the same issue. Any solution on this?
Regards Sajan
Komiya Takeshi
unread,
Mar 6, 2017, 8:45:44 PM3/6/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sphinx...@googlegroups.com, sphin...@googlegroups.com
Hi,
Sphinx expects the project directory contains all documents and related files.
So there are no proper way to access the images outside of the project.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sphinx-users, sphin...@googlegroups.com
We have to do this a lot since we have a library of sections that may need to be included in various documents. We handle it by creating a "links" file that contains relative paths of links that it should create under the source directory. Then we modified the make file to run a script that reads the "links" file and creates any required symbolic links. Once that is done, you other directories appear under the source directory and thus can be included.