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 from external repo #385

Merged
merged 2 commits into from
Jul 12, 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
72 changes: 0 additions & 72 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.

40 changes: 5 additions & 35 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@


release = __version__
version = release

# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
Expand Down Expand Up @@ -132,49 +133,18 @@
# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output

html_theme = "pydata_sphinx_theme"
html_theme = "labs_sphinx_theme"
html_static_path = ["_static"]
html_css_files = ["custom.css"]
html_favicon = "_static/favicon_logo.png"
# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
# documentation.
html_theme_options = {
"logo": {
"image_light": "_static/logo.png",
"image_dark": "_static/logo.png",
"image_light": "_static/flat_logo.png",
"image_dark": "_static/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/CausalPy",
"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-3MCDG3M7X6"},
}
html_context = {
"github_user": "pymc-labs",
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ docs = [
"sphinx",
"sphinx-autodoc-typehints",
"sphinx_autodoc_defaultargs",
"pydata-sphinx-theme>=0.12.0.dev0",
"labs-sphinx-theme @ git+https://github.com/pymc-labs/labs-sphinx-theme",
"sphinx-copybutton",
"sphinx-rtd-theme",
"statsmodels",
Expand Down
Loading