Stoune schrieb:
> I think that in future should be a way to define different templates
> or styles for html and html help. For example: If I build html help
> Sphinx documentation current template leave many waste place at left
> and right side, so default template not very appropriate for html
> help, but for html it looks good.

The builder name is given to the template as a variable, so you can do

{% if builder == 'htmlhelp' %}
{% else %}
{% endif %}

to distinguish between the two. (This is used in the default templates
to remove the sidebar in HTML help.)

Georg

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