Hi.

I'm using Sphinx to generate documentation for my project. I'm trying
to create an external hyperlink to a text file in a directory in the
source tree.

I've tried using external hyperlinks and the doc directive:

1)
Access here the settings_
.. _settings: ../../_static/settings.sample

2)
:doc: `Settings file <../../_static/settings.sample`

The Latex exporter generates a warning in both cases:
WARNING: unusable reference target found: ../../_static/
settings.sample

The current source path is source/admin/infrastructure/tool.txt and
the _static dir is inside source dir.

I've tried using rst2pdf and it works if I use the path relative to
the sphinx-build directory (/bin). However, this also doesn't work
using Sphinx Latex exporter.

I may be wrong trying to generate a PDF with a external local link and
probably will replace with some embed command, but I'd like to know
why linking to a local document doesn't work in Sphinx (at least in
the Latex exporter). I didn't read anywhere that this is not
supported.

Thanks in advance for any help.

-- 
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