|
22 | 22 | "ablog", |
23 | 23 | "myst_nb", |
24 | 24 | "generate_gallery", |
| 25 | + "sphinx_sitemap", |
25 | 26 | ] |
26 | 27 |
|
| 28 | +# Don't auto-generate summary for class members. |
| 29 | +numpydoc_show_class_members = False |
| 30 | +autosummary_generate = True |
| 31 | +autodoc_typehints = "none" |
| 32 | +remove_from_toctrees = ["**/classmethods/*"] |
| 33 | + |
| 34 | + |
27 | 35 | intersphinx_mapping = { |
28 | 36 | "jax": ("https://jax.readthedocs.io/en/latest", None), |
29 | 37 | "numpy": ("https://numpy.org/doc/stable", None), |
|
103 | 111 | # Options for HTML output |
104 | 112 | # ----------------------- |
105 | 113 |
|
106 | | -# The style sheet to use for HTML and HTML Help pages. A file of that name |
107 | | -# must exist either in Sphinx' static/ path, or in one of the custom paths |
108 | | -# given in html_static_path. |
109 | | -# html_style = 'default.css' |
110 | | -# html_theme = 'sphinxdoc' |
| 114 | +# The theme to use for HTML and HTML Help pages. See the documentation for |
| 115 | +# a list of builtin themes. |
| 116 | +html_theme = "pymc_sphinx_theme" |
| 117 | +html_logo = "images/PyTensor_RGB.svg" |
| 118 | + |
| 119 | +html_baseurl = "https://pytensor.readthedocs.io" |
| 120 | +sitemap_url_scheme = f"{{lang}}{rtd_version}/{{link}}" |
111 | 121 |
|
112 | | -# html4_writer added to Fix colon & whitespace misalignment |
113 | | -# https://github.com/readthedocs/sphinx_rtd_theme/issues/766#issuecomment-513852197 |
114 | | -# https://github.com/readthedocs/sphinx_rtd_theme/issues/766#issuecomment-629666319 |
115 | | -# html4_writer = False |
116 | 122 |
|
117 | | -html_logo = "images/PyTensor_RGB.svg" |
118 | | -html_theme = "pymc_sphinx_theme" |
119 | 123 | html_theme_options = { |
120 | 124 | "use_search_override": False, |
121 | 125 | "icon_links": [ |
|
0 commit comments