Comprehensive Guide for Ph.D. thesis in Mathematics? Could any one recommend some comprehensive guide (online version preferred) for writing a Ph.D. thesis in Mathematics?

I did some google search but there are too many results and it is difficult to decide which one to read. Here I am not asking anyone to write such a guide for me (otherwise this question will be too broad and thus not suitable here); instead, I would appreciate if anyone could make some recommendations of those existing references.
It could also be helpful to check this and this short guides and the books by Steven G. Krantz, in particular 


A Mathematician's Survival Guide: Graduate School and Early Career Development
A Primer of Mathematical Writing


The first one contains subsection 4.6 which deals specifically with writing a thesis, the second one is on mathematical writing in general but it does not really deal with the theses per se.