Skip to content

update theme #465

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

Merged
merged 3 commits into from
Nov 16, 2022
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
21 changes: 0 additions & 21 deletions _static/custom.css

This file was deleted.

9 changes: 0 additions & 9 deletions _templates/donate.html

This file was deleted.

4 changes: 0 additions & 4 deletions _templates/search-field.html

This file was deleted.

32 changes: 3 additions & 29 deletions examples/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are you removing these?

Copy link
Member Author

@OriolAbril OriolAbril Nov 15, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

{
"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",
},
Expand Down Expand Up @@ -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 = {
"**": [
Expand Down
2 changes: 1 addition & 1 deletion requirements-docs.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down