6969 {"name" : "API" , "url" : "https://docs.pymc.io/en/stable/api.html" },
7070 ],
7171 "page_sidebar_items" : ["postcard" , "page-toc" , "edit-this-page" ],
72+ "google_analytics_id" : "G-6KPRBTE6WV" ,
7273}
7374version = os .environ .get ("READTHEDOCS_VERSION" , "" )
7475version = version if "." in version else "main"
99100 # "sidebar-nav-bs.html",
100101 "postcard_categories.html" ,
101102 "tagcloud.html" ,
102- "sidebar-ethical-ads.html" ,
103103 ],
104104}
105105
106106# ablog config
107- blog_baseurl = "https://examples .pymc.io"
107+ blog_baseurl = "https://docs .pymc.io/projects/examples/en/latest/ "
108108blog_title = "PyMC Examples"
109109blog_path = "blog"
110110blog_authors = {
145145bibtex_reference_style = "author_year"
146146
147147# OpenGraph config
148- # ogp_site_url = "https://predictablynoisy.com"
149- # ogp_image = "https://predictablynoisy.com/_static/profile-bw.png"
148+ # use default readthedocs integration aka no config here
150149
151- # codeautolink config
152- from IPython .core .inputtransformer2 import TransformerManager
153-
154-
155- def ipython_cell_transform (source ):
156- out = TransformerManager ().transform_cell (source )
157- return source , out
158-
159-
160- # codeautolink
161- codeautolink_custom_blocks = {
162- "ipython3" : ipython_cell_transform ,
163- }
164150codeautolink_autodoc_inject = False
165151codeautolink_concat_default = True
166152
@@ -172,7 +158,7 @@ def ipython_cell_transform(source):
172158 "mpl" : ("https://matplotlib.org/" , None ),
173159 "numpy" : ("https://numpy.org/doc/stable/" , None ),
174160 "pandas" : ("https://pandas.pydata.org/pandas-docs/stable/" , None ),
175- "pymc" : ("https://docs.pymc.io/en/stable /" , None ),
161+ "pymc" : ("https://docs.pymc.io/en/latest /" , None ),
176162 "scipy" : ("https://docs.scipy.org/doc/scipy/reference/" , None ),
177163 "xarray" : ("http://xarray.pydata.org/en/stable/" , None ),
178164}
0 commit comments