Skip to content

Commit

Permalink
Single badge (to prove a point)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjstewart committed Jul 13, 2024
1 parent 5d83a77 commit e9d781f
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,17 +146,6 @@
: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
Expand Down

0 comments on commit e9d781f

Please sign in to comment.