File tree Expand file tree Collapse file tree 3 files changed +23
-0
lines changed
Expand file tree Collapse file tree 3 files changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -78,6 +78,16 @@ var apps = {
7878 title : 'JupyterLab' ,
7979 generateUrlPath : function ( path ) { return 'lab/tree/' + path ; }
8080 } ,
81+ shiny : {
82+ title : 'Shiny' ,
83+ generateUrlPath : function ( path ) {
84+ // jupyter-shiny-proxy requires everything to end with a trailing slash
85+ if ( ! path . endsWith ( "/" ) ) {
86+ path = path + "/" ;
87+ }
88+ return 'shiny/' + path ;
89+ }
90+ } ,
8191 rstudio : {
8292 title : 'RStudio' ,
8393 generateUrlPath : function ( path ) { return 'rstudio/' ; }
Original file line number Diff line number Diff line change @@ -138,6 +138,12 @@ Use the following form to create your own ``nbgitpuller`` links.
138138 RStudio
139139 </label >
140140 </div >
141+ <div class =" form-check" >
142+ <input class =" form-check-input" type =" radio" name =" app" id =" app-shiny" value =" shiny" >
143+ <label class =" form-check-label text-dark" for =" app-shiny" >
144+ Shiny
145+ </label >
146+ </div >
141147 <div class =" form-check" >
142148 <input class =" form-check-input" type =" radio" name =" app" id =" app-custom" value =" custom" >
143149 <label class =" form-check-label text-dark" for =" app-custom" >Custom URL</label >
Original file line number Diff line number Diff line change @@ -67,6 +67,13 @@ The ``%3Fautodecode`` at the end makes sure you never get `a message
6767<https://github.com/jupyterlab/jupyterlab/pull/5950> `_ about needing to
6868explicitly name a JupyterLab workspace.
6969
70+ Shiny
71+ -----
72+
73+ To open a directory containing `shiny <https://shiny.rstudio.com/ >`_ files,
74+ your pattern should be ``/shiny/<full-path-to-directory>/ ``. The trailing
75+ slash is important.
76+
7077RStudio
7178-------
7279
You can’t perform that action at this time.
0 commit comments