Skip to content
Open
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
4 changes: 3 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,10 @@ def download_files_from_gallery(link, folders_in):
{% if "open-educational-resources/no_binder/" in docname %}
This example must be run locally, please
{% else %}
Open an interactive online version by clicking the badge
Open an interactive online version by clicking the mybinder.org
<span style="white-space: nowrap;"><a href="https://mybinder.org/v2/gh/pyfar/open-educational-resources/main?labpath={{ docname|e }}"><img alt="Binder badge" src="https://mybinder.org/badge_logo.svg" style="vertical-align:text-bottom"></a></span>
or Google Colab bagde
<span style="white-space: nowrap;"><a href="https://colab.research.google.com/github/pyfar/open-educational-resources/blob/main/{{ docname|e }}"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/></a>
or
{% endif %}
<a href="{{ env.docname.split('/')|last|e + '.ipynb' }}" class="reference download internal" download>download</a>
Expand Down