Skip to content

Commit 46dac91

Browse files
committed
docs: update docs and add deps
1 parent 7afbd17 commit 46dac91

File tree

5 files changed

+12
-5
lines changed

5 files changed

+12
-5
lines changed

docs/api/onthefly.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ On-the-fly
55
:members:
66
:imported-members:
77

8-
.. automodule:: junifer.onthefly.brainprint
8+
.. automodule:: junifer.onthefly._brainprint
99
:members:

docs/builtin.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -158,16 +158,16 @@ Available
158158
| (subject-native or other template spaces)
159159
- Done
160160
- 0.0.4
161-
* - ``Smoothing``
161+
* - :class:`.Smoothing`
162162
- | Apply smoothing to data, particularly useful when dealing with
163163
| ``fMRIPrep``-ed data
164164
- In Progress
165165
- :gh:`161`
166-
* - ``TemporalSlicer``
166+
* - :class:`.TemporalSlicer`
167167
- Slice ``BOLD`` data temporally
168168
- | Done
169169
- :gh:`443`
170-
* - ``TemporalFilter``
170+
* - :class:`.TemporalFilter`
171171
- Filter (clean) ``BOLD`` data temporally
172172
- | Done
173173
- :gh:`432`

docs/conf.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@
6565
"sphinx_copybutton", # copy button for code blocks
6666
"sphinxcontrib.mermaid", # mermaid support
6767
"sphinxcontrib.towncrier.ext", # towncrier fragment support
68+
"sphinxcontrib.autodoc_pydantic", # autodoc support for pydantic models
69+
"enum_tools.autoenum", # enum support
6870
]
6971

7072
if use_multiversion:
@@ -97,6 +99,8 @@
9799
("py:class", "pipeline.Pipeline"), # nilearn
98100
("py:obj", "neurokit2.*"), # ignore neurokit2
99101
("py:obj", "datalad.*"), # ignore datalad
102+
("py:obj", "junifer.*"), # ignore junifer internal
103+
("py:class", "annotated_types.*") # ignore pydantic annotated types
100104
]
101105

102106
# -- Options for HTML output -------------------------------------------------
@@ -154,6 +158,7 @@
154158
"pandas": ("https://pandas.pydata.org/pandas-docs/dev", None),
155159
# "sqlalchemy": ("https://docs.sqlalchemy.org/en/20/", None),
156160
"scipy": ("https://docs.scipy.org/doc/scipy/", None),
161+
"pydantic": ("https://docs.pydantic.dev/latest/", None),
157162
}
158163

159164
# -- sphinx.ext.extlinks configuration ---------------------------------------

docs/whats_new.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ Features
146146
^^^^^^^^
147147

148148
- Introduce :func:`.normalize` and :func:`.reweight` functions for downstream
149-
BrainPrint analysis in :mod:`.onthefly.brainprint` by `Synchon Mandal`_
149+
BrainPrint analysis in :mod:`.onthefly._brainprint` by `Synchon Mandal`_
150150
(:gh:`354`)
151151
- Introduce :class:`junifer.pipeline.PipelineComponentRegistry` to centralise
152152
pipeline component management by `Synchon Mandal`_ (:gh:`362`)

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@ docs = [
9696
"sphinxcontrib-mermaid>=0.8.1,<0.10",
9797
"sphinxcontrib-towncrier==0.4.0a0",
9898
"setuptools-scm>=8",
99+
"autodoc_pydantic>=2.0.0",
100+
"enum-tools[sphinx]>=0.13.0,<0.14.0",
99101
]
100102

101103
################

0 commit comments

Comments
 (0)