Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Docs] Removed theme from repository #327

Open
wants to merge 5 commits into
base: melodic
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 12 additions & 5 deletions gh_pages/_templates/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
<script src="{{ pathto('_static/clipboard.min.js', 1) }}"></script>
{% endblock %}

{% block extracontent %}
<!-- Copied the 'block content' from the original sphinx_rtd_theme to insert the header -->
{%- block content %}
<div class="header-override">
<a href="http://rosindustrial.org">
<img src="{{ pathto('_static/logo.jpg', 1) }}"/>
Expand All @@ -13,15 +14,21 @@
<a href="http://rosindustrial.org">ROS-Industrial Website</a>|<a href="http://rosindustrial.org/news">Blog</a>
</p>
</div>
{% endblock %}
{{ super() }}
{%- endblock %}

{% block footer %}
<script>
var pre = document.getElementsByTagName('pre');
for (var i = 0; i < pre.length; i++) {
// Only select divs with class highlight, to prevent line number columns from
// getting a copy button.
var hls = document.querySelectorAll('div.highlight');
for (var i = 0; i < hls.length; i++) {
var button = document.createElement('button');
button.className = 'btn-copyboard fa fa-copy btn';
pre[i].before(button);
// Reset overflow to 'visible' to prevent double scrollbars from appearing
hls[i].childNodes[0].style.overflow = 'visible';
// Insert the copy button before the first child of the divs.
hls[i].insertBefore(button, hls[i].childNodes[0]);
}
var clipboard = new Clipboard('.btn-copyboard', {
target: function(trigger) {return trigger.nextElementSibling;}
Expand Down
19 changes: 0 additions & 19 deletions gh_pages/_themes/sphinx_rtd_theme/__init__.py

This file was deleted.

82 changes: 0 additions & 82 deletions gh_pages/_themes/sphinx_rtd_theme/breadcrumbs.html

This file was deleted.

52 changes: 0 additions & 52 deletions gh_pages/_themes/sphinx_rtd_theme/footer.html

This file was deleted.

Loading