We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b75620a commit cb5d01aCopy full SHA for cb5d01a
deepmodeling_sphinx/inject.py
@@ -132,6 +132,8 @@ def minify_js_files(app, exception):
132
# not html builder
133
return
134
for js in app.builder.script_files:
135
+ if js.filename is None:
136
+ continue
137
fn = os.path.join(app.builder.outdir, js.filename)
138
if os.path.isfile(fn):
139
with open(fn, "r+") as f:
@@ -146,6 +148,8 @@ def minify_css_files(app, exception):
146
148
147
149
150
for css in app.builder.css_files:
151
+ if css.filename is None:
152
153
fn = os.path.join(app.builder.outdir, css.filename)
154
155
0 commit comments