doc gen for classes and single-file modules
Output of docs in single-file mode