Skip to content

Commit 5986937

Browse files
committed
update docs
1 parent 39e65b6 commit 5986937

File tree

4 files changed

+18
-9
lines changed

4 files changed

+18
-9
lines changed

docs/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
build

docs/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
## Set up virtual environment
44

55
```bash
6-
virtualenv -p python3 your_repo_name
7-
source your_repo_name/bin/activate
6+
virtualenv -p python3.8 env
7+
source env/bin/activate
88

99
pip install -r requirements.txt
1010
```

docs/source/conf.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,11 @@
1717

1818
# -- Project information -----------------------------------------------------
1919

20-
project = 'your repo name'
21-
copyright = 'you'
22-
author = 'you'
20+
project = 'spm_2_bids'
21+
author = 'Rémi Gau'
2322

2423
# The full version, including alpha/beta/rc tags
25-
release = 'v0.0.0'
24+
release = 'v0.1.0'
2625

2726

2827
# -- General configuration ---------------------------------------------------
@@ -53,6 +52,8 @@
5352
# source_suffix = ['.rst', '.md']
5453
source_suffix = '.rst'
5554

55+
autodoc_member_order = 'bysource'
56+
5657

5758
# -- Options for HTML output -------------------------------------------------
5859

@@ -64,7 +65,7 @@
6465
# Add any paths that contain custom static files (such as style sheets) here,
6566
# relative to this directory. They are copied after the builtin static files,
6667
# so a file named "default.css" will overwrite the builtin "default.css".
67-
html_static_path = ['_static']
68+
# html_static_path = ['_static']
6869

6970
# html_logo = '_static/logo.png'
7071

docs/source/index.rst

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.. cpp_bids documentation master file
22
3-
Welcome to CPP BIDS documentation!
4-
**********************************
3+
Welcome to spm_2_bids documentation!
4+
************************************
55

66
.. toctree::
77
:maxdepth: 2
@@ -12,11 +12,18 @@ Welcome to CPP BIDS documentation!
1212
``spm_2_bids`` only provides names to use but does not actually rename the files.
1313

1414
.. automodule:: src
15+
1516
.. autofunction:: spm_2_bids
1617

1718
.. automodule:: src.defaults
19+
1820
.. autofunction:: check_cfg
1921

22+
.. autoclass:: Mapping
23+
:members:
24+
25+
26+
2027

2128
Indices and tables
2229
==================

0 commit comments

Comments
 (0)