diff --git a/_static/custom.css b/_static/custom.css
deleted file mode 100644
index 3b2ff83c2..000000000
--- a/_static/custom.css
+++ /dev/null
@@ -1,21 +0,0 @@
-/* taken from sphinx-codeautolink examples */
-.sphinx-codeautolink-a{
- border-bottom-color: rgb(0, 0, 0);
- border-bottom-style: dotted;
- border-bottom-width: 1px;
-}
-.sphinx-codeautolink-a:hover{
- color: rgb(255, 139, 139);
-}
-
-.bd-sidebar {
- overflow-y: auto;
-}
-
-.navbar-brand {
- display: inline-block !important;
-}
-
-.supportbutton a {
- color: var(--pst-color-sidebar-link-active);
-}
diff --git a/_templates/donate.html b/_templates/donate.html
deleted file mode 100644
index 6de283a35..000000000
--- a/_templates/donate.html
+++ /dev/null
@@ -1,9 +0,0 @@
-{% if "generated" in sourcename %}
-
-{% else %}
-
diff --git a/_templates/search-field.html b/_templates/search-field.html
deleted file mode 100644
index cd28dbb0e..000000000
--- a/_templates/search-field.html
+++ /dev/null
@@ -1,4 +0,0 @@
-
diff --git a/examples/conf.py b/examples/conf.py
index d4bd638c7..976531e9f 100644
--- a/examples/conf.py
+++ b/examples/conf.py
@@ -112,35 +112,10 @@ def setup(app: Sphinx):
# a list of builtin themes.
# theme options
-html_theme = "pydata_sphinx_theme"
+html_theme = "pymc_sphinx_theme"
html_theme_options = {
- "icon_links": [
- {
- "name": "GitHub",
- "url": "https://github.com/pymc-devs/pymc-examples",
- "icon": "fab fa-github-square",
- },
- {
- "name": "Twitter",
- "url": "https://twitter.com/pymc_devs",
- "icon": "fab fa-twitter-square",
- },
- {
- "name": "YouTube",
- "url": "https://www.youtube.com/c/PyMCDevelopers",
- "icon": "fab fa-youtube",
- },
- {
- "name": "Discourse",
- "url": "https://discourse.pymc.io",
- "icon": "fab fa-discourse",
- },
- ],
- "search_bar_text": "Search...",
- "navbar_end": ["navbar-icon-links.html"],
- "page_sidebar_items": ["postcard", "page-toc", "edit-this-page", "donate"],
- "google_analytics_id": "G-6KPRBTE6WV",
- "header_links_before_dropdown": 6,
+ "secondary_sidebar_items": ["postcard", "page-toc", "edit-this-page", "sourcelink", "donate"],
+ "navbar_start": ["navbar-logo"],
"logo": {
"link": "https://www.pymc.io",
},
@@ -170,7 +145,6 @@ def setup(app: Sphinx):
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ["../_static"]
html_extra_path = ["../_thumbnails"]
-html_css_files = ["custom.css"]
templates_path = ["../_templates"]
html_sidebars = {
"**": [
diff --git a/requirements-docs.txt b/requirements-docs.txt
index 893d7765a..584f87834 100644
--- a/requirements-docs.txt
+++ b/requirements-docs.txt
@@ -1,6 +1,6 @@
myst-nb
sphinx==5.0.2 # see https://github.com/pymc-devs/pymc-examples/issues/409
-pydata_sphinx_theme>=0.11.0
+git+https://github.com/pymc-devs/pymc-sphinx-theme
sphinx-design
sphinx-copybutton
sphinxcontrib-bibtex