On Tue, Jul 6, 2010 at 17:02, DasIch <[email protected]> wrote:
> I don't see a problem with changing the behavior as you proposed in
> general but it breaks backwards compatibility

Thanks for the reply. I didn't realize that backwards compatibility
would be a problem.  Instead, what if the option to get no file suffix
could be specified in conf.py as

html_file_suffix = None 

and the rather make the following change to sphinx/builders/html.py;
current code::

        if self.config.html_file_suffix:
            self.out_suffix = self.config.html_file_suffix

Proposed update to the code (last 2 lines are the new code)::

        if self.config.html_file_suffix
            self.out_suffix = self.config.html_file_suffix
        if self.config.html_file_suffix is None:
            self.out_suffix = ""


> and the current behavior is perfectly documented.

I agree that the current behaviour is perfectly documented; however if
the change is accepted into the code, then the documentation would
have to be updated also.

Thanks for considering this,
Kevin

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