Skip to content

Commit 7a6bb98

Browse files
committed
Improve api.htm - use shorter links and new superimpose syntax
1 parent f481fc3 commit 7a6bb98

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

docs/api.htm

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -152,22 +152,22 @@ <h1 id="version"><a href=".." style="color:green">JSROOT</a></h1>
152152
],
153153
'httpserver.C' : [
154154
{ link: 'https://github.com/root-mirror/root/blob/master/tutorials/http/httpserver.C' },
155-
{ name: "Default page", url: "httpserver.C/index.htm", title : "Default HTML page of running httpserver.C macro (snapshot)" },
156-
{ name: "Sub-folder", url: "httpserver.C/Files/job1.root/index.htm", title : "Browse server objects from sub-folder" },
157-
{ name: "Display item", url: "httpserver.C/index.htm?item=Files/job1.root/hpxpy&opt=colz&monitoring=1000", title : "Display histogram and enable monitoring (not updating while snapshot is used)" },
155+
{ name: "Default page", url: "httpserver.C/", title : "Default HTML page of running httpserver.C macro (snapshot)" },
156+
{ name: "Sub-folder", url: "httpserver.C/Files/job1.root/", title : "Browse server objects from sub-folder" },
157+
{ name: "Display item", url: "httpserver.C/?item=Files/job1.root/hpxpy&opt=colz&monitoring=1000", title : "Display histogram and enable monitoring (not updating while snapshot is used)" },
158158
{ name: "No browser (1)", url: "httpserver.C/Files/job1.root/hpxpy/draw.htm?opt=colz", title : "Display item without browser, using provided draw.htm page" },
159-
{ name: "No browser (2)", url: "httpserver.C/index.htm?nobrowser&item=Files/job1.root/hpxpy&opt=colz", title : "Display item without browser, using nobrowser option and normal UI" },
159+
{ name: "No browser (2)", url: "httpserver.C/?nobrowser&item=Files/job1.root/hpxpy&opt=colz", title : "Display item without browser, using nobrowser option and normal UI" },
160160
{ name: "Produce PNG", url: "httpserver.C/Files/job1.root/hpxpy/root.png", title : "Use normal ROOT drawing to produce PNG image" },
161-
{ name: "Access object members", url: "httpserver.C/index.htm?item=Canvases/c1/fPrimitives/hpx", title : "Show histogram from TCanvas lists of primitives (all other objects not cached in this example)" },
161+
{ name: "Access object members", url: "httpserver.C/?item=Canvases/c1/fPrimitives/hpx", title : "Show histogram from TCanvas lists of primitives (all other objects not cached in this example)" },
162162
{ name: "Get object title", url: "httpserver.C/Files/job1.root/hpxpy/exe.json?method=GetTitle", title : "Access object methods with exe.json request" },
163-
{ name: "Tree player", url: "httpserver.C/index.htm?item=Files/job1.root/ntuple", title : "Custom UI to execute TTree::Draw on running application" },
164-
{ name: "Read file", url: "httpserver.C/index.htm?file=../../files/hsimple.root&layout=grid2x2&items=[hsimple.root/hpx;1,hsimple.root/hpxpy;1,job1/Files/job1.root/hpx,job1/Files/job1.root/hpxpy]&opts=[hist,col,hist,col]", title : "Show histograms from ROOT file and THttpServer" },
165-
{ name: "Superimpose", url: "httpserver.C/index.htm?file=../../files/hsimple.root&item=job1/Files/job1.root/hpx+hsimple.root/hpx;1&opt=logy", title : "Superimpose objects from ROOT file and online server" }
163+
{ name: "Tree player", url: "httpserver.C/?item=Files/job1.root/ntuple", title : "Custom UI to execute TTree::Draw on running application" },
164+
{ name: "Read file", url: "httpserver.C/?file=../../files/hsimple.root&layout=grid2x2&items=[hsimple.root/hpx;1,hsimple.root/hpxpy;1,job1/Files/job1.root/hpx,job1/Files/job1.root/hpxpy]&opts=[hist,col,hist,col]", title : "Show histograms from ROOT file and THttpServer" },
165+
{ name: "Superimpose", url: "httpserver.C/?file=../../files/hsimple.root&item=[job1/Files/job1.root/hpx,hsimple.root/hpx;1]&opt=logy", title : "Superimpose objects from ROOT file and online server" }
166166
],
167167
'httpcontrol.C' : [
168168
{ link: 'https://github.com/root-mirror/root/blob/master/tutorials/http/httpcontrol.C' },
169-
{ name: "Default page", url: "httpcontrol.C/index.htm", title : "Default HTML page of running httpscontrol.C macro (snapshot)" },
170-
{ name: "Text output", url: "httpcontrol.C/index.htm?layout=simple&item=Debug&monitoring=0", title : "Custom text output, using MathJax.js; also disable default monitoring" },
169+
{ name: "Default page", url: "httpcontrol.C/", title : "Default HTML page of running httpscontrol.C macro (snapshot)" },
170+
{ name: "Text output", url: "httpcontrol.C/?layout=simple&item=Debug&monitoring=0", title : "Custom text output, using MathJax.js; also disable default monitoring" },
171171
{ name: "Text output (2)", url: "httpcontrol.C/Debug/draw.htm", title : "Custom text output without browser" }
172172
],
173173
'Go4ExampleSimple' : [

0 commit comments

Comments
 (0)