From e9d781fdff65b997fbeadb0c3a08aec7530b50f9 Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Sat, 13 Jul 2024 13:34:25 +0200 Subject: [PATCH] Single badge (to prove a point) --- docs/conf.py | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index a1695142c..e07838ca2 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -146,17 +146,6 @@ nbsphinx_prolog = """ :class: colabbadge :alt: Open in Colab :target: {{ host }}/github/{{ repo }}/blob/{{ branch }}/{{ path }} - -{% set host = "https://lightning.ai/new" %} -{% set badge = "https://pl-bolts-doc-images.s3.us-east-2.amazonaws.com" %} -{% set badge = badge ~ "/app-2/studio-badge.svg" %} -{% set repo_url = "https://github.com/" ~ repo ~ "/blob/" ~ branch ~ "/" ~ path %} -{% set repo_url = repo_url | replace(":", "%3A") | replace("/", "%2F") %} - -.. image:: {{ badge }} - :class: colabbadge - :alt: Open in Studio - :target: {{ host }}?repo_url={{ repo_url }} """ # Disables requirejs in nbsphinx to enable compatibility with the pytorch_sphinx_theme