Skip to content

Commit 45d327a

Browse files
committed
Added a sphinx theme.
1 parent b4d32dc commit 45d327a

3 files changed

Lines changed: 102 additions & 2 deletions

File tree

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,15 +102,15 @@
102102

103103
# The theme to use for HTML and HTML Help pages. See the documentation for
104104
# a list of builtin themes.
105-
html_theme = 'default'
105+
html_theme = 'deis'
106106

107107
# Theme options are theme-specific and customize the look and feel of a theme
108108
# further. For a list of options available for each theme, see the
109109
# documentation.
110110
#html_theme_options = {}
111111

112112
# Add any paths that contain custom themes here, relative to this directory.
113-
#html_theme_path = []
113+
html_theme_path = ['theme']
114114

115115
# The name for this set of Sphinx documents. If None, it defaults to
116116
# "<project> v<release> documentation".

docs/theme/deis/layout.html

Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
<!DOCTYPE html>
2+
<head>
3+
<meta charset="utf-8">
4+
<meta name="google-site-verification" content="" />
5+
<title>{{ meta['title'] if meta and meta['title'] else title }} - Deis Documentation</title>
6+
<meta name="description" content="{{ meta['description'] if meta }}" />
7+
<meta name="keywords" content="{{ meta['keywords'] if meta }}" />
8+
{%- if pagename == 'index' %}
9+
<link rel="canonical" href="http://deis.io/docs/latest/">
10+
{% else %}
11+
<link rel="canonical" href="http://deis.io/docs/latest/{{ pagename }}/">
12+
{% endif %}
13+
<link rel="stylesheet" href="{{ pathto('_static/css/bootstrap.min.css', 1) }}" type="text/css" />
14+
<link rel="stylesheet" href="{{ pathto('_static/css/deis.css', 1) }}" type="text/css" />
15+
<link rel="stylesheet" href="{{ pathto('_static/css/bootstrap-responsive.min.css', 1) }}" type="text/css" />
16+
<link rel="shortcut icon" href="{{ pathto('_static/favicon.ico', 1) }}"/>
17+
{%- block extrahead %}{% endblock %}
18+
</head>
19+
20+
<body>
21+
22+
<div class="navbar navbar-fixed-top">
23+
<div class="navbar-dotcloud">
24+
<div class="container" style="text-align: center;">
25+
26+
<div style="float: right" class="pull-right">
27+
<ul class="nav">
28+
<li id="nav-introduction"><a href="http://deis.io/" title="Deis Home">Home</a></li>
29+
<li id="nav-about"><a href="http://deis.io" title="About">About</a></li>
30+
<li id="nav-documentation" class="active"><a href="http://deis.io/docs/latest/">Documentation</a></li>
31+
<li id="nav-blog"><a href="http://deis.io/blog" title="Deis Blog">Blog</a></li>
32+
</ul>
33+
</div>
34+
35+
<div style="margin-left: -12px; float: left;">
36+
<a href="http://deis.io" title="Deis Home"><img style="margin-top: 0px; height: 60px; margin-left: 10px;" src="{{ pathto('_static/img/deis_logo.png', 1) }}"></a>
37+
</div>
38+
</div>
39+
40+
</div>
41+
</div>
42+
43+
44+
<div class="container">
45+
<div class="row">
46+
<div class="span12 titlebar">
47+
<div class="pull-right" id="fork-us" style="margin-top: 16px; margin-right: 16px;">
48+
<a href="http://github.com/opdemand/deis/"><img src="{{ pathto('_static/img/fork.png', 1) }}"> Fork us on Github</a>
49+
</div>
50+
<h1 class="pageheader"><a href="http://deis.io/docs/latest/" title="Documentation" style="color: white;">DOCUMENTATION</a></h1>
51+
52+
</div>
53+
</div>
54+
55+
</div>
56+
57+
<div class="container">
58+
59+
<!-- Docs nav
60+
================================================== -->
61+
<div class="row" style="position: relative">
62+
63+
<div class="span3 sidebar bs-docs-sidebar">
64+
{{ toctree(collapse=False, maxdepth=3) }}
65+
</div>
66+
67+
<!-- body block -->
68+
<div class="span9">
69+
70+
<!-- Main section
71+
================================================== -->
72+
<section id="global" class="containerblock">
73+
{% block body %}{% endblock %}
74+
</section>
75+
76+
</div>
77+
</div>
78+
</div>
79+
80+
<div id="footer" class="container" >
81+
<div class="row">
82+
83+
<div class="span12 footer">
84+
<div class="tbox textright forceleftmargin social links pull-right">
85+
<a class="twitter" href="http://twitter.com/opdemand">Twitter</a>
86+
<a class="github" href="https://github.com/opdemand/deis/">GitHub</a>
87+
</div>
88+
89+
<a href="http://www.opdemand.com">OpDemand</a> sponsors and maintains the deis project
90+
91+
</div>
92+
</div>
93+
</div>
94+
95+
<!-- js -->
96+
<script type="text/javascript" src="/_static/js/jquery-2.0.3.js"></script>
97+
<script type="text/javascript" src="/_static/js/bootstrap.min.js"></script>
98+
99+
</body>
100+
</html>

web/static/img/fork.png

1.27 KB
Loading

0 commit comments

Comments
 (0)