Skip to content

Commit f61d350

Browse files
authored
[DOC] minor doc fixes (#1020)
* minor doc fixes * update badges * update ignore pattern dead links * fix dead links
1 parent 6c39a9f commit f61d350

File tree

7 files changed

+19
-11
lines changed

7 files changed

+19
-11
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ body:
4141
attributes:
4242
label: Operating system version
4343
value: |
44-
- Linux Ubuntu 18.04 "bionic beaver"
44+
- Linux Ubuntu 22.04 "jammy jellyfish"
4545
- Mac OS Version 12 "monterey"
4646
validations:
4747
required: false
@@ -114,7 +114,7 @@ body:
114114
In the MATLAB command line
115115
116116
- `[branch, commit] = getRepoInfo()`
117-
value: |
117+
placeholder: |
118118
- main 29b689dd
119119
- dev 1bda0162
120120
@@ -144,7 +144,11 @@ body:
144144
Also add the error.log that might have been generated.
145145
value: |
146146
```matlab
147-
% this is the error I got
147+
% copy the error you got below
148+
% before the three backticks (```)
149+
150+
151+
148152
149153
```
150154
validations:

.github/workflows/mlc_config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"ignorePatterns": [
33
{
4-
"pattern": "^https://www.fil.ion.ucl.ac.uk/spm"
4+
"pattern": "fil.ion.ucl.ac.uk|mybinder.org"
55
}
66
]
77
}

.pre-commit-config.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,5 +108,11 @@ repos:
108108
hooks:
109109
- id: codespell
110110

111+
# - repo: https://github.com/tcort/markdown-link-check
112+
# rev: v3.11.2
113+
# hooks:
114+
# - id: markdown-link-check
115+
# args: [-q, -c, .github/workflows/mlc_config.json]
116+
111117
ci:
112118
skip: [hadolint-docker]

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
[![miss hit](https://img.shields.io/badge/code%20style-miss_hit-000000.svg)](https://misshit.org/)
66
[![Documentation Status: main](https://readthedocs.org/projects/bidspm/badge/?version=stable)](https://bidspm.readthedocs.io/en/stable/?badge=stable)
77
[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/cpp-lln-lab/bidspm/main)
8-
[![tests](https://github.com/cpp-lln-lab/bidspm/actions/workflows/tests.yml/badge.svg)](https://github.com/cpp-lln-lab/bidspm/actions/workflows/tests.yml)
8+
[![tests matlab](https://github.com/cpp-lln-lab/bidspm/actions/workflows/tests_matlab.yml/badge.svg)](https://github.com/cpp-lln-lab/bidspm/actions/workflows/tests_matlab.yml)
9+
[![tests octave](https://github.com/cpp-lln-lab/bidspm/actions/workflows/tests_octave.yml/badge.svg)](https://github.com/cpp-lln-lab/bidspm/actions/workflows/tests_octave.yml)
910
[![codecov](https://codecov.io/gh/cpp-lln-lab/bidspm/branch/main/graph/badge.svg?token=PMQYH0DIPX)](https://codecov.io/gh/cpp-lln-lab/bidspm)
1011
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.3554331.svg)](https://doi.org/10.5281/zenodo.3554331)
1112
[![GitHub last commit](https://img.shields.io/github/last-commit/cpp-lln-lab/bidspm)](https://github.com/cpp-lln-lab/bidspm.git)

docs/generate_doc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def main():
6565
6666
.. _dev_doc:
6767
68-
developer documentation
68+
Developer documentation
6969
***********************
7070
"""
7171

docs/source/dev_doc.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
33
.. _dev_doc:
44

5-
developer documentation
5+
Developer documentation
66
***********************
77

88

src/workflows/stats/bidsRFX.m

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
function matlabbatch = bidsRFX(varargin)
22
%
3-
% - smooths all contrast images created at the subject level
4-
%
5-
% OR
63
%
74
% - creates a mean structural image and mean mask over the sample
85
%
@@ -15,7 +12,7 @@
1512
%
1613
% bidsRFX(action, opt, 'nodeName', '')
1714
%
18-
% :param action: Action to be conducted: ``'smoothContrasts'`` or ``'RFX'`` or
15+
% :param action: Action to be conducted: ``'RFX'`` or
1916
% ``'meanAnatAndMask'`` or ``'contrast'``
2017
% :type action: char
2118
%

0 commit comments

Comments
 (0)