Thanks for the patch, I've now added it to Sphinx' trunk repo.

Merry christmas,
Georg

Christopher Schmidt schrieb:
> Hi,
> 
> When writing documentation for OpenLayers, we are working on having our
> documentation in multiple langauges. We are creating multiple files for
> each piece of OpenLayers documentation:
> 
>    index.rst
>    index.fr.rst
>    library/index.rst
>    library/index.fr.rst
> 
> Then, we are ilnking from index to library:
> 
> .. toctree::
> 
>    library/index
> 
> We have enabled "MultiViews" on the Apache server, which means that
> browsers which are configured to read French text can get French text by
> going to:
> 
>   /doc/index
>   /doc/library/index
> 
> However, it does not appear to be possible to have Sphinx generate a
> file on disk named .html, and link to a file without that suffix, at
> this time.
> 
> I would like to suggest that something along the lines of the attached
> patch be applied, which adds support for an additional option to the
> HTML writer, link_suffix. link_suffix is used to modify get_target_uri,
> and defaults to matching output_suffix.
> 
> By setting output_suffix to .html, and link_suffix to '', we can achieve
> the goals describe above with Sphinx.
> 
> This is my first time touching sphinx, so if my change is inappropriate
> in some way, I apologize, and look forward to any feedback you might
> offer.
> 
> Best Regards,
> 


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