Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use labs theme as external #830

Merged
merged 4 commits into from
Jul 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
71 changes: 0 additions & 71 deletions docs/source/_static/custom.css

This file was deleted.

Binary file added docs/source/_static/flat_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/source/_static/flat_logo_darkmode.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
38 changes: 0 additions & 38 deletions docs/source/_templates/footer-links.html

This file was deleted.

1 change: 0 additions & 1 deletion docs/source/_templates/navbar-name.html

This file was deleted.

39 changes: 4 additions & 35 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand All @@ -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",
Expand All @@ -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 ---------------------------------------------

Expand Down
12 changes: 11 additions & 1 deletion docs/source/index.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Loading