Ian Bicking schrieb:
> I want to do something like:
>
> sphinx-build -E live_site=1 ...
>
> And then do something like:
>
> {% if live_site == '1' %}
> ... google analytics code ...
> {% endif %}
>
> But I don't see a way to pass the options through to the template? Or
> is there another way to do this?
There is no really convenient way. And since I can imagine this feature
used more often, I've added it now in tip, as -A.
cheers,
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
-~----------~----~----~----~------~----~------~--~---