Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Google colab buttons for Colab option #17

Open
mmcky opened this issue Jul 2, 2023 · 4 comments
Open

Add Google colab buttons for Colab option #17

mmcky opened this issue Jul 2, 2023 · 4 comments

Comments

@mmcky
Copy link
Contributor

mmcky commented Jul 2, 2023

@HumphreyYang @Smit-create @HengchengZhang

I think we should add a small colab button to each lecture:

open with Colab

The raw html

<div align="right"><button><a href="https://colab.research.google.com/github/QuantEcon/workshop.africa-july2023/blob/main/day-01/exercise_set_1.ipynb"><img src="" heght="10px"/><img
  src="https://colab.research.google.com/assets/colab-badge.svg"
  alt="open with Colab" width="100px"/></a></button></div>

and for the ones that require collab we use


open with Colab

the raw html

<br/>
<div align="center"><button><a href="https://colab.research.google.com/github/QuantEcon/workshop.africa-july2023/blob/main/day01/exercise_set_1.ipynb"><img src="" heght="20px"/><img
  src="https://colab.research.google.com/assets/colab-badge.svg"
  alt="open with Colab" width="200px"/></a></button></div>
<br/>

This will give students the option to open that notebook in colab if they prefer.

@mmcky
Copy link
Contributor Author

mmcky commented Jul 2, 2023

The important part is to update the path to the notebook in GitHub for each badge

@mmcky
Copy link
Contributor Author

mmcky commented Jul 2, 2023

Placement:

I think they would work well as the second line below the title

@mmcky
Copy link
Contributor Author

mmcky commented Jul 2, 2023

Testing: Please test the links 🙏

@HumphreyYang
Copy link
Contributor

Hi team,

Links for week one are added. Please kindly follow this in future exercises (CC @shlff @DiaPorntipa @HengchengZhang).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants