Skip to content

Commit d8a0265

Browse files
committed
[docs] Adds a basic tutorial on how to install the sagittal_average
1 parent f955bbc commit d8a0265

File tree

3 files changed

+35
-0
lines changed

3 files changed

+35
-0
lines changed

docs/how_to/index.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
How to...
2+
=========
3+
4+
.. toctree::
5+
:maxdepth: 2
6+
:caption: Guides:
7+
8+
installation
9+
10+
11+

docs/how_to/installation.rst

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
Get Started
2+
===========
3+
4+
Installation
5+
------------
6+
7+
To install this library, that's not yet on pypi you can do so by:
8+
9+
.. code-block:: bash
10+
11+
$ python -m venv brain
12+
$ . brain/bin/activate
13+
$ pip install git+git://github.com/UCL-COMP0233-24-25/sagittal_average
14+
15+
16+
Then you'll be able to use on all your 2D brain data as:
17+
18+
.. code-block:: bash
19+
20+
$ sagittal_brain.run_averages("input_file.csv", "ouput_file.csv")
21+
22+
23+
Have fun!

docs/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,5 @@ Welcome to sagittal-average's documentation!
1010
:maxdepth: 2
1111
:caption: Contents:
1212

13+
How to... <how_to/index>
1314
API <api/modules>

0 commit comments

Comments
 (0)