Skip to content

Commit bac25b7

Browse files
simonGoldsteinrhaschke
authored andcommitted
Better interlink MoveIt and Tutorials websites (#344)
- MoveIt logo returns to MoveIt main site - Breadcrumbs include MoveIt main site - Remove explicit MoveIt website link - Search docs -> Search tutorials
1 parent e0b8265 commit bac25b7

3 files changed

Lines changed: 4 additions & 9 deletions

File tree

_themes/sphinx_rtd_theme/breadcrumbs.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
{% endif %}
1414
{% endif %}
1515
</li>
16-
<li><a href="{{ pathto(master_doc) }}">Docs</a> &raquo;</li>
16+
<li><a href="http://moveit.ros.org">MoveIt</a> &raquo;</li>
17+
<li><a href="{{ pathto(master_doc) }}">Tutorials</a> &raquo;</li>
1718
{% for doc in parents %}
1819
<li><a href="{{ doc.link|e }}">{{ doc.title }}</a> &raquo;</li>
1920
{% endfor %}

_themes/sphinx_rtd_theme/layout.html

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,8 @@
9898
<div class="wy-side-nav-search">
9999
{% block sidebartitle %}
100100

101-
<a href="{{ pathto(master_doc) }}">
101+
<a href="http://moveit.ros.org">
102102
<img src="{{ pathto('_static/logo.png', 1) }}"/>
103-
<span>Planning Framework</span>
104103
</a>
105104

106105
{% include "searchbox.html" %}
@@ -132,11 +131,6 @@
132131

133132
{# PAGE CONTENT #}
134133
<div class="wy-nav-content">
135-
<div class="header-override">
136-
<p>
137-
<a href="http://moveit.ros.org">MoveIt Website</a><br/>
138-
</p>
139-
</div>
140134
<div class="rst-content">
141135
{% include "breadcrumbs.html" %}
142136
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">

_themes/sphinx_rtd_theme/searchbox.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{%- if builder != 'singlehtml' %}
22
<div role="search">
33
<form id="rtd-search-form" class="wy-form" action="{{ pathto('search') }}" method="get">
4-
<input type="text" name="q" placeholder="Search docs" />
4+
<input type="text" name="q" placeholder="Search tutorials" />
55
<input type="hidden" name="check_keywords" value="yes" />
66
<input type="hidden" name="area" value="default" />
77
</form>

0 commit comments

Comments
 (0)