This patch set adds an extension that builds HTML with clean URLs.
For example, the document foo.rst will be compiled by the
PrettyHTMLBuilder to foo/index.html. This allows users to load URLs
like http://www.example.com/foo. In order to accomplish this (and to
avoid reimplementing all of handle_page()), we first create a new
method of StandaloneHTMLBuilder that returns the desired output
filename.
With this new method, the PrettyHTMLBuilder need only override
get_target_uri() and get_outfilename(). Other extensions may find
get_outfilename() similarly useful.
The patches in this series are also available online:
Provide StandaloneHTMLBuilder.get_outfilename().
http://code.lfod.us/sphinx/rev/85f7c25d9345
Add prettyhtml:
http://code.lfod.us/sphinx/rev/17f5dbc6c30c
Thanks!
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---