One thing that I think I may deviate with on this article is that mentoring shouldn't be started after coding; you should really be mentoring all along the way in your career. If the first time that you mentor is when you hold the title "Senior" then you're bound to screw up in some major ways and those screw ups will be amplified because of your perceived power and position. If you're a senior and haven't mentored up until this point I'd spend a good while mentoring people of your own level before you take on juniors.
Another piece of unsolicited advice is to drop any kind of perceptively fake facades; people will very much pick up on if you're git clone --depth=1 around them. Use that time to really invest in and get to know someone, and as the article points out, let them get to know you.
My last piece of advice is be there with them through their trials, especially in the lows. I once had a Marine that was going to get the equivalent of a PIP for behavior and none of the other NCOs wanted to go to our equivalent of HR with him because they knew they'd be dressed down by a man whose very existence was validated by dressing seniors down for their reports behavior. Of course, if a senior wasn't present he'd happily give that tongue-lashing to the junior. Without missing a beat I said I'd go. The worst place you can leave someone on their dark days is alone.