|
65 | 65 | "sphinx_copybutton", # copy button for code blocks |
66 | 66 | "sphinxcontrib.mermaid", # mermaid support |
67 | 67 | "sphinxcontrib.towncrier.ext", # towncrier fragment support |
| 68 | + "sphinxcontrib.autodoc_pydantic", # autodoc support for pydantic models |
| 69 | + "enum_tools.autoenum", # enum support |
68 | 70 | ] |
69 | 71 |
|
70 | 72 | if use_multiversion: |
|
97 | 99 | ("py:class", "pipeline.Pipeline"), # nilearn |
98 | 100 | ("py:obj", "neurokit2.*"), # ignore neurokit2 |
99 | 101 | ("py:obj", "datalad.*"), # ignore datalad |
| 102 | + ("py:obj", "junifer.*"), # ignore junifer internal |
| 103 | + ("py:class", "annotated_types.*") # ignore pydantic annotated types |
100 | 104 | ] |
101 | 105 |
|
102 | 106 | # -- Options for HTML output ------------------------------------------------- |
|
154 | 158 | "pandas": ("https://pandas.pydata.org/pandas-docs/dev", None), |
155 | 159 | # "sqlalchemy": ("https://docs.sqlalchemy.org/en/20/", None), |
156 | 160 | "scipy": ("https://docs.scipy.org/doc/scipy/", None), |
| 161 | + "pydantic": ("https://docs.pydantic.dev/latest/", None), |
157 | 162 | } |
158 | 163 |
|
159 | 164 | # -- sphinx.ext.extlinks configuration --------------------------------------- |
|
0 commit comments