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 a9e41c4 commit 8a2a06cCopy full SHA for 8a2a06c
sphinx_design/extension.py
@@ -67,7 +67,7 @@ def update_css_js(app: Sphinx):
67
js_path.write_text(content)
68
# Read the css content and hash it
69
content = read_text(static_module, "style.min.css")
70
- hash = hashlib.md5(content.encode("utf8")).hexdigest()
+ hash = hashlib.md5(content.encode("utf8"), usedforsecurity=False).hexdigest()
71
# Write the css file
72
css_path = static_path / f"design-style.{hash}.min.css"
73
app.add_css_file(css_path.name)
0 commit comments