Skip to content

Commit

Permalink
fix light theme options
Browse files Browse the repository at this point in the history
  • Loading branch information
bbielawx committed Mar 25, 2024
1 parent fabbafb commit b678e56
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 160 deletions.
157 changes: 0 additions & 157 deletions docs/openvino_sphinx_theme/openvino_sphinx_theme/layout.html

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
{# https://github.com/pydata/pydata-sphinx-theme/pull/1045 #}
<script type="module" src="https://static.cloud.coveo.com/atomic/v2/atomic.esm.js"></script>
<script data-cfasync="false">
document.documentElement.dataset.mode = localStorage.getItem("mode") || "{{ default_mode }}";
// document.documentElement.dataset.mode = localStorage.getItem("mode") || "{{ default_mode }}";
document.documentElement.dataset.mode = localStorage.getItem("mode") || "light";
document.documentElement.dataset.theme = localStorage.getItem("theme") || "light";
</script>
{{ _webpack.head_pre_assets() }}
Expand Down
3 changes: 2 additions & 1 deletion docs/openvino_sphinx_theme/openvino_sphinx_theme/theme.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ navbar_end = navbar-icon-links.html, navbar-version-selector.html, navbar-langua
secondary_sidebar_items = page-toc, sourcelink, download-docs, edit-this-page
navbar_center = navbar-nav.html
navbar_persistent =
pygment_dark_style = a11y-high-contrast-light
pygment_dark_style = a11y-high-contrast-light
default_mode = light
2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ mistune==2.0.3
myst-parser==2.0.0
packaging==23.0
pluggy==0.13.1
pydata-sphinx-theme==0.14.3
pydata-sphinx-theme==0.14.4
Pygments==2.15.1
pyparsing==3.0.9
pytest==6.2.5
Expand Down

0 comments on commit b678e56

Please sign in to comment.