strimline and restructure the doctree-exploring loop to make it close to understandable
Authored by: dockes 2008-09-05
Parent(s): [aeda84]
Child(ren): [f5d263]