docs.ext_github: Fix Python 2 compatibility.