Skip to content

Commit 51434ae

Browse files
committed
Added right navigation to docs.
1 parent 5faf53f commit 51434ae

2 files changed

Lines changed: 10 additions & 7 deletions

File tree

docs/theme/deis/layout.html

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,6 @@
2222
{% else %}
2323
<link rel="canonical" href="http://deis.io/docs/latest/{{ pagename }}/">
2424
{% endif %}
25-
<style type="text/css" media="print">#wpadminbar { display:none; }</style>
26-
<style type="text/css" media="screen">
27-
html { margin-top: 28px !important; }
28-
* html body { margin-top: 28px !important; }
29-
</style>
3025
{% block extrahead %}{% endblock %}
3126
</head>
3227
<body style="zoom: 1;">
@@ -69,9 +64,12 @@
6964
</div>
7065
</div>
7166

72-
<div class="span9 hoop">
67+
<div class="span6 hoop">
7368
<div>{% block body %}{% endblock %}</div>
7469
</div>
70+
<div class="span3">
71+
{{ toctree(collapse=False, maxdepth=3) }}
72+
</div>
7573

7674
</div> <!-- .row -->
7775
</div> <!-- .main_section container-->
@@ -101,7 +99,12 @@
10199
Math, boxes.map(function() {
102100
return $(this).height();
103101
}).get());
104-
boxes.height(maxHeight);
102+
if (maxHeight < 923) {
103+
boxes.height(923);
104+
} else {
105+
boxes.height(maxHeight);
106+
}
107+
105108

106109
if (maxHeight > 800) {
107110
newMargin = maxHeight - 451 - 133 - 30;

web/static/img/social.png

3.14 KB
Loading

0 commit comments

Comments
 (0)