@@ -166,6 +166,7 @@ const dirty: JupyterFrontEndPlugin<void> = {
166166 */
167167const info : JupyterFrontEndPlugin < JupyterLab . IInfo > = {
168168 id : '@jupyter-notebook/application-extension:info' ,
169+ description : 'Provides application information for the current notebook app.' ,
169170 autoStart : true ,
170171 provides : JupyterLab . IInfo ,
171172 activate : ( app : JupyterFrontEnd ) : JupyterLab . IInfo => {
@@ -268,6 +269,22 @@ const opener: JupyterFrontEndPlugin<void> = {
268269 } ) ;
269270 } ) ;
270271 } ,
272+ describedBy : {
273+ args : {
274+ type : 'object' ,
275+ properties : {
276+ path : {
277+ type : 'string' ,
278+ description : 'The routed URL path to handle.' ,
279+ } ,
280+ search : {
281+ type : 'string' ,
282+ description : 'The routed URL query string.' ,
283+ } ,
284+ } ,
285+ required : [ 'path' ] ,
286+ } ,
287+ } ,
271288 } ) ;
272289
273290 router . register ( { command, pattern : TREE_PATTERN } ) ;
@@ -342,6 +359,12 @@ const pages: JupyterFrontEndPlugin<void> = {
342359 execute : ( ) => {
343360 window . open ( URLExt . join ( baseUrl , 'lab' ) ) ;
344361 } ,
362+ describedBy : {
363+ args : {
364+ type : 'object' ,
365+ properties : { } ,
366+ } ,
367+ } ,
345368 } ) ;
346369 const page = PageConfig . getOption ( 'notebookPage' ) ;
347370
@@ -354,6 +377,12 @@ const pages: JupyterFrontEndPlugin<void> = {
354377 window . open ( URLExt . join ( baseUrl , 'tree' ) ) ;
355378 }
356379 } ,
380+ describedBy : {
381+ args : {
382+ type : 'object' ,
383+ properties : { } ,
384+ } ,
385+ } ,
357386 } ) ;
358387
359388 if ( palette ) {
@@ -438,6 +467,18 @@ const rendermime: JupyterFrontEndPlugin<IRenderMimeRegistry> = {
438467 } ) ;
439468 } ) ;
440469 } ,
470+ describedBy : {
471+ args : {
472+ type : 'object' ,
473+ properties : {
474+ path : {
475+ type : 'string' ,
476+ description : 'The local path to open.' ,
477+ } ,
478+ } ,
479+ required : [ 'path' ] ,
480+ } ,
481+ } ,
441482 } ) ;
442483 }
443484 return new RenderMimeRegistry ( {
@@ -649,6 +690,12 @@ const title: JupyterFrontEndPlugin<void> = {
649690 const result = await docManager . duplicate ( current . context . path ) ;
650691 await commands . execute ( 'docmanager:open' , { path : result . path } ) ;
651692 } ,
693+ describedBy : {
694+ args : {
695+ type : 'object' ,
696+ properties : { } ,
697+ } ,
698+ } ,
652699 } ) ;
653700
654701 commands . addCommand ( CommandIDs . rename , {
@@ -696,6 +743,12 @@ const title: JupyterFrontEndPlugin<void> = {
696743 skipRouting : true ,
697744 } ) ;
698745 } ,
746+ describedBy : {
747+ args : {
748+ type : 'object' ,
749+ properties : { } ,
750+ } ,
751+ } ,
699752 } ) ;
700753
701754 node . onclick = async ( ) => {
@@ -740,6 +793,12 @@ const topVisibility: JupyterFrontEndPlugin<void> = {
740793 }
741794 } ,
742795 isToggled : ( ) => top . isVisible ,
796+ describedBy : {
797+ args : {
798+ type : 'object' ,
799+ properties : { } ,
800+ } ,
801+ } ,
743802 } ) ;
744803
745804 let adjustToScreen = false ;
@@ -890,6 +949,27 @@ const sidePanelVisibility: JupyterFrontEndPlugin<void> = {
890949 }
891950 return false ;
892951 } ,
952+ describedBy : {
953+ args : {
954+ type : 'object' ,
955+ properties : {
956+ side : {
957+ type : 'string' ,
958+ enum : [ 'left' , 'right' ] ,
959+ description : 'The side panel area to toggle.' ,
960+ } ,
961+ title : {
962+ type : 'string' ,
963+ description : 'The title shown for the side panel entry.' ,
964+ } ,
965+ id : {
966+ type : 'string' ,
967+ description : 'The widget id to show or hide in the side panel.' ,
968+ } ,
969+ } ,
970+ required : [ 'side' , 'title' , 'id' ] ,
971+ } ,
972+ } ,
893973 } ) ;
894974
895975 const sidePanelMenu : { [ area in SidePanel . Area ] : IDisposable | null } = {
@@ -1057,6 +1137,17 @@ const tree: JupyterFrontEndPlugin<JupyterFrontEnd.ITreeResolver> = {
10571137
10581138 delegate . resolve ( { browser, file : PageConfig . getOption ( 'treePath' ) } ) ;
10591139 } ) as ( args : any ) => Promise < void > ,
1140+ describedBy : {
1141+ args : {
1142+ type : 'object' ,
1143+ properties : {
1144+ search : {
1145+ type : 'string' ,
1146+ description : 'The routed URL query string.' ,
1147+ } ,
1148+ } ,
1149+ } ,
1150+ } ,
10601151 } )
10611152 ) ;
10621153 set . add (
@@ -1169,6 +1260,12 @@ const zen: JupyterFrontEndPlugin<void> = {
11691260 toggleOff ( ) ;
11701261 }
11711262 } ,
1263+ describedBy : {
1264+ args : {
1265+ type : 'object' ,
1266+ properties : { } ,
1267+ } ,
1268+ } ,
11721269 } ) ;
11731270
11741271 document . addEventListener ( 'fullscreenchange' , ( ) => {
0 commit comments