69
69
{"name" : "API" , "url" : "https://docs.pymc.io/en/stable/api.html" },
70
70
],
71
71
"page_sidebar_items" : ["postcard" , "page-toc" , "edit-this-page" ],
72
+ "google_analytics_id" : "G-6KPRBTE6WV" ,
72
73
}
73
74
version = os .environ .get ("READTHEDOCS_VERSION" , "" )
74
75
version = version if "." in version else "main"
99
100
# "sidebar-nav-bs.html",
100
101
"postcard_categories.html" ,
101
102
"tagcloud.html" ,
102
- "sidebar-ethical-ads.html" ,
103
103
],
104
104
}
105
105
106
106
# ablog config
107
- blog_baseurl = "https://examples .pymc.io"
107
+ blog_baseurl = "https://docs .pymc.io/projects/examples/en/latest/ "
108
108
blog_title = "PyMC Examples"
109
109
blog_path = "blog"
110
110
blog_authors = {
145
145
bibtex_reference_style = "author_year"
146
146
147
147
# 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
150
149
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
- }
164
150
codeautolink_autodoc_inject = False
165
151
codeautolink_concat_default = True
166
152
@@ -172,7 +158,7 @@ def ipython_cell_transform(source):
172
158
"mpl" : ("https://matplotlib.org/" , None ),
173
159
"numpy" : ("https://numpy.org/doc/stable/" , None ),
174
160
"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 ),
176
162
"scipy" : ("https://docs.scipy.org/doc/scipy/reference/" , None ),
177
163
"xarray" : ("http://xarray.pydata.org/en/stable/" , None ),
178
164
}
0 commit comments