Skip to content

Commit 9668143

Browse files
committed
bug(quickstart/links): fix quickstart links in toc
1 parent 079d4d5 commit 9668143

3 files changed

Lines changed: 6 additions & 1 deletion

File tree

themes/deis/base.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
<link rel="stylesheet" href="{{ base_url }}/static/css/bootstrap-responsive.min.css" type="text/css">
1818
<link rel="stylesheet" href="{{ base_url }}/static/css/main.css" type="text/css">
1919
<link rel="stylesheet" href="{{ base_url }}/static/css/deis-docs.css" type="text/css">
20+
<script type="text/javascript">var documentationBaseURL = "{{ base_url}}"</script>
2021
<script src="{{ base_url }}/static/js/modernizr-2.6.2-respond-1.1.0.min.js"></script>
2122
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
2223
<script>window.jQuery || document.write('<script src="{{ base_url }}/static/js/jquery-1.10.2.min.js"><\/script>')</script>

themes/deis/nav.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<ul style="display: none;"{% if nav_item.active %} class="current"{% endif %}>
66
{% for child in nav_item.children %}
77
<li class="toctree-l2{% if child.active %} current{% endif %}">
8-
<a class="reference internal{% if nav_item.active %} current{% endif %}" href="{{ child.url }}">{{ child.title }}</a>
8+
<a class="reference internal{% if nav_item.active %} current{% endif %}" id="{{ child.title }}" href="{{ child.url }}">{{ child.title }}</a>
99
</li>
1010
{% endfor %}
1111
</ul>

themes/deis/static/js/adjustments.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,5 +56,9 @@ $(function(){
5656
}
5757
});
5858

59+
$('#AWS').attr('href', documentationBaseURL + '/quickstart/provider/aws/boot/')
60+
$('#GKE').attr('href', documentationBaseURL + '/quickstart/provider/gke/boot/')
61+
$('#Vagrant').attr('href', documentationBaseURL + '/quickstart/provider/vagrant/boot/')
62+
5963
$(window).resize(set_columns);
6064
});

0 commit comments

Comments
 (0)