On 2009-03-13, Felix Hummel wrote:

> Is it possible to link to a local non-rest file? 

Yes of course, just use the normal rst syntax for links::
  
  a link_ or an `anonymous link <myfile.sh>`_ or a link to
  `<another-file.py>`_.
  
  .. _link: ../still-another-file.tex

> My use case:

> Now I'd like to create a link from ``/tmp/test/dir/index.rst`` to
> ``some_file.sh``. I know about the ``literalinclude`` directive, but
> that's not what I'm looking for here.

Try `<some_file.sh>`_ or the :download: role (new in the SVN version of
sphinx).

Günter


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

Reply via email to