Skip to content

Commit

Permalink
try link direct to colab
Browse files Browse the repository at this point in the history
  • Loading branch information
atmorling committed Sep 27, 2024
1 parent 43fe2ca commit b2bba78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
commit_id = subprocess.check_output(["git", "rev-parse", "--short", "HEAD"]).strip().decode("ascii")
nbsphinx_prolog = f"""
.. image:: https://colab.research.google.com/assets/colab-badge.svg
:target: {{{{ "https://githubtocolab.com/wildlife-dynamics/ecoscope/blob/{commit_id}/doc/source/" + env.docname + ".ipynb" }}}}
:target: {{{{ "https://colab.research.google.com/github/wildlife-dynamics/ecoscope/blob/{commit_id}/doc/source/" + env.docname + ".ipynb" }}}}
----
""" # noqa

0 comments on commit b2bba78

Please sign in to comment.