openmm / openmm-cookbook

The OpenMM Cookbook and Tutorials
35 stars 10 forks source link

fix colab linking #15

Closed sef43 closed 1 year ago

sef43 commented 1 year ago

The open in colab link will open the dev, PR#, or latest release version. This is done using a environmental variable set during the build workflow and read by conf.py

Added some fixes to the release deployment workflow which I tested on a personal fork: https://sef43.github.io/openmm-cookbook/latest/index.html

github-actions[bot] commented 1 year ago

Example docs for this PR rendered here

sef43 commented 1 year ago

Still not working properly but needed to PR to trigger the build workflows

sef43 commented 1 year ago

@jchodera I think this now works, the colab link on this page: https://openmm.github.io/openmm-cookbook/PR15/notebooks/cookbook/first_simulation.html

is: https://colab.research.google.com/github/openmm/openmm-cookbook/blob/gh-pages/PR15/colab/notebooks/cookbook/first_simulation.ipynb

sef43 commented 1 year ago

Hi @jchodera this fixes the first item in #14, can you take a look