Dan Craig schrieb:
> Hi all,
>
> I'm a total noob with Sphinx, just started playing around with it
> today, but it looks incredible. I was thinking about starting to
> write something very similar until I stumbled across this a month or
> so ago.
>
> I'm trying to get up to speed on using Sphinx, and so far so good
> until getting to the templating. I hear there is better documentation
> in the works, so that will probably help a lot. Until then, I was
> poking around trial and error.
>
> I tried creating a layout.html file under the templates directory that
> just extends the standard layout.html without modification. First,
> I'm not sure what the correct syntax for that is. So far, I've seen
>
> { #extend "layout.html"# }
> { #extend 'layout.html'# }
> { #extend !'layout.html'# }
> { extend !'layout.html' }
>
> None of which seem to work for me. When my layout.html only contains:
>
> {% extends "layout.html" %}
The correct one is {% extends "!layout.html" %} :)
I know this is a bit cryptic... but there is an example in the docs with
the exact syntax, after
"""
For example, to add a new link to the template area containing related links all
you have to do is to add a new template called ``layout.html`` with the
following contents:
"""
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
-~----------~----~----~----~------~----~------~--~---