Hi,

We build our docs and website in >10 languages. Both in html and pdf.

In the html I want to link to a pdf of which in the name I want to use 
current language.

My idea was to set a variable in conf.py like: 'language' which I can 
set/override at sphinx-build time if I am correct, and then can use to 
construct my urls:

For pdf go to: http://example/pdf/manual_{language}.pdf

So question:
- how to get the value of 'languge' into my output
- or is there just a smarter way to solve my problem?

Regards,

Richard Duivenvoorde

ps http://www.qgis.org and http://docs.qgis.org can be added to the list of 
'build with sphinx', because.... they are build with it :-)

-- 
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/groups/opt_out.

Reply via email to