diff --git a/docs/_static/custom.css b/docs/_static/custom.css index 07834b3bc..93600d107 100644 --- a/docs/_static/custom.css +++ b/docs/_static/custom.css @@ -6,6 +6,7 @@ } .intro-card { + background-color: var(--pst-color-background); margin-bottom: 30px; } @@ -51,6 +52,29 @@ p.rubric { border-bottom: none; } +button.navbar-btn.rounded-circle { + padding: 0.25rem; +} + +button.navbar-btn.search-button { + color: var(--pst-color-text-muted); + padding: 0; +} + +button.navbar-btn:hover +{ + color: var(--pst-color-primary); +} + +button.theme-switch-button { + font-size: calc(var(--pst-font-size-icon) - .1rem); + border: none; +} + +button span.theme-switch:hover { + color: var(--pst-color-primary); +} + /* Styling for Jupyter Notebook ReST Exports */ .dataframe tbody th, .dataframe tbody td { diff --git a/docs/conf.py b/docs/conf.py index ddd360326..dc73c8304 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -61,11 +61,12 @@ html_static_path = ["_static"] html_theme_options = { "logo": { - "image_light": "img/logo-name-light.svg", - "image_dark": "img/logo-name-dark.svg", + "image_light": "_static/img/logo-name-light.svg", + "image_dark": "_static/img/logo-name-dark.svg", }, "github_url": "https://github.com/python-graphblas/python-graphblas", } +html_show_sourcelink = False autodoc_member_order = "groupwise" diff --git a/docs/env.yml b/docs/env.yml index 7bc373c06..c0c4c8999 100644 --- a/docs/env.yml +++ b/docs/env.yml @@ -19,5 +19,5 @@ dependencies: - commonmark # For RTD - nbsphinx - numpydoc - - pydata-sphinx-theme - - sphinx-panels + - pydata-sphinx-theme=0.13.1 + - sphinx-panels=0.6.0