Skip to content

Commit 60b5aec

Browse files
bruAristimunhabruarisPierreGtchpre-commit-ci[bot]Copilot
authored
[MNT] Fix details of the documentation (#856)
* Release 1.4.3 (#855) * V1.4.2 (#845) * fixing the release * pushing to including the .csv * pre-commit * v 1.4.2 * Fix `SetRawAnnotations` when no stim channel (#838) * First try to fix * Add test * [pre-commit.ci] auto fixes from pre-commit.com hooks * Whats new * enforce desired event ids when creating events from annotations --------- Signed-off-by: Pierre Guetschel <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * Increase compatibility with Python 3.14 (#848) * Initial plan * Increase compatibility with Python 3.14 Co-authored-by: bruAristimunha <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: bruAristimunha <[email protected]> * Fix warnings from scikit-learn 1.8+ and introduce FixedPipeline (#850) * p * fixing number * Fix compatibility with scikit-learn 1.8 (#852) * fixing more colab issues * updating the utils * Enhance documentation and update design elements (#853) * more design details * more adjust * more adjusts * more updates * updating the readme * removing the roadmap * first round * more modification and almost done * including subject info * remove the video * more details * updating to colab * updating the citation * updating the __init__ * Macro release (#854) --------- Signed-off-by: Pierre Guetschel <[email protected]> Co-authored-by: Bru <[email protected]> Co-authored-by: Pierre Guetschel <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Copilot <[email protected]> Co-authored-by: bruAristimunha <[email protected]> * updating the md and yml * updating the DNS config * more documentation fix * checking links automatically * Update README.md Signed-off-by: Bru <[email protected]> * more fix within the links * fixing the url --------- Signed-off-by: Pierre Guetschel <[email protected]> Signed-off-by: Bru <[email protected]> Signed-off-by: Bru <[email protected]> Co-authored-by: Bruno Aristimunha <[email protected]> Co-authored-by: Pierre Guetschel <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Copilot <[email protected]>
1 parent 60f13ae commit 60b5aec

File tree

14 files changed

+165
-64
lines changed

14 files changed

+165
-64
lines changed

.github/workflows/link-check.yml

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
name: Link Check
2+
3+
on:
4+
push:
5+
branches: [develop, master]
6+
paths:
7+
- "**.md"
8+
- "docs/**"
9+
- ".github/workflows/link-check.yml"
10+
pull_request:
11+
branches: [develop]
12+
paths:
13+
- "**.md"
14+
- "docs/**"
15+
- ".github/workflows/link-check.yml"
16+
schedule:
17+
- cron: "0 0 * * 1"
18+
workflow_dispatch:
19+
20+
jobs:
21+
link-check:
22+
runs-on: ubuntu-latest
23+
steps:
24+
- name: Checkout repository
25+
uses: actions/checkout@v4
26+
27+
- name: Check links in Markdown and RST files
28+
uses: lycheeverse/lychee-action@v2
29+
with:
30+
args: >-
31+
--verbose
32+
--no-progress
33+
--accept 200,204,206,301,302,303,307,308,429
34+
--timeout 30
35+
--max-retries 3
36+
--exclude "^mailto:"
37+
--exclude "^https://github\\.com/NeuroTechX/moabb/(issues|pulls|compare)"
38+
--exclude "^https://github\\.com/.*/(fork|new)"
39+
--exclude "localhost"
40+
--exclude "127\\.0\\.0\\.1"
41+
--exclude "example\\.com"
42+
--exclude "^file://"
43+
--exclude "^git\\+"
44+
--exclude "arxiv\\.org"
45+
--exclude "twitter\\.com"
46+
--exclude "x\\.com"
47+
--exclude "linkedin\\.com"
48+
--exclude "app\\.gitter\\.im"
49+
--exclude "gitter\\.im"
50+
--exclude "gitlab\\.com"
51+
--exclude "dx\\.doi\\.org"
52+
"./**/*.md"
53+
"./**/*.rst"
54+
fail: true
55+
output: ./lychee-report.md
56+
57+
- name: Upload link check report
58+
uses: actions/upload-artifact@v4
59+
if: always()
60+
with:
61+
name: link-check-report
62+
path: ./lychee-report.md
63+
retention-days: 30
64+
65+
- name: Create issue on link check failure
66+
if: failure() && github.event_name == 'schedule'
67+
uses: actions/github-script@v7
68+
with:
69+
script: |
70+
const fs = require('fs');
71+
let report = '';
72+
try {
73+
report = fs.readFileSync('./lychee-report.md', 'utf8');
74+
} catch (e) {
75+
report = 'Could not read the link check report.';
76+
}
77+
const issues = await github.rest.issues.listForRepo({
78+
owner: context.repo.owner,
79+
repo: context.repo.repo,
80+
state: 'open',
81+
labels: 'broken-links'
82+
});
83+
if (issues.data.length === 0) {
84+
await github.rest.issues.create({
85+
owner: context.repo.owner,
86+
repo: context.repo.repo,
87+
title: 'Broken links detected in documentation',
88+
body: `## Automated Link Check Report\n\nThe weekly link check has detected broken links.\n\n<details>\n<summary>Report</summary>\n\n${report}\n\n</details>`,
89+
labels: ['broken-links', 'documentation']
90+
});
91+
}

CODE_OF_CONDUCT.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ maintainers.
5151
## Attribution
5252

5353
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
54-
available at [http://contributor-covenant.org/version/1/4][version]
54+
available at [https://www.contributor-covenant.org/version/1/4/][version]
5555

56-
[homepage]: http://contributor-covenant.org
57-
[version]: http://contributor-covenant.org/version/1/4/
56+
[homepage]: https://www.contributor-covenant.org
57+
[version]: https://www.contributor-covenant.org/version/1/4/

CONTRIBUTING.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Contributions are always welcome, no matter how small!
66

77
If you think you can help in any of the areas of MOABB (and we bet you can) or in any of
88
the many areas that we haven't yet thought of (and here we're _sure_ you can) then please
9-
check out our [roadmap](https://github.com/NeuroTechX/moabb/blob/master/ROADMAP.md).
9+
check out our [issues](https://github.com/NeuroTechX/moabb/issues).
1010

1111
Please note that it's very important to us that we maintain a positive and supportive
1212
environment for everyone who wants to participate. When you join us we ask that you follow
@@ -84,9 +84,7 @@ instruments against the code you produced.
8484

8585
For Code Quality verification, we use:
8686

87-
- [`black`](https://github.com/psf/black) - Python code formatting
88-
- [`isort`](https://github.com/timothycrosley/isort) - imports sorting and grouping
89-
- [`flake8`](https://gitlab.com/pycqa/flake8) - code style checking
87+
- [`ruff`](https://github.com/astral-sh/ruff) - Python linting and formatting
9088
- [`prettier`](https://github.com/prettier/prettier) - `.yml` and `.md` files formatting
9189
- and more checkers.
9290

README.md

Lines changed: 54 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
of freely available EEG datasets.
1212
</p>
1313
<p>
14-
<a href="https://neurotechx.github.io/moabb/">Docs</a> •
15-
<a href="https://neurotechx.github.io/moabb/install/install.html">Install</a> •
16-
<a href="https://neurotechx.github.io/moabb/auto_examples/index.html">Examples</a> •
17-
<a href="https://neurotechx.github.io/moabb/paper_results.html">Benchmark</a> •
18-
<a href="https://neurotechx.github.io/moabb/dataset_summary.html">Datasets</a>
14+
<a href="https://moabb.neurotechx.com/">Docs</a> •
15+
<a href="https://moabb.neurotechx.com/docs/install/install.html">Install</a> •
16+
<a href="https://moabb.neurotechx.com/docs/auto_examples/index.html">Examples</a> •
17+
<a href="https://moabb.neurotechx.com/docs/paper_results.html">Benchmark</a> •
18+
<a href="https://moabb.neurotechx.com/docs/dataset_summary.html">Datasets</a>
1919
</p>
2020
<p>
2121
<a href="https://doi.org/10.5281/zenodo.10034223"><img src="https://zenodo.org/badge/DOI/10.5281/zenodo.10034223.svg" alt="DOI"></a>
@@ -24,12 +24,14 @@
2424
<a href="https://pypi.org/project/moabb/"><img src="https://img.shields.io/pypi/v/moabb?label=version&color=orange&style=flat-square" alt="Version"></a>
2525
<a href="https://pypi.org/project/moabb/"><img src="https://img.shields.io/pypi/pyversions/moabb?style=flat-square" alt="Python versions"></a>
2626
<a href="https://pepy.tech/project/moabb"><img src="https://pepy.tech/badge/moabb" alt="Downloads"></a>
27+
<a href="https://github.com/NeuroTechX/moabb/actions/workflows/link-check.yml"><img src="https://github.com/NeuroTechX/moabb/actions/workflows/link-check.yml/badge.svg" alt="Link Check"></a>
2728
</p>
2829
</div>
2930

3031
## Quickstart
3132

32-
```bash
33+
34+
```shell
3335
pip install moabb
3436
```
3537

@@ -57,7 +59,8 @@ results = evaluation.process(pipelines)
5759
print(results.head())
5860
```
5961

60-
For full installation options and troubleshooting, see the docs: https://neurotechx.github.io/moabb/install/install.html
62+
For full installation options and troubleshooting, see the [documentation](https://moabb.neurotechx.com/docs/install/install.html).
63+
6164

6265
## Disclaimer
6366

@@ -103,7 +106,7 @@ state of the art by 5% ...”.
103106
This project is under the umbrella of [NeuroTechX][link_neurotechx], the international
104107
community for NeuroTech enthusiasts.
105108

106-
The Mother of all BCI Benchmarks was founded by [Alexander Barachant](http://alexandre.barachant.org/) and [Vinay Jayaram](https://vinay-jayaram.github.io/).
109+
The Mother of all BCI Benchmarks was founded by [Alexander Barachant](http://alexandre.barachant.org/) and [Vinay Jayaram][link_vinay].
107110

108111
It is currently maintained by:
109112

@@ -147,17 +150,25 @@ we're here to help.
147150

148151
If you use MOABB in your experiments, please cite MOABB and the related publications:
149152

150-
- Citation guide: https://neurotechx.github.io/moabb/cite.html
153+
📚 [Full citation guide](https://moabb.neurotechx.com/docs/cite.html)
151154

152-
<details open>
153-
<summary>Citation (APA + BibTeX)</summary>
155+
### Software Citation
154156

155-
<p><strong>APA</strong></p>
156-
<pre><code>Aristimunha, B., Carrara, I., Guetschel, P., Sedlar, S., Rodrigues, P., Sosulski, J., Narayanan, D., Bjareholt, E., Barthelemy, Q., Schirrmeister, R. T., Kobler, R., Kalunga, E., Darmet, L., Gregoire, C., Abdul Hussain, A., Gatti, R., Goncharenko, V., Andreev, A., Thielen, J., Moreau, T., Roy, Y., Jayaram, V., Barachant, A., &amp; Chevallier, S. (2025).
157-
Mother of all BCI Benchmarks (MOABB) (Version 1.4.3). Zenodo. https://doi.org/10.5281/zenodo.10034223</code></pre>
157+
#### APA Format
158+
159+
```text
160+
Aristimunha, B., Carrara, I., Guetschel, P., Sedlar, S., Rodrigues, P., Sosulski, J.,
161+
Narayanan, D., Bjareholt, E., Barthelemy, Q., Schirrmeister, R. T., Kobler, R.,
162+
Kalunga, E., Darmet, L., Gregoire, C., Abdul Hussain, A., Gatti, R., Goncharenko, V.,
163+
Andreev, A., Thielen, J., Moreau, T., Roy, Y., Jayaram, V., Barachant, A., &
164+
Chevallier, S. (2025). Mother of all BCI Benchmarks (MOABB) (Version 1.4.3).
165+
Zenodo. https://doi.org/10.5281/zenodo.10034223
166+
```
158167

159-
<p><strong>BibTeX</strong></p>
160-
<pre><code>@software{Aristimunha_Mother_of_all,
168+
#### BibTeX Format
169+
170+
```bibtex
171+
@software{Aristimunha_Mother_of_all,
161172
author = {Aristimunha, Bruno and
162173
Carrara, Igor and
163174
Guetschel, Pierre and
@@ -188,34 +199,36 @@ Mother of all BCI Benchmarks (MOABB) (Version 1.4.3). Zenodo. https://doi.org/10
188199
version = {1.4.3},
189200
url = {https://github.com/NeuroTechX/moabb},
190201
doi = {10.5281/zenodo.10034223},
191-
}</code></pre>
202+
}
203+
```
192204

193-
<p>If you want to cite the scientific contributions of MOABB, you could use the following papers:</p>
205+
### Scientific Publications
194206

195-
<blockquote>
196-
<p>
197-
Sylvain Chevallier, Igor Carrara, Bruno Aristimunha, Pierre Guetschel, Sara Sedlar, Bruna Junqueira Lopes,
198-
Sébastien Velut, Salim Khazem, Thomas Moreau<br>
199-
<a href="https://cnrs.hal.science/hal-04537061/">“The largest EEG-based BCI reproducibility study for open science: the MOABB benchmark”</a><br>
200-
HAL: hal-04537061.
201-
</p>
202-
</blockquote>
207+
If you want to cite the scientific contributions of MOABB, please use the following papers:
203208

204-
<blockquote>
205-
<p>
206-
Vinay Jayaram and Alexandre Barachant.<br>
207-
<a href="http://iopscience.iop.org/article/10.1088/1741-2552/aadea0/meta">“MOABB: trustworthy algorithm benchmarking for BCIs.”</a><br>
208-
Journal of neural engineering 15.6 (2018): 066011.<br>
209-
<a href="https://doi.org/10.1088/1741-2552/aadea0">DOI</a>
210-
</p>
211-
</blockquote>
209+
#### MOABB Benchmark Paper
210+
211+
> Sylvain Chevallier, Igor Carrara, Bruno Aristimunha, Pierre Guetschel, Sara Sedlar,
212+
> Bruna Junqueira Lopes, Sébastien Velut, Salim Khazem, Thomas Moreau
213+
>
214+
> **["The largest EEG-based BCI reproducibility study for open science: the MOABB benchmark"](https://cnrs.hal.science/hal-04537061/)**
215+
>
216+
> HAL: hal-04537061
217+
218+
#### Original MOABB Paper
219+
220+
> Vinay Jayaram and Alexandre Barachant
221+
>
222+
> **["MOABB: trustworthy algorithm benchmarking for BCIs"](https://doi.org/10.1088/1741-2552/aadea0)**
223+
>
224+
> Journal of Neural Engineering 15.6 (2018): 066011
225+
>
226+
> [DOI: 10.1088/1741-2552/aadea0](https://doi.org/10.1088/1741-2552/aadea0)
212227
213-
<p>
214-
If you publish a paper using MOABB, please contact us on Github and open an issue!
215-
We would love to hear about your work and help you promote it.
216-
</p>
228+
---
217229

218-
</details>
230+
📣 **If you publish a paper using MOABB, please [open an issue](https://github.com/NeuroTechX/moabb/issues) to let us know!**
231+
We would love to hear about your work and help you promote it.
219232

220233
## Contact us
221234

@@ -233,6 +246,6 @@ because then we can get right on it.
233246
[link_pierre]: https://www.linkedin.com/in/pierreguetschel/
234247
[link_neurotechx_signup]: https://neurotechx.com/
235248
[link_gitter]: https://app.gitter.im/#/room/#moabb_dev_community:gitter.im
236-
[link_moabb_docs]: https://neurotechx.github.io/moabb/
249+
[link_moabb_docs]: https://moabb.neurotechx.com/
237250
[link_arxiv]: https://arxiv.org/abs/1805.06427
238-
[link_jne]: http://iopscience.iop.org/article/10.1088/1741-2552/aadea0/meta
251+
[link_jne]: https://doi.org/10.1088/1741-2552/aadea0
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
If you use MOABB, remember to <a href="https://neurotechx.github.io/moabb/cite.html">cite</a>! The largest BCI EEG benchmark is out! Check the <a href="https://neurotechx.github.io/moabb/paper_results.html">results</a>.
1+
If you use MOABB, remember to <a href="https://moabb.neurotechx.com/docs/cite.html">cite</a>! The largest BCI EEG benchmark is out! Check the <a href="https://moabb.neurotechx.com/docs/paper_results.html">results</a>.

docs/source/_templates/layout.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{%- extends 'pydata_sphinx_theme/layout.html' %}
22

33
{% block extrahead %}
4-
<link rel="canonical" href="https://neurotechx.github.io/moabb/{{ pagename }}.html" />
4+
<link rel="canonical" href="https://moabb.neurotechx.com/docs/{{ pagename }}.html" />
55
{{ super() }}
66
{% endblock %}
77

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ def linkcode_resolve(domain, info): # noqa: C901
289289
html_static_path = ["_static"]
290290

291291
# Base URL for sitemap generation (required by sphinx_sitemap)
292-
html_baseurl = "https://neurotechx.github.io/moabb/"
292+
html_baseurl = "https://moabb.neurotechx.com/docs/"
293293

294294
# Sitemap configuration
295295
sitemap_url_scheme = "{link}"

docs/source/dataset_summary.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ there is a tutorial explaining how to do so, and we welcome warmly any new contr
1717

1818
It is possible to use an external dataset within MOABB as long as it is in Brain Imaging Data Structure (BIDS) format.
1919
See this `guide <https://bids-specification.readthedocs.io/en/stable/#:~:text=The%20Brain%20Imaging%20Data%20Structure%20(BIDS)%20is%20a%20simple%20and,to%20help%20implement%20the%20standard.>`__ for more information on how to structure your data according to BIDS
20-
You can use this `class <https://moabb.neurotechx.com/docs/api/generated/moabb.datasets.base.LocalBIDSDataset.html#moabb.datasets.base.LocalBIDSDataset>`__ to convert your local dataset to work within MOABB without creating a new dataset class.
20+
You can use this `class <https://moabb.neurotechx.com/docs/generated/moabb.datasets.base.LocalBIDSDataset.html>`__ to convert your local dataset to work within MOABB without creating a new dataset class.
2121

22-
See also `Datasets-Support <https://github.com/NeuroTechX/moabb/wiki/Datasets-Support>`__ for supplementary
22+
See also the `Wiki <https://github.com/NeuroTechX/moabb/wiki>`__ for supplementary
2323
detail on datasets (class name, size, licence, etc.)
2424
Dataset, #Subj, #Chan, #Classes, #Trials, Trial length, Freq, #Session, #Runs, Total_trials, PapersWithCode leaderboard
2525

@@ -163,7 +163,7 @@ currently on our radar can be seen `here <https://github.com/NeuroTechX/moabb/is
163163
but we are open to any suggestion.
164164

165165
If you want to actively contribute to inclusion of one new dataset, you can follow also this tutorial
166-
`tutorial <https://neurotechx.github.io/moabb/auto_tutorials/tutorial_4_adding_a_dataset.html>`__.
166+
`tutorial <https://moabb.neurotechx.com/docs/auto_examples/tutorials/tutorial_4_adding_a_dataset.html>`__.
167167

168168
.. raw:: html
169169

docs/source/install/install_source.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Installation from Sources
44
===========================
55

66
This guide is intended for users who want to test experimental features or contribute to MOABB’s development. If you only need the stable release, please refer to our
7-
`pip installation guide <https://neurotechx.github.io/moabb/install/install_pip.html#install-pip>`__.
7+
`pip installation guide <https://moabb.neurotechx.com/docs/install/install_pip.html#install-pip>`__.
88

99
.. note::
1010
For a straightforward MOABB installation (without development), please see the pip installation guide.

docs/source/paper_results.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ We report the results of the benchmark study performed in:
4848
Visualization of the MOABB datasets, with Motor Imagery (MI) in green, ERP in pink/purple and SSVEP in orange/brown. The size of the circle is proportional to the number of subjects and the contrast depends on the number of electrodes.
4949

5050
This study conducts an extensive Brain-computer interfaces (BCI) reproducibility analysis on open electroencephalography datasets,
51-
aiming to assess existing solutions and establish open and reproducible benchmarks for effective comparison within the field. Please note that the results are obtained using `Within-Session evaluation <http://moabb.neurotechx.com/docs/api/generated/moabb.evaluations.WithinSessionEvaluation.html>`_.
51+
aiming to assess existing solutions and establish open and reproducible benchmarks for effective comparison within the field. Please note that the results are obtained using `Within-Session evaluation <https://moabb.neurotechx.com/docs/generated/moabb.evaluations.WithinSessionEvaluation.html>`_.
5252
The results are reported regarding mean accuracy and standard deviation across all folds for all sessions and subjects.
5353

5454
If you use the same evaluation procedure, you should expect similar results if you use the same pipelines and datasets, with some minor variations due to the randomness of the cross-validation procedure.

0 commit comments

Comments
 (0)