Skip to content

Commit 41d5480

Browse files
authored
[DOC] add links in doc (#1269)
* add link to openneuro and fix some sphinx warnings * add links to SPM doc
1 parent 855a567 commit 41d5480

File tree

11 files changed

+45
-21
lines changed

11 files changed

+45
-21
lines changed

demos/MoAE/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Mother of All Experiments
22

3-
This "Mother of All Experiments" is based on the block design of SPM.
3+
This ["Mother of All Experiments" is based on the block design of SPM](https://www.fil.ion.ucl.ac.uk/spm/docs/tutorials/fmri/block/).
44

55
In the `options` folder has several examples of how to encode the options of
66
your analysis in a json file.

demos/bayes/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.PHONY: clean data data_ds000001
1+
.PHONY: clean
22

33
clean:
44
rm -rf inputs
File renamed without changes.

demos/face_repetition/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Face repetition demo
22

3+
This is based on the [event related design dataset of SPM](https://www.fil.ion.ucl.ac.uk/spm/docs/tutorials/fmri/event/).
4+
5+
36
## CLI commands
47

58
### Preprocessing

docs/source/conf.py

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,18 @@
7979

8080
source_suffix = [".rst", ".md"]
8181

82-
# intersphinx_mapping = {
83-
# "bids-matlab": ("https://bids-matlab.readthedocs.io/en/main", None)
84-
# }
82+
intersphinx_mapping = {
83+
"bids-matlab": ("https://bids-matlab.readthedocs.io/en/main", None),
84+
"nilearn": ("https://nilearn.github.io/stable", None),
85+
}
86+
87+
# We recommend adding the following config value.
88+
# Sphinx defaults to automatically resolve *unresolved* labels using all your Intersphinx mappings.
89+
# This behavior has unintended side-effects, namely that documentations local references can
90+
# suddenly resolve to an external location.
91+
# See also:
92+
# https://www.sphinx-doc.org/en/master/usage/extensions/intersphinx.html#confval-intersphinx_disabled_reftypes
93+
# intersphinx_disabled_reftypes = ["*"]
8594

8695
coverage_show_missing_items = True
8796

docs/source/demos/bayesian_model_selection.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ Bayesian model selection
55

66
.. automodule:: demos.bayes
77

8-
.. autoscript:: ds000114_run
8+
.. autoscript:: ds000114_bayes_run
99

1010
.. admonition:: script
1111
:class: dropdown
1212

13-
.. literalinclude:: ../../../demos/bayes/ds000114_run.m
13+
.. literalinclude:: ../../../demos/bayes/ds000114_bayes_run.m
1414
:language: matlab
15-
:caption: demos/bayes/ds000114_run.m
15+
:caption: demos/bayes/ds000114_bayes_run.m
1616
:lines: 16-
1717

1818
.. admonition:: Default BIDS stats model

docs/source/demos/face_repetition.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Face repetition
44
***************
55

6-
This is based on the event related design dataset of SPM.
6+
This is based on the `event related design dataset of SPM <https://www.fil.ion.ucl.ac.uk/spm/docs/tutorials/fmri/event/>`_.
77

88
.. automodule:: demos.face_repetition
99

docs/source/demos/moae.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ MoAE
99
├── models
1010
└── options
1111

12-
This "Mother of All Experiments" is based on the block design dataset of SPM.
12+
This "Mother of All Experiments" is based on
13+
`the block design dataset of SPM <https://www.fil.ion.ucl.ac.uk/spm/docs/tutorials/fmri/block/>`_.
1314

1415
In the ``options`` folder has several examples of how to encode the options of your
1516
analysis in a json file.

docs/source/demos/openneuro.md

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99

1010
## ds000001: Balloon analog risk
1111

12+
- [Source dataset](https://openneuro.org/datasets/ds000001)
13+
1214
### Features
1315

1416
- one task
@@ -26,6 +28,8 @@
2628

2729
## ds000114: test-retest
2830

31+
- [Source dataset](https://openneuro.org/datasets/ds000114)
32+
2933
### Features
3034

3135
- several tasks
@@ -40,6 +44,8 @@
4044

4145
## ds000224
4246

47+
- [Source dataset](https://openneuro.org/datasets/ds000224)
48+
4349
### Scripts
4450

4551
```{eval-rst}
@@ -48,6 +54,8 @@
4854

4955
## ds001168
5056

57+
- [Source dataset](https://openneuro.org/datasets/ds001168)
58+
5159
### Features
5260

5361
- resting state
@@ -62,16 +70,10 @@
6270
.. autoscript:: ds001168_run
6371
```
6472

65-
## ds002799: NARPS
66-
67-
### Features
68-
69-
- resting state and task
70-
- several sessions
71-
- fmriprep data
72-
7373
## ds001734: NARPS
7474

75+
- [Source dataset](https://openneuro.org/datasets/ds001734)
76+
7577
### Features
7678

7779
- one task
@@ -127,3 +129,13 @@ transformers cannot yet be appled to confounds
127129
```{eval-rst}
128130
.. autoscript:: ds001734_run
129131
```
132+
133+
## ds002799
134+
135+
- [Source dataset](https://openneuro.org/datasets/ds002799)
136+
137+
### Features
138+
139+
- resting state and task
140+
- several sessions
141+
- fmriprep data

src/batches/setBatchSelectAnat.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
% :type matlabbatch: structure
1111
%
1212
% :param BIDS: dataset layout.
13-
% See: bids.layout, getData.
13+
% See: :mat:func:`+bids.layout`, :func:`getData`.
1414
%
1515
% :type BIDS: structure
1616
%

0 commit comments

Comments
 (0)