summaryrefslogtreecommitdiffstats
path: root/doc/source/_theme
diff options
context:
space:
mode:
authorjakedahn <jake@ansolabs.com>2012-07-11 15:33:38 -0700
committerjakedahn <jake@ansolabs.com>2012-07-11 15:34:24 -0700
commit2a909ee83d23a38e2ae7ca8002e570788674521c (patch)
treec8bd00a9961e99999218a0ef948cbb13178e5e48 /doc/source/_theme
parent4ab47ad224c422dcd96aa256740945d1e6a8a208 (diff)
downloadkeystone-2a909ee83d23a38e2ae7ca8002e570788674521c.tar.gz
keystone-2a909ee83d23a38e2ae7ca8002e570788674521c.tar.xz
keystone-2a909ee83d23a38e2ae7ca8002e570788674521c.zip
Making docs pretty!
* Before: http://stsh.me/2Qx * After: http://stsh.me/2Qy Change-Id: I80cf07e05d253f582f4bca129f0dcdba1a315469
Diffstat (limited to 'doc/source/_theme')
-rw-r--r--doc/source/_theme/layout.html39
-rw-r--r--doc/source/_theme/theme.conf7
2 files changed, 21 insertions, 25 deletions
diff --git a/doc/source/_theme/layout.html b/doc/source/_theme/layout.html
index e3eb54b7..750b7822 100644
--- a/doc/source/_theme/layout.html
+++ b/doc/source/_theme/layout.html
@@ -1,19 +1,6 @@
-{% extends "sphinxdoc/layout.html" %}
+{% extends "basic/layout.html" %}
{% set css_files = css_files + ['_static/tweaks.css'] %}
{% set script_files = script_files + ['_static/jquery.tweet.js'] %}
-{% block extrahead %}
- <script type='text/javascript'>
- $(document).ready(function(){
- $("#twitter_feed").tweet({
- username: "openstack",
- query: "from:openstack",
- avatar_size: 32,
- count: 10,
- loading_text: "loading tweets..."
- });
- });
- </script>
-{% endblock %}
{%- macro sidebar() %}
{%- if not embedded %}{% if not theme_nosidebar|tobool %}
@@ -72,15 +59,25 @@
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
{%- endif %}
-
- {%- if pagename == "index" %}
- <h3>{{ _('Twitter Feed') }}</h3>
- <div id="twitter_feed" class='twitter_feed'></div>
- {%- endif %}
-
-
{%- endblock %}
</div>
</div>
{%- endif %}{% endif %}
{%- endmacro %}
+
+{% block relbar1 %}{% endblock relbar1 %}
+
+{% block header %}
+ <div id="header">
+ <h1 id="logo"><a href="http://www.openstack.org/">OpenStack</a></h1>
+ <ul id="navigation">
+ <li><a href="http://www.openstack.org/" title="Go to the Home page" class="link">Home</a></li>
+ <li><a href="http://www.openstack.org/projects/" title="Go to the OpenStack Projects page">Projects</a></li>
+ <li><a href="http://www.openstack.org/user-stories/" title="Go to the User Stories page" class="link">User Stories</a></li>
+ <li><a href="http://www.openstack.org/community/" title="Go to the Community page" class="link">Community</a></li>
+ <li><a href="http://www.openstack.org/blog/" title="Go to the OpenStack Blog">Blog</a></li>
+ <li><a href="http://wiki.openstack.org/" title="Go to the OpenStack Wiki">Wiki</a></li>
+ <li><a href="http://docs.openstack.org/" title="Go to OpenStack Documentation" class="current">Documentation</a></li>
+ </ul>
+ </div>
+{% endblock %} \ No newline at end of file
diff --git a/doc/source/_theme/theme.conf b/doc/source/_theme/theme.conf
index e039fe01..1cc40044 100644
--- a/doc/source/_theme/theme.conf
+++ b/doc/source/_theme/theme.conf
@@ -1,5 +1,4 @@
[theme]
-inherit = sphinxdoc
-stylesheet = sphinxdoc.css
-pygments_style = friendly
-
+inherit = basic
+stylesheet = nature.css
+pygments_style = tango