Skip to content

Commit

Permalink
Add retrolab support to link generator
Browse files Browse the repository at this point in the history
Fixes #224
  • Loading branch information
yuvipanda committed Nov 4, 2021
1 parent 03d82f3 commit a2d9eb2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/_static/link_gen/link.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@ var apps = {
title: 'Classic Notebook',
generateUrlPath: function (path) { return 'tree/' + path; },
},
retrolab: {
title: 'RetroLab',
generateUrlPath: function (path) { return 'retro/tree/' + path; },
},
jupyterlab: {
title: 'JupyterLab',
generateUrlPath: function (path) { return 'lab/tree/' + path; }
Expand Down
6 changes: 6 additions & 0 deletions docs/link.rst
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,12 @@ Use the following form to create your own ``nbgitpuller`` links.
Classic Jupyter Notebook
</label>
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="app" id="app-retrolab" value="retrolab">
<label class="form-check-label text-dark" for="app-retrolab">
RetroLab
</label>
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="app" id="app-jupyterlab" value="jupyterlab">
<label class="form-check-label text-dark" for="app-jupyterlab">
Expand Down

0 comments on commit a2d9eb2

Please sign in to comment.