Skip to content

Commit 3e91aab

Browse files
m-filadpiparo
authored andcommitted
fix broken links
1 parent 9279d32 commit 3e91aab

File tree

11 files changed

+23
-23
lines changed

11 files changed

+23
-23
lines changed

for_developers/root7/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@ Building from source would look similar to this:
3434
## ROOT 7 Features
3535

3636
ROOT's new interface personality is already in production with {% include ref class="RDataFrame" namespace="ROOT" %}.
37-
Next up is the `TTree` successor {% include ref class="RNTuple" namespace="ROOT::Experimental" %}.
37+
Next up is the `TTree` successor {% include ref class="RNTuple" namespace="ROOT" %}.
3838

3939

4040
Still in the design phase are ROOT's new graphics and histogram packages, with tutorials such as
41-
for [ROOT 7 graphics](https://github.com/root-project/root/tree/master/tutorials/rcanvas),
42-
for [histograms and ntuple](https://github.com/root-project/root/tree/master/tutorials/v7),
43-
and specifically for [drawing and styling the new histograms](https://github.com/root-project/root/blob/master/tutorials/rcanvas/rh1.cxx).
41+
for [ROOT 7 graphics](https://github.com/root-project/root/tree/master/tutorials/experimental/rcanvas),
42+
for histograms and ntuple,
43+
and specifically for [drawing and styling the new histograms](https://github.com/root-project/root/blob/master/tutorials/experimental/rcanvas/rh1.cxx).
4444

4545
## RBrowser
4646

manual/data_frame/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ RDataFrame provides the necessary methods to perform all operations required by
2020

2121
Every RDataFrame program follows this workflow:
2222

23-
1. Construct a dataframe object by specifying a dataset. RDataFrame supports single TTrees as well as multiple TTrees (i.e., {% include ref class="TChain" %}), [CSV files](https://root.cern/doc/master/df014__CSVDataSource_8C.html), [SQLite files](https://root.cern/doc/master/df027__SQliteDependencyOverVersion_8C.html), [RNTuples](https://root.cern/doc/master/structROOT_1_1Experimental_1_1RNTuple.html), and it can be extended to custom data formats. From Python, [NumPy arrays can be imported into RDataFrame](https://root.cern/doc/master/df032__RDFFromNumpy_8py.html) as well.
23+
1. Construct a dataframe object by specifying a dataset. RDataFrame supports single TTrees as well as multiple TTrees (i.e., {% include ref class="TChain" %}), [CSV files](https://root.cern/doc/master/df014__CSVDataSource_8C.html), [SQLite files](https://root.cern/doc/master/df027__SQliteDependencyOverVersion_8C.html), [RNTuples](https://root.cern/doc/master/classROOT_1_1RNTuple.html), and it can be extended to custom data formats. From Python, [NumPy arrays can be imported into RDataFrame](https://root.cern/doc/master/df032__RDFFromNumpy_8py.html) as well.
2424

2525
2. Transform the dataframe by:
2626

@@ -73,7 +73,7 @@ df2.Snapshot("newtree", "newfile.root", ("x","y"))
7373
{% endhighlight %}
7474

7575

76-
Some Python functions can be injected into RDataFrame thanks to [Numba](https://numba.pydata.org), see [this tutorial](https://root.cern/doc/master/pyroot004__NumbaDeclare_8py.html).
76+
Some Python functions can be injected into RDataFrame thanks to [Numba](https://numba.pydata.org), see [this tutorial](https://root.cern/doc/master/df038__NumbaDeclare_8py.html).
7777

7878
For more examples see [the RDataFrame tutorials](https://root.cern/doc/master/group__tutorial__dataframe.html){:target="_blank"}.
7979

manual/embed_root_in_gui/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ In the past we [described](https://root-forum.cern.ch/t/how-to-embed-a-tcanvas-i
1616
caption="TCanvas embedded in a Qt application."
1717
%}
1818

19-
In this case we recommend to embed the new web-based widgets in [Qt](https://www.qt.io/) application using QWebEngine, as described in [this page](https://github.com/root-project/root/tree/master/tutorials/webgui/qt5web)
19+
In this case we recommend to embed the new web-based widgets in [Qt](https://www.qt.io/) application using QWebEngine, as described in [this page](https://github.com/root-project/root/tree/master/tutorials/visualisation/webgui/qtweb)
2020

2121
{% include figure_image
2222
img="qt_rcanvas.png"

manual/graphics/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ method:
128128
- _Arrows_: Use {% include ref class="TArrow" %} to create an arrow.
129129
- _Polylines_: Use {% include ref class="TPolyLine" %} to create a polyline.
130130
- _Ellipses_: Use {% include ref class="TEllipse" %} to create an ellipse.
131-
- _Rectangles_: Use {% include ref class="TBox" %} or {% include ref class="TWBox" %} to create a rectangle.
131+
- _Rectangles_: Use {% include ref class="TBox" %} or {% include ref class="TWbox" %} to create a rectangle.
132132
- _Markers_: Use {% include ref class="TMarker" %} to create a marker.
133133
- _Curly lines and arcs_: Use {% include ref class="TCurlyLine" %} and {% include ref class="TCurlyArc" %} to create curly lines and arcs for Feynman diagrams.
134134
- _Text and Latex_: Use {% include ref class="TText" %} to draw simple text. {% include ref class="TLatex" %} for complex text like mathematical formulas. Text can be embedded in a box using {% include ref class="TPaveLabel" %}, {% include ref class="TPaveText" %} and {% include ref class="TPavesText" %}.
@@ -338,10 +338,10 @@ _**Example**_
338338
### Drawing an axis independently of a graph or a histogram
339339

340340
- Use the {% include ref class="TGaxis" %} class to draw an axis
341-
[independently of a graph or a histogram](https://root.cern/doc/master/xyplot_8C.html).
341+
[independently of a graph or a histogram](https://root.cern/doc/master/hist055__Graphics__xyplot_8C.html).
342342

343343
This may be useful if you want to draw a
344-
[supplementary axis](https://root.cern/doc/master/twoscales_8C.html) for a plot.
344+
[supplementary axis](https://root.cern/doc/master/hist010__TH1__two__scales_8C.html) for a plot.
345345

346346

347347
## Legends

manual/histograms/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ standard multi-dimensional histogram plots such as scatter plots.
6666
- {% include ref class="TProfile3D" %} is a profile histogram for (X,Y,Z,T) data to display the mean value of T and its error for each cell in X,Y,Z.
6767

6868
Profile plots have the option to display instead of the default sample mean error the sample standard deviation (the spread of the data). A similar plot to a profile, which shows the quantiles of the
69-
Y input data, is the candle plot, called also box plot, (see [tutorial](https://root.cern/doc/master/candleplot_8C.html)), which can be obtained directly from the 2D histogram using the `candle`
69+
Y input data, is the candle plot, called also box plot, (see [tutorial](https://root.cern/doc/master/hist049__Graphics__candle__plot_8C.html)), which can be obtained directly from the 2D histogram using the `candle`
7070
draw option.
7171

7272

@@ -101,11 +101,11 @@ ROOT supports also automatic binning, see [Histograms with automatic bins](https
101101
**Re-binning**
102102

103103
You can re-bin a histogram via the [TH1::Rebin()](https://root.cern/doc/master/classTH1.html#aff6520fdae026334bf34fa1800946790){:target="_blank"} method. It returns a new histogram with the re-binned contents. If bin errors were stored, they are recomputed during the re-binning.
104-
You can see this [tutorial](https://root.cern/doc/master/rebin_8C.html) as a re-binning example.
104+
You can see this [tutorial](https://root.cern/doc/master/hist013__TH1__rebin_8C.html) as a re-binning example.
105105

106106
### Stack of histograms
107107

108-
{% include ref class="THStack" %} is a collection of {% include ref class="TH1" %} or {% include ref class="TH2" %} histograms. The tutorial {%include tutorial name="hstack" %} is a good example of how using the `THStack` class.
108+
{% include ref class="THStack" %} is a collection of {% include ref class="TH1" %} or {% include ref class="TH2" %} histograms. The tutorial {%include tutorial name="hist023_THStack_simple" %} is a good example of how using the `THStack` class.
109109

110110
## Working with histograms
111111

manual/jsroot/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The flexible and powerful [JSROOT API](https://root.cern/js/latest/api.htm) used
1616
The JSROOT code, documentation, and many examples can be found on the [JSROOT website](https://root.cern/js/),
1717
with many [examples](https://root.cern/js/latest/examples.htm).
1818
Its source code repository is [in GitHub](https://github.com/root-project/jsroot/) and there is also a
19-
[reference guide](https://root.cern/js/latest/jsdoc/JSROOT.html).
19+
[reference guide](https://github.com/root-project/jsroot/blob/master/docs/JSROOT.md).
2020

2121
## Users's Guide
2222

@@ -43,7 +43,7 @@ Here is a couple of *interactive* examples you can also find in the [main JSROOT
4343

4444
In the [JSROOT user's guide](https://github.com/root-project/jsroot/blob/master/docs/JSROOT.md), there is also a [short introduction](https://github.com/root-project/jsroot/blob/master/docs/JSROOT.md#use-with-openui5) on using JSROOT with [OpenUI5](https://openui5.org/) to create interactive Web based GUI. [OpenUI5](https://openui5.org/) is a web toolkit for developers to ease and speed up the development of full-blown HTML5 web applications. You can find its impressive list of controls [here](https://openui5.hana.ondemand.com/controls)
4545

46-
The association of JSROOT and OpenUI5 allowed us to create the new web based [RCanvas](https://root.cern/doc/master/classROOT_1_1Experimental_1_1RCanvas.html) and [RBrowser](https://root.cern/doc/master/classROOT_1_1Experimental_1_1RBrowser.html) classes.
46+
The association of JSROOT and OpenUI5 allowed us to create the new web based [RCanvas](https://root.cern/doc/master/classROOT_1_1Experimental_1_1RCanvas.html) and [RBrowser](https://root.cern/doc/master/classROOT_1_1RBrowser.html) classes.
4747

4848
{% include figure_image
4949
img="rcanvas.png"

manual/python/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ PyROOT is compatible with both Python2 (>= 2.7) and Python3.
1818
1919
Since ROOT 6.22, PyROOT has extensive support for *modern C++* (it operates on top of [cppyy](https://cppyy.readthedocs.io/){:target="_blank"}), is more *pythonic* and is able to *interoperate* with widely-used Python data-science libraries (for example, [NumPy](https://numpy.org/){:target="_blank"}, [pandas](https://pandas.pydata.org/){:target="_blank"}, [Numba](https://numba.pydata.org/){:target="_blank"}).
2020

21-
{% include tutorials name="PyROOT" url="pyroot" %}
21+
Many ROOT [tutorials]({{'tutorials' | relative_url }}){:target="_blank"} are also available in Python. These tutorials are listed alongside their C++ counterparts in their respective tutorial categories, making it easy to explore both versions.
2222

2323
## Getting started
2424

@@ -427,7 +427,7 @@ len(container) # TypeError: object of type 'MyContainer' has no len()
427427
# pythonize MyClass by adding `__len__` and binding it to `GetSize`
428428
from ROOT import pythonization
429429
@pythonization("MyContainer")
430-
def pythonize_two_classes(klass):
430+
def pythonize_length(klass):
431431
klass.__len__ = klass.GetSize
432432

433433
container = ROOT.MyContainer()
@@ -436,7 +436,7 @@ len(container) # 0
436436

437437
The very same mechanism is used internally in ROOT to pythonize ROOT classes, and it can be applied to user classes too since ROOT v6.26.
438438

439-
A more thorough explanation of the `@pythonization` decorator, its parameters and more examples of usage can be found in the tutorial {% include tutorial_py name="pyroot002_pythonizationDecorator" %}.
439+
A more thorough explanation of the `@pythonization` decorator, its parameters and more examples of usage can be found in the [Python interface documentation](https://root.cern/doc/master/group__Pythonizations.html).
440440

441441

442442
## TPython: running Python from C++
@@ -483,7 +483,7 @@ Two kernels (or language flavours) allow to use ROOT from Jupyter: *Python* (2 a
483483

484484
- SWAN: CERN provides an online service to create and run Jupyter notebooks, called [SWAN](https://swan.cern.ch){:target="_blank"}. With this option no installation is required: a browser and a working Internet connection are enough. Both the Python and C++ kernels are available in SWAN.
485485

486-
Many ROOT tutorials are available as Jupyter notebooks. For example, most [PyROOT tutorials](https://root.cern/doc/master/group__tutorial__pyroot.html){:target="_blank"} are listed with two buttons below to obtain their notebook version and to open them in SWAN, respectively.
486+
Many ROOT [tutorials]({{'tutorials' | relative_url }}){:target="_blank"} are available as Jupyter notebooks than can accessed with two buttons below each tutorial to download their notebook version or open them in SWAN, respectively.
487487

488488
### JavaScript graphics
489489

manual/root_architecture_and_components/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ _**Example**_
154154
{% endhighlight %}
155155

156156

157-
{% include ref class="TRandomRanluxpp" %} is another generator based on [Ranlux++]( {{ 'blog/ranluxpp' | relative_url }} ).
157+
[TRandomRanluxpp](https://root.cern/doc/master/TRandomGen_8h.html#a2ff32c3c0c95530bafbb80ca5116b679) is another generator based on [Ranlux++]( {{ 'blog/ranluxpp' | relative_url }} ).
158158

159159
### gEnv
160160

manual/tmva/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ above mentioned machine learning techniques. The package includes:
2929
- Rectangular cut optimisation
3030
- Support Vector Machine (SVM)
3131

32-
{% include tutorials name="TMVA" url="tmva" %}
32+
{% include tutorials name="Machine learning" url="ml" %}
3333

3434
### Ingesting a dataset for training in TMVA
3535

manual/trees/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ In addition to the documentation in this manual, we recommend to take a look at
2323

2424
> **RNTuple**
2525
>
26-
> [RNTuple](https://root.cern/doc/master/md_tree_2ntuple_2v7_2doc_2README.html){:target="_blank"} is the experimental evolution of {% include ref class="TTree" %} columnar data storage. {% include ref class="RNTuple" namespace="ROOT::Experimental" %} introduces robust interfaces, a high-performance storage layout, and an asynchronous, thread-safe scheduling.
26+
> [RNTuple](https://root.cern/doc/master/md_tree_2ntuple_2v7_2doc_2README.html){:target="_blank"} is the experimental evolution of {% include ref class="TTree" %} columnar data storage. {% include ref class="RNTuple" namespace="ROOT" %} introduces robust interfaces, a high-performance storage layout, and an asynchronous, thread-safe scheduling.
2727
2828
> **RDataFrame**
2929
>

0 commit comments

Comments
 (0)