4.6.1.8. sphinx.builders.html.get_stable_hash

sphinx.builders.html.get_stable_hash(obj)[source]

Return a stable hash for a Python data structure. We can’t just use the md5 of str(obj) since for example dictionary items are enumerated in unpredictable order due to hash randomization in newer Pythons.