Skip to content

Commit 555a443

Browse files
committed
update to pymc theme
1 parent 62eb1d1 commit 555a443

File tree

2 files changed

+12
-18
lines changed

2 files changed

+12
-18
lines changed

docs/conf.py

+11-8
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
# The theme to use for HTML and HTML Help pages. See the documentation for
100100
# a list of builtin themes.
101101
#
102-
html_theme = "pydata_sphinx_theme"
102+
html_theme = "pymc_sphinx_theme"
103103

104104
# Theme options are theme-specific and customize the look and feel of a theme
105105
# further. For a list of options available for each theme, see the
@@ -112,14 +112,17 @@
112112
"show_toc_level": 2,
113113
"navigation_depth": 4,
114114
"search_bar_text": "Search the docs...",
115-
"icon_links": [
116-
{
117-
"name": "GitHub",
118-
"url": "https://github.com/pymc-devs/pymc-experimental",
119-
"icon": "fab fa-github-square",
120-
},
121-
],
115+
"use_search_override": False,
116+
"logo": {"text": project},
122117
}
118+
html_context = {
119+
"github_user": "pymc-devs",
120+
"github_repo": "pymc-experimental",
121+
"github_version": "main",
122+
"doc_path": "docs",
123+
"default_mode": "light",
124+
}
125+
123126

124127
# Add any paths that contain custom static files (such as style sheets) here,
125128
# relative to this directory. They are copied after the builtin static files,

docs/index.rst

+1-10
Original file line numberDiff line numberDiff line change
@@ -38,16 +38,7 @@ Contributors
3838
============
3939
See the `GitHub contributor page <https://github.com/pymc-devs/pymc-experimental/graphs/contributors>`_.
4040

41-
Contents
42-
========
43-
4441
.. toctree::
45-
:maxdepth: 4
42+
:hidden:
4643

4744
api_reference
48-
49-
Indices
50-
=======
51-
52-
* :ref:`genindex`
53-
* :ref:`modindex`

0 commit comments

Comments
 (0)