Skip to content

Commit 3fe2633

Browse files
committed
Rename CSS file to match html_theme value
1 parent 5f2fb7d commit 3fe2633

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

MANIFEST.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ include hoverxref/_static/css/tooltipster.custom.css
88

99
include hoverxref/_static/js/micromodal.min.js
1010
include hoverxref/_static/css/micromodal.css
11-
include hoverxref/_static/css/sphinx-material.css
11+
include hoverxref/_static/css/sphinx_material.css
1212
include hoverxref/_static/css/sphinx_rtd_theme.css

hoverxref/extension.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def setup_theme(app, exception):
118118
if theme == 'sphinx_material':
119119
if app.config.hoverxref_modal_class == default:
120120
app.config.hoverxref_modal_class = 'md-typeset'
121-
css_file = 'css/material.css'
121+
css_file = 'css/sphinx_material.css'
122122
elif theme == 'alabaster':
123123
if app.config.hoverxref_modal_class == default:
124124
app.config.hoverxref_modal_class = 'body'

0 commit comments

Comments
 (0)