Hi,
I'm trying to add a relative URL entry to a toctree directive so I can 
refer users from the documentation to API reference that is created using 
another tool.
I plan to have a directory structure like this:

/1.0.0/doc - the docs url
/1.0.0/doc/api - the API reference

I prefer to use relative path so I don't have to change the full URL each 
time we change version.

I even try to use |version| variable inside the URL but fail to do so.

This works, but it makes me using an absolute URL:
.. toctree::
   :maxdepth: 2

   getting-started
   example-projects
   glossary
   Link text <http://company.com/0.4.3/doc/api/>


Thank you,
Ido

-- 
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 http://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to