A LaTeX package and an example class for documenting (La)TeX packages, document classes, .dtx etc., providing hyperlinks. The package is believed to be compatible with doc and permits minimal markup of code (the macrocode environment is no longer necessary). The package provides automatic detection of definitions (detecting such things as \def, \newcommand, \DeclareOption etc.). The package needs hyperref and the author’s three ‘‘basic’ packages: gmutils, gmverb and gmiflink. As a bonus (and as an example of doc compatibility) driver files are provided that may be used to typeset the LaTeX Base.