|
48 | 48 | "sphinx_design",
|
49 | 49 | "notfound.extension",
|
50 | 50 | "sphinx_copybutton",
|
| 51 | + "sphinx_remove_toctrees", |
51 | 52 | ]
|
52 | 53 |
|
53 | 54 | # Don't auto-generate summary for class members.
|
54 | 55 | numpydoc_show_class_members = False
|
| 56 | +autosummary_generate = True |
| 57 | +autodoc_typehints = "none" |
| 58 | +remove_from_toctrees = ["**/classmethods/*"] |
| 59 | + |
| 60 | +numpydoc_xref_param_type = True |
| 61 | +# fmt: off |
| 62 | +numpydoc_xref_ignore = { |
| 63 | + "of", "or", "optional", "default", "numeric", "type", "scalar", "1D", "2D", "3D", "nD", "array", |
| 64 | + "instance" |
| 65 | +} |
| 66 | +# fmt: on |
| 67 | +numpydoc_xref_aliases = { |
| 68 | + "TensorVariable": ":class:`~aesara.tensor.TensorVariable`", |
| 69 | + "RandomVariable": ":class:`~aesara.tensor.random.RandomVariable`", |
| 70 | + "ndarray": ":class:`~numpy.ndarray`", |
| 71 | + "Covariance": ":mod:`Covariance <pymc.gp.cov>`", |
| 72 | + "Mean": ":mod:`Mean <pymc.gp.mean>`", |
| 73 | +} |
55 | 74 |
|
56 | 75 | # Show the documentation of __init__ and the class docstring
|
57 |
| -autoclass_content = "both" |
58 |
| - |
59 |
| -# Do not show the return type as seperate section |
60 |
| -napoleon_use_rtype = False |
| 76 | +# autoclass_content = "both" |
61 | 77 |
|
62 | 78 | # Add any paths that contain templates here, relative to this directory.
|
63 | 79 | templates_path = ["_templates"]
|
|
162 | 178 | "nb": ("https://pymc-examples.readthedocs.io/en/latest/", None),
|
163 | 179 | "myst": ("https://myst-parser.readthedocs.io/en/latest", None),
|
164 | 180 | "myst-nb": ("https://myst-nb.readthedocs.io/en/latest/", None),
|
| 181 | + "python": ("https://docs.python.org/3/", None), |
165 | 182 | }
|
166 | 183 |
|
167 | 184 |
|
|
195 | 212 | },
|
196 | 213 | ],
|
197 | 214 | "show_prev_next": False,
|
198 |
| - "navbar_align": "content", |
| 215 | + "navbar_align": "left", |
199 | 216 | "navbar_start": ["navbar-logo", "navbar-version"],
|
200 | 217 | "navbar_end": ["search-field.html", "navbar-icon-links.html"],
|
201 | 218 | "search_bar_text": "Search...",
|
|
0 commit comments