Sphinx fork with changes for thesis writing