From ed975b448e72005135ae22c6976ad45400f6dca5 Mon Sep 17 00:00:00 2001 From: Shabda Raaj Date: Sun, 13 Dec 2009 18:53:56 +0530 Subject: [PATCH] Added themes. --- .gitignore | 0 CONTRIB | 0 LICENSE | 0 Makefile | 0 README | 0 source/conf.py | 6 +- source/contents.txt | 0 source/index.txt | 0 source/misc.txt | 0 source/models.txt | 0 source/templates.txt | 0 source/urls.txt | 0 source/views.txt | 0 source/workflow.txt | 0 themes/sphinxdoc2/layout.html | 35 +++ themes/sphinxdoc2/static/contents.png | Bin 0 -> 202 bytes themes/sphinxdoc2/static/navigation.png | Bin 0 -> 218 bytes themes/sphinxdoc2/static/sphinxdoc.css | 323 ++++++++++++++++++++++++ themes/sphinxdoc2/theme.conf | 4 + 19 files changed, 364 insertions(+), 4 deletions(-) mode change 100644 => 100755 .gitignore mode change 100644 => 100755 CONTRIB mode change 100644 => 100755 LICENSE mode change 100644 => 100755 Makefile mode change 100644 => 100755 README mode change 100644 => 100755 source/conf.py mode change 100644 => 100755 source/contents.txt mode change 100644 => 100755 source/index.txt mode change 100644 => 100755 source/misc.txt mode change 100644 => 100755 source/models.txt mode change 100644 => 100755 source/templates.txt mode change 100644 => 100755 source/urls.txt mode change 100644 => 100755 source/views.txt mode change 100644 => 100755 source/workflow.txt create mode 100644 themes/sphinxdoc2/layout.html create mode 100644 themes/sphinxdoc2/static/contents.png create mode 100644 themes/sphinxdoc2/static/navigation.png create mode 100644 themes/sphinxdoc2/static/sphinxdoc.css create mode 100644 themes/sphinxdoc2/theme.conf diff --git a/.gitignore b/.gitignore old mode 100644 new mode 100755 diff --git a/CONTRIB b/CONTRIB old mode 100644 new mode 100755 diff --git a/LICENSE b/LICENSE old mode 100644 new mode 100755 diff --git a/Makefile b/Makefile old mode 100644 new mode 100755 diff --git a/README b/README old mode 100644 new mode 100755 diff --git a/source/conf.py b/source/conf.py old mode 100644 new mode 100755 index 80cd806..2ca40b0 --- a/source/conf.py +++ b/source/conf.py @@ -80,10 +80,8 @@ # Options for HTML output # ----------------------- -# The style sheet to use for HTML and HTML Help pages. A file of that name -# must exist either in Sphinx' static/ path, or in one of the custom paths -# given in html_static_path. -html_style = 'default.css' +html_theme = "sphinxdoc2" +html_theme_path = ["../themes/"] # The name for this set of Sphinx documents. If None, it defaults to # " v documentation". diff --git a/source/contents.txt b/source/contents.txt old mode 100644 new mode 100755 diff --git a/source/index.txt b/source/index.txt old mode 100644 new mode 100755 diff --git a/source/misc.txt b/source/misc.txt old mode 100644 new mode 100755 diff --git a/source/models.txt b/source/models.txt old mode 100644 new mode 100755 diff --git a/source/templates.txt b/source/templates.txt old mode 100644 new mode 100755 diff --git a/source/urls.txt b/source/urls.txt old mode 100644 new mode 100755 diff --git a/source/views.txt b/source/views.txt old mode 100644 new mode 100755 diff --git a/source/workflow.txt b/source/workflow.txt old mode 100644 new mode 100755 diff --git a/themes/sphinxdoc2/layout.html b/themes/sphinxdoc2/layout.html new file mode 100644 index 0000000..0056613 --- /dev/null +++ b/themes/sphinxdoc2/layout.html @@ -0,0 +1,35 @@ +{% extends "basic/layout.html" %} + +{# put the sidebar before the body #} +{% block sidebar1 %} + +{{ sidebar() }} + +{% endblock %} +{% block sidebar2 %}{% endblock %} + +{% block footer %} +