diff --git a/docs/source/_static/custom.css b/docs/source/_static/custom.css
deleted file mode 100644
index 47cf9a8ff..000000000
--- a/docs/source/_static/custom.css
+++ /dev/null
@@ -1,71 +0,0 @@
-/* Make each footer item in-line so they stack horizontally instead of vertically */
-.footer-item {
- display: inline-block;
-}
-
-/* Add a separating border line for all but the last item */
-/*
-.footer-item:not(:last-child) {
- border-right: 1px solid var(--pst-color-text-base);
- margin-right: .5em;
- padding-right: .5em;
-}
-*/
-
-.footer-item ul {
- list-style: none;
- display: flex;
- padding-left: 0;
- margin-bottom: 0;
-}
-
-.footer-item ul li {
- padding-right: .5em;
-}
-
-.footer-item li a.nav-link {
- color: var(--pst-color-text-muted);
-}
-
-.footer-item li a.nav-link:hover {
- color:var(--pst-color-primary);
- text-decoration: none;
-}
-
-/* Remove footer icon text for small screen width and increase icons size */
-@media (max-width: 660px) {
- .footer-item li a.nav-link i {
- padding-right: 0.5em;
- font-size: calc(var(--bs-body-font-size) * 1.5);
- }
- .footer-item li a.nav-link span{
- font-size: 0;
- }
-}
-
-footer.bd-footer {
- position: static;
- bottom: auto;
- background: var(--pst-color-on-background) !important;
-}
-
-/* Make footer non-sticky when lines start to wrap-around*/
-@media (max-width: 520px) {
- footer.bd-footer {
- position: inherit;
- }
-}
-
-.pymc-marketing-name {
- padding-left: 2rem;
-}
-
-@media (min-width: 960px) {
- .navbar-center-item {
- padding-right: 4em;
- }
-}
-
-.no-border {
- border: none !important;
-}
diff --git a/docs/source/_static/flat_logo.png b/docs/source/_static/flat_logo.png
new file mode 100644
index 000000000..20ea2c3e6
Binary files /dev/null and b/docs/source/_static/flat_logo.png differ
diff --git a/docs/source/_static/flat_logo_darkmode.png b/docs/source/_static/flat_logo_darkmode.png
new file mode 100644
index 000000000..64c04774d
Binary files /dev/null and b/docs/source/_static/flat_logo_darkmode.png differ
diff --git a/docs/source/_templates/footer-links.html b/docs/source/_templates/footer-links.html
deleted file mode 100644
index a195e44ca..000000000
--- a/docs/source/_templates/footer-links.html
+++ /dev/null
@@ -1,38 +0,0 @@
-
diff --git a/docs/source/_templates/navbar-name.html b/docs/source/_templates/navbar-name.html
deleted file mode 100644
index 79029edea..000000000
--- a/docs/source/_templates/navbar-name.html
+++ /dev/null
@@ -1 +0,0 @@
-{{ project }} {{ version }}
diff --git a/docs/source/conf.py b/docs/source/conf.py
index 065d24317..3dea2adf0 100755
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -121,7 +121,7 @@
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
-html_theme = "pydata_sphinx_theme"
+html_theme = "labs_sphinx_theme"
html_favicon = "_static/favicon.ico"
@@ -130,40 +130,10 @@
# documentation.
html_theme_options = {
"logo": {
- "image_light": "marketing-logo-light.jpg",
- "image_dark": "marketing-logo-dark.jpg",
+ "image_light": "flat_logo.png",
+ "image_dark": "flat_logo_darkmode.png",
},
- "navbar_align": "right",
- "navbar_start": ["navbar-logo", "navbar-name"],
- "navbar_end": ["theme-switcher"],
- "footer_start": ["copyright", "footer-links"],
- "footer_end": ["sphinx-version", "theme-version"],
- "github_url": "https://github.com/pymc-labs/pymc-marketing",
- "twitter_url": "https://twitter.com/pymc_labs",
- "icon_links": [
- {
- "name": "LinkedIn",
- "url": "https://www.linkedin.com/company/pymc-labs/",
- "icon": "fa-brands fa-linkedin",
- "type": "fontawesome",
- },
- {
- "name": "MeetUp",
- "url": "https://www.meetup.com/pymc-labs-online-meetup/",
- "icon": "fa-brands fa-meetup",
- "type": "fontawesome",
- },
- {
- "name": "YouTube",
- "url": "https://www.youtube.com/c/PyMCLabs",
- "icon": "fa-brands fa-youtube",
- "type": "fontawesome",
- },
- ],
- "use_edit_page_button": True,
- "external_links": [
- {"name": "About PyMC Labs", "url": "https://pymc-labs.io"},
- ],
+ "analytics": {"google_analytics_id": "G-DNPNG22HVY"},
}
html_context = {
"github_user": "pymc-labs",
@@ -177,7 +147,6 @@
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ["_static/"]
-html_css_files = ["custom.css"]
# -- Options for LaTeX output ---------------------------------------------
diff --git a/docs/source/index.md b/docs/source/index.md
index e93a0d590..538991a9e 100644
--- a/docs/source/index.md
+++ b/docs/source/index.md
@@ -1,4 +1,14 @@
-# PyMC Marketing: Open Source Marketing Analytics Solution
+:::{image} _static/marketing-logo-dark.jpg
+:align: center
+:class: only-dark
+:::
+
+:::{image} _static/marketing-logo-light.jpg
+:align: center
+:class: only-light
+:::
+
+# PyMC-Marketing - Open Source Marketing Analytics Solution
**Unlock the power of marketing analytics with PyMC-Marketing – the python based open source solution for smarter decision-making.** Marketing mix modeling and customer lifetime value modules allow businesses to make data-driven decisions about their marketing campaigns. Optimize your marketing strategy and unlock the full potential of your customer data.
diff --git a/pyproject.toml b/pyproject.toml
index 1969af145..a2f3da1c3 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -53,7 +53,7 @@ docs = [
"blackjax",
"nutpie",
"numba",
- "pydata-sphinx-theme>=0.12.0.dev0",
+ "labs-sphinx-theme",
"sphinx-copybutton",
"sphinx-autodoc-typehints",
"sphinxext-opengraph",