Hi,

I have two separate Sphinx projects:

acme/en
acme/es

They are symmetric, so any .rst file in acme/en is also present in acme/es.

Now I would like to link from any .html file in the build docs from acme/en 
to the built file with the same name from acme/es, and viceversa. What I 
want is a hyperlink in the built docs, so I suppose this is a job for 
templates.

For instance, in en/build/html/basic_concepts.html I want a link to 
es/build/htmlbasic_concepts.html, and viceversa. So I think I need the 
following:

1) How do I obtain the name of the current (built) document in the template?
2) How do I specify a path relative to a common location for a whole 
project, like acme/en, the root of one of my projects?

I thought "pathto()" would do what I want, but I can't figure out how to 
make it use the name of the current document.

Thanks!

Guillermo

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