I just found this...
In the Star Trek: The Next Generation episode The Neutral Zone, as Dianna Troi helps a woman from the past search for living family members the computer screen flashes up a family tree with the names William Hartnell, Patrick Troughton, Jon Pertwee, Tom Baker, Peter Davison, Colin Baker
I vaguely remembered watching this when it was first aired, but had forgotten about it. I have just grabbed screenshots though.
In the episode, Claire Raymond is a housewife who was frozen, and revived by Dr Crusher, and it's her family tree that is shown above. Note that her paternal grandfather is Jonathon Frakes Raymond (Jonathon Frakes played Will Riker)
The next 'page' on the screen was:
This now shows Jonathon Frakes Raymond top left, and under him, Brent Spiner Raymond (Brent Spiner plays Data), Denise Poole Raymond I can't find a reference for, Marina Sirtis Raymond (Marina Sirtis played Deanna Troi) and LeVar Burton Raymond (LeVar Burton played Geordi LaForge). On the right side, however, we can see William Hartnell, Jon Pertwee and Peter Davidson.
The last 'page' on the screen was:
This clearly has the first 6 doctors, listed in order on the left side.
Unfortunately, the rest is too fuzzy to read on these screenshots, but if anyone can translate it all, I'd be interested to see if there are any other Who-related names there...