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 074f21f commit af64472Copy full SHA for af64472
sphinx_design/extension.py
@@ -70,7 +70,7 @@ def update_css_js(app: Sphinx):
70
content = read_text(static_module, "style.min.css")
71
# Write the css file
72
if sphinx_version < (7, 1):
73
- hash = hashlib.md5(content.encode("utf8")).hexdigest()
+ hash = hashlib.md5(content.encode("utf8"), usedforsecurity=False).hexdigest()
74
css_path = static_path / f"sphinx-design.{hash}.min.css"
75
else:
76
# since sphinx 7.1 a checksum is added to the css file URL, so there is no need to do it here
0 commit comments