Skip to content

Commit

Permalink
Link SMStudio lab to getting started page
Browse files Browse the repository at this point in the history
  • Loading branch information
astonzhang committed Dec 8, 2021
1 parent 6b7b322 commit 0926468
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion static/build_html.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ done

# Add SageMaker Studio Lab buttons
for f in _build/html/chapter*/*.html; do
sed -i s/Open\ the\ notebook\ in\ Colab\<\\\/div\>\<\\\/div\>\<\\\/div\>\<\\\/h1\>/Open\ the\ notebook\ in\ Colab\<\\\/div\>\<\\\/div\>\<\\\/div\>\<a\ href=\"https:\\\/\\\/studiolab.sagemaker.aws\"\ onclick=\"captureOutboundLink\\\(\'https\:\\\/\\\/studiolab.sagemaker.aws\'\\\)\;\ return\ false\;\"\>\ \<button\ style=\"float\:right\",\ id=\"SageMaker\_Studio\_Lab\"\ class=\"mdl-button\ mdl-js-button\ mdl-button--primary\ mdl-js-ripple-effect\"\>\ \<i\ class=\"\ fas\ fa-external-link-alt\"\>\<\\\/i\>\ SageMaker\ Studio\ Lab\ \<\\\/button\>\<\\\/a\>\<div\ class=\"mdl-tooltip\"\ data-mdl-for=\"SageMaker\_Studio\_Lab\"\>\ Open\ the\ notebook\ in\ SageMaker\ Studio\ Lab\<\\\/div\>\<\\\/h1\>/g $f
sed -i s/Open\ the\ notebook\ in\ Colab\<\\\/div\>\<\\\/div\>\<\\\/div\>\<\\\/h1\>/Open\ the\ notebook\ in\ Colab\<\\\/div\>\<\\\/div\>\<\\\/div\>\<a\ href=\"https:\\\/\\\/studiolab.sagemaker.aws\\\/import\\\/github\\\/d2l-ai\\\/d2l-pytorch-sagemaker-studio-lab\\\/blob\\\/main\\\/GettingStarted-D2L.ipynb\"\ onclick=\"captureOutboundLink\\\(\'https\:\\\/\\\/studiolab.sagemaker.aws\\\/import\\\/github\\\/d2l-ai\\\/d2l-pytorch-sagemaker-studio-lab\\\/blob\\\/main\\\/GettingStarted-D2L.ipynb\'\\\)\;\ return\ false\;\"\>\ \<button\ style=\"float\:right\",\ id=\"SageMaker\_Studio\_Lab\"\ class=\"mdl-button\ mdl-js-button\ mdl-button--primary\ mdl-js-ripple-effect\"\>\ \<i\ class=\"\ fas\ fa-external-link-alt\"\>\<\\\/i\>\ SageMaker\ Studio\ Lab\ \<\\\/button\>\<\\\/a\>\<div\ class=\"mdl-tooltip\"\ data-mdl-for=\"SageMaker\_Studio\_Lab\"\>\ Open\ the\ notebook\ in\ SageMaker\ Studio\ Lab\<\\\/div\>\<\\\/h1\>/g $f
done

4 changes: 2 additions & 2 deletions static/frontpage/frontpage.html
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ <h2>Dive into Deep Learning</h2>
<h3>Announcements</h3>
<div align="left">
<ul>
<li> [Dec 2021] We added a new option to <a href="#jupyter">run this book</a> for free: check out <a href="https://studiolab.sagemaker.aws/">SageMaker Studio Lab</a>.
<li> [Dec 2021] We added a new option to <a href="#jupyter">run this book</a> for free: check out <a href="https://studiolab.sagemaker.aws/import/github/d2l-ai/d2l-pytorch-sagemaker-studio-lab/blob/main/GettingStarted-D2L.ipynb">SageMaker Studio Lab</a>.
</li>
<li> [Jul 2021] We have improved the content and added TensorFlow implementations up to Chapter 11.
To keep track of the latest updates, just follow D2L's <a href="https://github.com/d2l-ai/d2l-en">open-source project</a>.
Expand Down Expand Up @@ -331,7 +331,7 @@ <h2>Each section is an executable Jupyter notebook</h2>
<p>Run<br>locally</p>
</div>
<div class="running-item">
<a href="https://studiolab.sagemaker.aws/">
<a href="https://studiolab.sagemaker.aws/import/github/d2l-ai/d2l-pytorch-sagemaker-studio-lab/blob/main/GettingStarted-D2L.ipynb">
<img src="./_images/logos/sagemaker-studio-lab.png"/>
<p>Amazon SageMaker<br>Studio Lab</p>
</a>
Expand Down

0 comments on commit 0926468

Please sign in to comment.