Skip to content

Commit fd2a412

Browse files
authored
change codes-examples to tutorials (root-project#369)
* change codes-examples to tutorials * fix wrong link
1 parent ffe77fc commit fd2a412

File tree

4 files changed

+23
-43
lines changed

4 files changed

+23
-43
lines changed

_data/navigation.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,5 +229,5 @@ start:
229229
children:
230230
- title: Courses
231231
url: get_started/courses
232-
- title: Code Examples
233-
url: get_started/code_examples
232+
- title: Tutorials
233+
url: tutorials

get_started/code_examples.md

Lines changed: 0 additions & 29 deletions
This file was deleted.

get_started/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ different, more direct approach to the ROOT fundamental
1818
concepts as well as some hands-on exercise. In order to integrate the information present
1919
in the aforementioned sources, [this collection of ROOT courses](courses){:target="_blank"}
2020
is definitively useful. Once the fundamental concepts have been acquired, a rich set of
21-
[code examples]({{ '/get_started/code_examples' | relative_url }}) are available to dive into the code.
21+
[tutorials]({{ '/tutorials' | relative_url }}) are available to dive into the code.
2222

2323
Remember, you can always resort to the
2424
[ROOT Forum](https://root-forum.cern.ch){:target="_blank"}

tutorials/index.md

Lines changed: 20 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,28 @@
22
title: Tutorials
33
layout: single
44
sidebar:
5-
nav: "manual"
5+
nav: "start"
66
---
77

8-
ROOT offers a rich set of code examples that allow you to see ROOT's building blocks "in
9-
action", as part of more complex programs. They are separated in two categories: C++ or
10-
python scripts and Jupyter notebooks.
8+
ROOT offers a rich set of tutorials that allow you to see ROOT's building blocks "in action",
9+
as part of more complex programs. They are separated in two categories: C++ or python scripts
10+
and Jupyter notebooks.
1111

1212
The tutorials are available for all major ROOT releases.
13-
**[These](https://root.cern/doc/master/group__Tutorials.html){:target="_blank"}** are the links
14-
for the latest
15-
git snapshot. All scripts are available also in the form of a **ROOTBook** which can be
16-
visualized in
17-
[NBViewer](https://nbviewer.jupyter.org/){:target="_blank"} or tried out interactively in
18-
[SWAN](https://swan.web.cern.ch/){:target="_blank"}.
19-
Just look for these badges: <img src="{{'/assets/images/notebook.gif' | relative_url}}" style="height:1em"> <img src="{{'/assets/images/badge_swan_white_150.png' | relative_url}}" style="height:1em">
13+
**[These](https://root.cern/doc/master/group__Tutorials.html){:target="_blank"}** are the links for their
14+
latest version. Most tutorials are also available as ROOTBook which can
15+
be visualized in [NBViewer](https://nbviewer.jupyter.org/){:target="_blank"} or tried interactively in
16+
[SWAN](https://swan.web.cern.ch){:target="_blank"}. Such tutorials are marked with these badges:
17+
<img src="https://root.cern/doc/master/notebook.gif" alt="View in nbviewer" style="height:1em">
18+
<img src="https://swanserver.web.cern.ch/swanserver/images/badge_swan_white_150.png" alt="Open in SWAN" style="height:1em">
2019

20+
Once you have [properly setup the ROOT environment]({{'manual/first_steps_with_root' | relative_url }}){:target="_blank"},
21+
all the tutorials will be available on *your* machine in the `$ROOTSYS/tutorials` folder.
22+
You can then [execute/read the macros]({{'manual/first_steps_with_root/#root-macros' | relative_url }})
23+
there to learn from the examples. Do not hesitate to comment out/ add code to these tutorials
24+
macros to learn interactively how ROOT works.
25+
Among the long list of tutorials you may want to start with:
26+
[histograms](https://root.cern/doc/master/group__tutorial__hist.html){:target="_blank"},
27+
[graphs](https://root.cern/doc/master/group__tutorial__graphs.html){:target="_blank"},
28+
[graphics](https://root.cern/doc/master/group__tutorial__graphics.html){:target="_blank"} and
29+
[trees](https://root.cern/doc/master/group__tutorial__tree.html){:target="_blank"}.

0 commit comments

Comments
 (0)