Skip to content

Commit

Permalink
Use valid sphinx build API
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjstewart committed Dec 19, 2021
1 parent b062277 commit c2b5614
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = f"""
nbsphinx_prolog = """
{% set colab = "https://colab.research.google.com" %}
{% set repo = "microsoft/torchgeo" %}
{% set branch = "releases/v{version}" %}
{% set branch = "releases/v{{ env.config.version }}" %}
.. image:: {{ colab }}/assets/colab-badge.svg
:class: colabbadge
Expand Down

0 comments on commit c2b5614

Please sign in to comment.