From b0622774f714a476a8d6b26c13535ed4c280dee8 Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Sun, 19 Dec 2021 16:41:12 -0600 Subject: [PATCH] Check out release version of tutorials --- docs/conf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 5bc705c09ae..d1902ab308c 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -114,10 +114,10 @@ # 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