Skip to content

Commit

Permalink
Merge c32b293 into fa1cb1b
Browse files Browse the repository at this point in the history
  • Loading branch information
purva-thakre committed Jun 16, 2021
2 parents fa1cb1b + c32b293 commit 49ac6f3
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
7 changes: 7 additions & 0 deletions doc/source/_templates/breadcrumbs.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{%- extends "sphinx_rtd_theme/breadcrumbs.html" %}

{% block breadcrumbs_aside %}
{% if not meta or meta.get('github_url') != 'hide' %}
{{ super() }}
{% endif %}
{% endblock %}
13 changes: 13 additions & 0 deletions doc/source/_templates/layout.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!-- https://github.com/tholman/github-corners -->
<!-- https://stackoverflow.com/a/53329712/10241324 -->
{% extends '!layout.html' %}
{% block document %}
{{super()}}
<a href="https://github.com/qutip/qutip-qip">
<svg xmlns="http://www.w3.org/2000/svg" width="80" height="80" viewBox="0 0 250 250" fill="#6d6d6d" style="position: absolute; top: 0; right: 0">
<path d="M0 0l115 115h15l12 27 108 108V0z" fill="#fff"/>
<path class="octo-arm" d="M128 109c-15-9-9-19-9-19 3-7 2-11 2-11-1-7 3-2 3-2 4 5 2 11 2 11-3 10 5 15 9 16" style="-webkit-transform-origin: 130px 106px; transform-origin: 130px 106px"/>
<path class="octo-body" d="M115 115s4 2 5 0l14-14c3-2 6-3 8-3-8-11-15-24 2-41 5-5 10-7 16-7 1-2 3-7 12-11 0 0 5 3 7 16 4 2 8 5 12 9s7 8 9 12c14 3 17 7 17 7-4 8-9 11-11 11 0 6-2 11-7 16-16 16-30 10-41 2 0 3-1 7-5 11l-12 11c-1 1 1 5 1 5z"/>
</svg>
</a>
{% endblock %}

0 comments on commit 49ac6f3

Please sign in to comment.