Skip to content

Commit 2e901af

Browse files
committed
add some demo for cpp ptb functions and those in subfolders
1 parent f4a8c72 commit 2e901af

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

docs/source/function_description.rst

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,18 @@ The functions of our pipeline
55

66
----
77

8-
.. automodule:: src
8+
.. module:: src
99

10-
.. autofunction:: setDerivativesDir
10+
.. autofunction:: initPTB()
1111

12-
.. autofunction:: getData
12+
:func:`initPTB`
13+
14+
.. autofunction:: getExperimentStart
15+
16+
----
17+
18+
.. module:: src.keyboard
19+
20+
.. autofunction:: getResponse()
21+
22+
.. autofunction:: checkAbort()

docs/source/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Welcome to CPP_PTB's documentation!
77
===================================
88

99
.. toctree::
10-
:maxdepth: 2
10+
:maxdepth: 4
1111
:caption: Contents:
1212

1313
function_description

0 commit comments

Comments
 (0)