Format docstrings for nice documentation

Also make the front page of docs work well
Part of mtg/dunya#136
remove unneeded variable