|
44 | 44 | "sphinxext.rediraffe", |
45 | 45 | ] |
46 | 46 |
|
47 | | -# Add any paths that contain templates here, relative to this directory. |
48 | | -templates_path = ['_templates'] |
49 | | - |
50 | 47 | # List of patterns, relative to source directory, that match files and |
51 | 48 | # directories to ignore when looking for source files. |
52 | 49 | # This pattern also affects html_static_path and html_extra_path. |
|
61 | 58 |
|
62 | 59 | # -- Options for extensions |
63 | 60 |
|
64 | | -jupyter_execute_notebooks = "auto" |
65 | | -execution_excludepatterns = ["*.ipynb"] |
| 61 | +nb_execution_mode = "auto" |
| 62 | +nb_execution_excludepatterns = ["*.ipynb"] |
66 | 63 | myst_enable_extensions = ["colon_fence", "deflist", "dollarmath", "amsmath"] |
67 | 64 |
|
68 | 65 | intersphinx_mapping = { |
@@ -128,49 +125,19 @@ def setup(app): |
128 | 125 | ogp_image = "https://www.pymc.io/_static/PyMC.jpg" |
129 | 126 | ogp_use_first_image = True |
130 | 127 |
|
131 | | -ogp_custom_meta_tags = [ |
132 | | - # TODO: add fancy twitter specific metadata |
133 | | - # '<meta property="og:ignore_canonical" content="true" />', |
134 | | -] |
135 | | - |
136 | 128 | # -- Options for HTML output ------------------------------------------------- |
137 | 129 |
|
138 | 130 | # The theme to use for HTML and HTML Help pages. See the documentation for |
139 | 131 | # a list of builtin themes. |
140 | 132 | # |
141 | | -html_theme = "pydata_sphinx_theme" |
| 133 | +html_theme = "pymc_sphinx_theme" |
142 | 134 | # Add any paths that contain custom static files (such as style sheets) here, |
143 | 135 | # relative to this directory. They are copied after the builtin static files, |
144 | 136 | # so a file named "default.css" will overwrite the builtin "default.css". |
145 | 137 |
|
146 | 138 | html_theme_options = { |
147 | | - "icon_links": [ |
148 | | - { |
149 | | - "name": "GitHub", |
150 | | - "url": "https://github.com/pymc-devs/pymc", |
151 | | - "icon": "fab fa-github-square", |
152 | | - }, |
153 | | - { |
154 | | - "name": "Twitter", |
155 | | - "url": "https://twitter.com/pymc_devs", |
156 | | - "icon": "fab fa-twitter-square", |
157 | | - }, |
158 | | - { |
159 | | - "name": "YouTube", |
160 | | - "url": "https://www.youtube.com/c/PyMCDevelopers", |
161 | | - "icon": "fab fa-youtube", |
162 | | - }, |
163 | | - { |
164 | | - "name": "Discourse", |
165 | | - "url": "https://discourse.pymc.io", |
166 | | - "icon": "fab fa-discourse", |
167 | | - }, |
168 | | - ], |
169 | | - "use_edit_page_button": True, |
170 | | - "navbar_end": ["search-field.html", "navbar-icon-links.html"], |
171 | | - "page_sidebar_items": ["page-toc", "edit-this-page", "donate"], |
172 | | - "search_bar_text": "Search...", |
173 | 139 | "show_nav_level": 2, |
| 140 | + "navbar_start": ["navbar-logo"], |
174 | 141 | } |
175 | 142 | html_context = { |
176 | 143 | "github_user": "pymc-devs", |
|
0 commit comments