Hello list,
I recently picked up sphinx and really like it's structure.
Since I am in the process of learning this tool I converted my content
text to rest, which was easy enough.
Then I played around and run into template inheritance problems. I
tested different things which didn't help so I set up a very limited test.
This is what I did:
Created in source directory a .templates folder
Defined layout.html with the following content:
{%- block inherit %}{% endblock %}
Then in the same .templates folder created a file called inherit.html
with the following content:
{% extends "layout.html" %}
{%- block inherit %}<!-- this is a test -->{% endblock %}
Then I run in the project root folder:
make clean && make html
And looked at build/html/index.html
I expected to see <!-- this is a test --> in this file but it was empty.
So I am a bit confused, what did I do wrong?
--
Kind Regards,
Martin P. Hellwig
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---