|
40 | 40 |
|
41 | 41 |
|
42 | 42 | release = __version__
|
| 43 | +version = release |
43 | 44 |
|
44 | 45 | # -- General configuration ---------------------------------------------------
|
45 | 46 | # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
|
|
132 | 133 | # -- Options for HTML output -------------------------------------------------
|
133 | 134 | # https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
|
134 | 135 |
|
135 |
| -html_theme = "pydata_sphinx_theme" |
| 136 | +html_theme = "labs_sphinx_theme" |
136 | 137 | html_static_path = ["_static"]
|
137 |
| -html_css_files = ["custom.css"] |
138 | 138 | html_favicon = "_static/favicon_logo.png"
|
139 | 139 | # Theme options are theme-specific and customize the look and feel of a theme
|
140 | 140 | # further. For a list of options available for each theme, see the
|
141 | 141 | # documentation.
|
142 | 142 | html_theme_options = {
|
143 | 143 | "logo": {
|
144 |
| - "image_light": "_static/logo.png", |
145 |
| - "image_dark": "_static/logo.png", |
| 144 | + "image_light": "_static/flat_logo.png", |
| 145 | + "image_dark": "_static/flat_logo_darkmode.png", |
146 | 146 | },
|
147 |
| - "navbar_align": "right", |
148 |
| - "navbar_start": ["navbar-logo", "navbar-name"], |
149 |
| - "navbar_end": ["theme-switcher"], |
150 |
| - "footer_start": ["copyright", "footer-links"], |
151 |
| - "footer_end": ["sphinx-version", "theme-version"], |
152 |
| - "github_url": "https://github.com/pymc-labs/CausalPy", |
153 |
| - "twitter_url": "https://twitter.com/pymc_labs", |
154 |
| - "icon_links": [ |
155 |
| - { |
156 |
| - "name": "LinkedIn", |
157 |
| - "url": "https://www.linkedin.com/company/pymc-labs/", |
158 |
| - "icon": "fa-brands fa-linkedin", |
159 |
| - "type": "fontawesome", |
160 |
| - }, |
161 |
| - { |
162 |
| - "name": "MeetUp", |
163 |
| - "url": "https://www.meetup.com/pymc-labs-online-meetup/", |
164 |
| - "icon": "fa-brands fa-meetup", |
165 |
| - "type": "fontawesome", |
166 |
| - }, |
167 |
| - { |
168 |
| - "name": "YouTube", |
169 |
| - "url": "https://www.youtube.com/c/PyMCLabs", |
170 |
| - "icon": "fa-brands fa-youtube", |
171 |
| - "type": "fontawesome", |
172 |
| - }, |
173 |
| - ], |
174 |
| - "use_edit_page_button": True, |
175 |
| - "external_links": [ |
176 |
| - {"name": "About PyMC Labs", "url": "https://pymc-labs.io"}, |
177 |
| - ], |
| 147 | + "analytics": {"google_analytics_id": "G-3MCDG3M7X6"}, |
178 | 148 | }
|
179 | 149 | html_context = {
|
180 | 150 | "github_user": "pymc-labs",
|
|
0 commit comments