File tree Expand file tree Collapse file tree 3 files changed +15
-4
lines changed Expand file tree Collapse file tree 3 files changed +15
-4
lines changed Original file line number Diff line number Diff line change 99
1010class ModelBuilder (pm .Model ):
1111 """
12- This is a wrapper around pm.Model to give scikit-learn like API
12+ This is a wrapper around pm.Model to give scikit-learn like API.
13+
14+ :param sample_kwargs: A dictionary of kwargs that get unpacked and passed to the
15+ :func:`pymc.sample` function. Defaults to an empty dictionary.
1316 """
1417
1518 def __init__ (self , sample_kwargs : Optional [Dict [str , Any ]] = None ):
Original file line number Diff line number Diff line change 4646# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
4747
4848extensions = [
49- "sphinx.ext.mathjax" ,
49+ "myst_parser" ,
50+ "nbsphinx" ,
5051 "sphinx.ext.autodoc" ,
52+ "sphinx.ext.intersphinx" ,
53+ "sphinx.ext.mathjax" ,
5154 "sphinx_autodoc_typehints" ,
52- "nbsphinx" ,
53- "myst_parser" ,
5455]
5556
5657source_suffix = [".rst" , ".md" ]
5758templates_path = ["_templates" ]
5859exclude_patterns = ["_build" , "Thumbs.db" , ".DS_Store" ]
5960master_doc = "index"
6061
62+ # -- intersphinx config -------------------------------------------------------
63+ intersphinx_mapping = {
64+ "python" : ("https://docs.python.org/3" , None ),
65+ "pymc" : ("https://www.pymc.io/projects/docs/en/stable/" , None ),
66+ }
67+
6168# -- nbsphinx config ----------------------------------------------------------
6269# Opt out of executing the notebooks remotely. This will save time in the remote build
6370# process on readthedocs. The notebooks in /docs/notebooks will be parsed/converted,
Original file line number Diff line number Diff line change @@ -61,6 +61,7 @@ docs = ["ipykernel",
6161 " pathlib" ,
6262 " sphinx" ,
6363 " sphinx-autodoc-typehints" ,
64+ " sphinx_autodoc_defaultargs" ,
6465 " sphinx-design" ,
6566 " sphinx-rtd-theme" ,
6667 " statsmodels" ,
You can’t perform that action at this time.
0 commit comments