summaryrefslogtreecommitdiff
path: root/tests/root/testtheme
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-03-16 23:56:42 +0100
committerGeorg Brandl <georg@python.org>2009-03-16 23:56:42 +0100
commitf6e56aa1a6476048d93897a2e5a20aa376fcf1b4 (patch)
tree3ccec41501f25e8386d626a52d8d7da09040ecdc /tests/root/testtheme
parent73d7e7c709394974494fb6000c6274f07e79cce5 (diff)
parenta1691a3424ae6b91743db7f37cf4fe86f7c93760 (diff)
downloadsphinx-0.6b1.tar.gz
merge with 0.50.6b1
Diffstat (limited to 'tests/root/testtheme')
-rw-r--r--tests/root/testtheme/layout.html5
-rw-r--r--tests/root/testtheme/static/staticimg.pngbin0 -> 218 bytes
-rw-r--r--tests/root/testtheme/static/statictmpl.html_t2
-rw-r--r--tests/root/testtheme/theme.conf7
4 files changed, 14 insertions, 0 deletions
diff --git a/tests/root/testtheme/layout.html b/tests/root/testtheme/layout.html
new file mode 100644
index 00000000..81372be0
--- /dev/null
+++ b/tests/root/testtheme/layout.html
@@ -0,0 +1,5 @@
+{% extends "basic/layout.html" %}
+{% block extrahead %}
+<meta name="testopt" content="{{ theme_testopt }}" />
+{{ super() }}
+{% endblock %}
diff --git a/tests/root/testtheme/static/staticimg.png b/tests/root/testtheme/static/staticimg.png
new file mode 100644
index 00000000..1081dc14
--- /dev/null
+++ b/tests/root/testtheme/static/staticimg.png
Binary files differ
diff --git a/tests/root/testtheme/static/statictmpl.html_t b/tests/root/testtheme/static/statictmpl.html_t
new file mode 100644
index 00000000..4ab292b4
--- /dev/null
+++ b/tests/root/testtheme/static/statictmpl.html_t
@@ -0,0 +1,2 @@
+<!-- testing static templates -->
+<html><project>{{ project|e }}</project></html>
diff --git a/tests/root/testtheme/theme.conf b/tests/root/testtheme/theme.conf
new file mode 100644
index 00000000..a8776737
--- /dev/null
+++ b/tests/root/testtheme/theme.conf
@@ -0,0 +1,7 @@
+[theme]
+inherit = basic
+stylesheet = default.css
+pygments_style = emacs
+
+[options]
+testopt = optdefault