update contributing guide for flake8
add doc for generating PDF docs
hide badges in PDF