4.9.1.3. sphinx.builders.linkcheck.check_anchor

sphinx.builders.linkcheck.check_anchor(f, hash)[source]

Reads HTML data from a filelike object ‘f’ searching for anchor ‘hash’. Returns True if anchor was found, False otherwise.