Skip to content

Commit 0ad7324

Browse files
committed
Add retrolab support to link generator
Fixes #224
1 parent 54cba59 commit 0ad7324

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

docs/_static/link_gen/link.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,10 @@ var apps = {
8080
title: 'Classic Notebook',
8181
generateUrlPath: function (path) { return 'tree/' + path; },
8282
},
83+
retrolab: {
84+
title: 'RetroLab',
85+
generateUrlPath: function (path) { return 'retro/tree/' + path; },
86+
},
8387
jupyterlab: {
8488
title: 'JupyterLab',
8589
generateUrlPath: function (path) { return 'lab/tree/' + path; }

docs/link.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,12 @@ Use the following form to create your own ``nbgitpuller`` links.
131131
Classic Jupyter Notebook
132132
</label>
133133
</div>
134+
<div class="form-check">
135+
<input class="form-check-input" type="radio" name="app" id="app-retrolab" value="retrolab">
136+
<label class="form-check-label text-dark" for="app-retrolab">
137+
RetroLab
138+
</label>
139+
</div>
134140
<div class="form-check">
135141
<input class="form-check-input" type="radio" name="app" id="app-jupyterlab" value="jupyterlab">
136142
<label class="form-check-label text-dark" for="app-jupyterlab">

0 commit comments

Comments
 (0)