Check out release version of tutorials

This commit is contained in:
Adam J. Stewart 2021-12-19 16:41:12 -06:00
Родитель c0971f4311
Коммит b0622774f7
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: C66C0675661156FC
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -114,10 +114,10 @@ nbsphinx_execute = "never"
# TODO: branch/tag should change depending on which version of docs you look at
# TODO: width option of image directive is broken, see:
# https://github.com/pytorch/pytorch_sphinx_theme/issues/140
nbsphinx_prolog = """
nbsphinx_prolog = f"""
{% set colab = "https://colab.research.google.com" %}
{% set repo = "microsoft/torchgeo" %}
{% set branch = "main" %}
{% set branch = "releases/v{version}" %}
.. image:: {{ colab }}/assets/colab-badge.svg
:class: colabbadge